Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/services/MeasurementStationInfoService.java @ 8202:e4606eae8ea5
sed src/**/*.java 's/logger/log/g'
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Fri, 05 Sep 2014 12:58:17 +0200 |
parents | af13ceeba52a |
children | 17db08570637 |
comparison
equal
deleted
inserted
replaced
8201:4b8c5a08de04 | 8202:e4606eae8ea5 |
---|---|
29 /** | 29 /** |
30 * @author <a href="mailto:bjoern.ricks@intevation.de">Björn Ricks</a> | 30 * @author <a href="mailto:bjoern.ricks@intevation.de">Björn Ricks</a> |
31 */ | 31 */ |
32 public class MeasurementStationInfoService extends RiverInfoService { | 32 public class MeasurementStationInfoService extends RiverInfoService { |
33 | 33 |
34 private static final Logger logger = Logger.getLogger( | 34 private static final Logger log = Logger.getLogger( |
35 MeasurementStationInfoService.class); | 35 MeasurementStationInfoService.class); |
36 | 36 |
37 public static final DateFormat DATE_FORMAT = DateFormat.getDateInstance( | 37 public static final DateFormat DATE_FORMAT = DateFormat.getDateInstance( |
38 DateFormat.SHORT, Locale.GERMANY); | 38 DateFormat.SHORT, Locale.GERMANY); |
39 | 39 |
47 | 47 |
48 Element egs = ec.create("measurement-stations"); | 48 Element egs = ec.create("measurement-stations"); |
49 | 49 |
50 List<MeasurementStation> mstations = river.getMeasurementStations(); | 50 List<MeasurementStation> mstations = river.getMeasurementStations(); |
51 | 51 |
52 if (logger.isDebugEnabled()) { | 52 if (log.isDebugEnabled()) { |
53 logger.debug("Loaded stations: " + mstations); | 53 log.debug("Loaded stations: " + mstations); |
54 } | 54 } |
55 | 55 |
56 for (MeasurementStation mstation: mstations) { | 56 for (MeasurementStation mstation: mstations) { |
57 Element eg = ec.create("measurement-station"); | 57 Element eg = ec.create("measurement-station"); |
58 | 58 |