Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/access/StaticSQRelationAccess.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 | 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8201:4b8c5a08de04 | 8202:e4606eae8ea5 |
---|---|
14 | 14 |
15 | 15 |
16 public class StaticSQRelationAccess | 16 public class StaticSQRelationAccess |
17 extends RiverAccess | 17 extends RiverAccess |
18 { | 18 { |
19 /** The logger that is used in this state. */ | 19 /** The log that is used in this state. */ |
20 private static final Logger logger = | 20 private static final Logger log = |
21 Logger.getLogger(StaticSQRelationAccess.class); | 21 Logger.getLogger(StaticSQRelationAccess.class); |
22 | 22 |
23 private String measurementStation; | 23 private String measurementStation; |
24 | 24 |
25 public StaticSQRelationAccess(D4EArtifact artifact) { | 25 public StaticSQRelationAccess(D4EArtifact artifact) { |
29 /** Get measurement station */ | 29 /** Get measurement station */ |
30 public String getMeasurementStation() { | 30 public String getMeasurementStation() { |
31 if (measurementStation == null) { | 31 if (measurementStation == null) { |
32 measurementStation = getString("station"); | 32 measurementStation = getString("station"); |
33 } | 33 } |
34 if (logger.isDebugEnabled()) { | 34 if (log.isDebugEnabled()) { |
35 logger.debug("measurement station: '" + measurementStation + "'"); | 35 log.debug("measurement station: '" + measurementStation + "'"); |
36 } | 36 } |
37 return measurementStation; | 37 return measurementStation; |
38 } | 38 } |
39 } | 39 } |