Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java @ 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 | a4bdf7d8527e |
children | 0f7abd95c6e2 |
comparison
equal
deleted
inserted
replaced
2288:98c1b6df6f32 | 2289:fe3ea0f16098 |
---|---|
34 | 34 |
35 return an != null ? an.getPosition() : null; | 35 return an != null ? an.getPosition() : null; |
36 } | 36 } |
37 | 37 |
38 public static FastAnnotations getAnnotations(String river) { | 38 public static FastAnnotations getAnnotations(String river) { |
39 return getAnnotations(river, Double.NaN); | 39 return getAnnotations(river, Double.MAX_VALUE); |
40 } | 40 } |
41 | 41 |
42 protected static FastAnnotations getAnnotations(String river, double km) { | 42 protected static FastAnnotations getAnnotations(String river, double km) { |
43 | 43 |
44 Cache cache = CacheFactory.getCache(CACHE_KEY); | 44 Cache cache = CacheFactory.getCache(CACHE_KEY); |