Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/GaugeTimerangeState.java @ 5540:25c2505df28f
Merged
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Wed, 03 Apr 2013 16:00:21 +0200 |
parents | 12766ab27a36 |
children |
comparison
equal
deleted
inserted
replaced
5539:8d0af912351c | 5540:25c2505df28f |
---|---|
17 /** | 17 /** |
18 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 18 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
19 */ | 19 */ |
20 public class GaugeTimerangeState extends IntRangeState { | 20 public class GaugeTimerangeState extends IntRangeState { |
21 | 21 |
22 /** Private logger. */ | |
22 private static final Logger logger = | 23 private static final Logger logger = |
23 Logger.getLogger(GaugeTimerangeState.class); | 24 Logger.getLogger(GaugeTimerangeState.class); |
24 | 25 |
25 | 26 |
27 /** Get 'min' and 'max'times of gauge time intervals. */ | |
26 protected long[] getLowerUpper(FLYSArtifact flys) { | 28 protected long[] getLowerUpper(FLYSArtifact flys) { |
27 Gauge gauge = FLYSUtils.getReferenceGauge(flys); | 29 Gauge gauge = FLYSUtils.getReferenceGauge(flys); |
28 | 30 |
29 if (gauge == null) { | 31 if (gauge == null) { |
30 logger.warn("No reference gauge specified!"); | 32 logger.warn("No reference gauge specified!"); |