Mercurial > dive4elements > river
changeset 3069:4067ec9036c2
FixA facet: Use binary search again.
flys-artifacts/trunk@4653 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 13 Jun 2012 15:36:13 +0000 |
parents | 2fc9d0c65dc9 |
children | 6875120af2a2 |
files | flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Wed Jun 13 13:00:34 2012 +0000 +++ b/flys-artifacts/ChangeLog Wed Jun 13 15:36:13 2012 +0000 @@ -1,3 +1,8 @@ +2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de> + + * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java: + Use binary search again. + 2012-06-11 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/exports/fixings/FixDerivedCurveGenerator.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java Wed Jun 13 13:00:34 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java Wed Jun 13 15:36:13 2012 +0000 @@ -74,7 +74,7 @@ KMIndex<AnalysisPeriod []> kmPeriods = result.getAnalysisPeriods(); KMIndex.Entry<AnalysisPeriod []> kmPeriodsEntry = - kmPeriods.search(km); + kmPeriods.binarySearch(km); if (kmPeriodsEntry == null) { logger.warn("No analysis periods found for km '" + km + "'");