Mercurial > dive4elements > river
changeset 2289:fe3ea0f16098
Small bugfix for fetching river annotations.
flys-artifacts/trunk@3953 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 07 Feb 2012 18:12:08 +0000 |
parents | 98c1b6df6f32 |
children | 6f4a1f513e89 |
files | flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Tue Feb 07 14:38:42 2012 +0000 +++ b/flys-artifacts/ChangeLog Tue Feb 07 18:12:08 2012 +0000 @@ -1,4 +1,10 @@ -2012-02-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> +2012-02-07 Ingo Weinzierl <ingo@intevation.de> + + * src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java: + Use the correct km key for an unspecific km for fetching the whole river + annotations. + +2012-02-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> * doc/conf/conf.xml: Added missing config of chart info generator of normalized reference curve.
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java Tue Feb 07 14:38:42 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java Tue Feb 07 18:12:08 2012 +0000 @@ -36,7 +36,7 @@ } public static FastAnnotations getAnnotations(String river) { - return getAnnotations(river, Double.NaN); + return getAnnotations(river, Double.MAX_VALUE); } protected static FastAnnotations getAnnotations(String river, double km) {