# HG changeset patch # User Ingo Weinzierl # Date 1328638328 0 # Node ID fe3ea0f1609841e84173cac7578b0a20a4e1502f # Parent 98c1b6df6f3267f3b0aace8ecdf180cc49f1b6eb Small bugfix for fetching river annotations. flys-artifacts/trunk@3953 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 98c1b6df6f32 -r fe3ea0f16098 flys-artifacts/ChangeLog --- 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 +2012-02-07 Ingo Weinzierl + + * 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 * doc/conf/conf.xml: Added missing config of chart info generator of normalized reference curve. diff -r 98c1b6df6f32 -r fe3ea0f16098 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java --- 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) {