Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/FlowVelocityFacet.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 | 42076d94977e |
children | 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8201:4b8c5a08de04 | 8202:e4606eae8ea5 |
---|---|
22 /** | 22 /** |
23 * Facet of a FlowVelocity curve. | 23 * Facet of a FlowVelocity curve. |
24 */ | 24 */ |
25 public class FlowVelocityFacet extends DataFacet { | 25 public class FlowVelocityFacet extends DataFacet { |
26 | 26 |
27 private static Logger logger = Logger.getLogger(FlowVelocityFacet.class); | 27 private static Logger log = Logger.getLogger(FlowVelocityFacet.class); |
28 | 28 |
29 public FlowVelocityFacet() { | 29 public FlowVelocityFacet() { |
30 // required for clone operation deepCopy() | 30 // required for clone operation deepCopy() |
31 } | 31 } |
32 | 32 |
44 this.metaData.put("Y", "chart.flow_velocity.section.yaxis.label"); | 44 this.metaData.put("Y", "chart.flow_velocity.section.yaxis.label"); |
45 } | 45 } |
46 | 46 |
47 | 47 |
48 public Object getData(Artifact artifact, CallContext context) { | 48 public Object getData(Artifact artifact, CallContext context) { |
49 logger.debug("Get data for flow velocity at index: " + index); | 49 log.debug("Get data for flow velocity at index: " + index); |
50 | 50 |
51 D4EArtifact flys = (D4EArtifact) artifact; | 51 D4EArtifact flys = (D4EArtifact) artifact; |
52 | 52 |
53 CalculationResult res = (CalculationResult) | 53 CalculationResult res = (CalculationResult) |
54 flys.compute(context, hash, stateId, type, false); | 54 flys.compute(context, hash, stateId, type, false); |