comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/GaugeDischargeFacet.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
22 /** 22 /**
23 * Access Discharge Curve of a gauge. 23 * Access Discharge Curve of a gauge.
24 */ 24 */
25 public class GaugeDischargeFacet extends DataFacet { 25 public class GaugeDischargeFacet extends DataFacet {
26 26
27 /** Private logger. */ 27 /** Private log. */
28 private static final Logger logger = 28 private static final Logger log =
29 Logger.getLogger(GaugeDischargeFacet.class); 29 Logger.getLogger(GaugeDischargeFacet.class);
30 30
31 31
32 public GaugeDischargeFacet() { 32 public GaugeDischargeFacet() {
33 } 33 }
71 /** 71 /**
72 * @return wqkms corresponding to gauge of artifact and index of facet. 72 * @return wqkms corresponding to gauge of artifact and index of facet.
73 */ 73 */
74 @Override 74 @Override
75 public Object getData(Artifact artifact, CallContext context) { 75 public Object getData(Artifact artifact, CallContext context) {
76 if (logger.isDebugEnabled()) { 76 if (log.isDebugEnabled()) {
77 logger.debug("Get data for discharge curves at index: " + 77 log.debug("Get data for discharge curves at index: " +
78 index + " / stateId: " + stateId); 78 index + " / stateId: " + stateId);
79 } 79 }
80 80
81 if (stateId == null) { 81 if (stateId == null) {
82 logger.error("GaugeDischargeFacet.getData: stateId is null."); 82 log.error("GaugeDischargeFacet.getData: stateId is null.");
83 } 83 }
84 D4EArtifact flys = (D4EArtifact) artifact; 84 D4EArtifact flys = (D4EArtifact) artifact;
85 85
86 CalculationResult res = (CalculationResult) 86 CalculationResult res = (CalculationResult)
87 flys.compute(context, hash, stateId, type, true); 87 flys.compute(context, hash, stateId, type, true);

http://dive4elements.wald.intevation.org