Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/MiddleBedHeightFacet.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 | 62befca02480 |
children | 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8201:4b8c5a08de04 | 8202:e4606eae8ea5 |
---|---|
25 /** | 25 /** |
26 * Facet of a MiddleBedHeight curve. | 26 * Facet of a MiddleBedHeight curve. |
27 */ | 27 */ |
28 public class MiddleBedHeightFacet extends DataFacet { | 28 public class MiddleBedHeightFacet extends DataFacet { |
29 | 29 |
30 private static Logger logger = Logger.getLogger(MiddleBedHeightFacet.class); | 30 private static Logger log = Logger.getLogger(MiddleBedHeightFacet.class); |
31 | 31 |
32 | 32 |
33 public MiddleBedHeightFacet() { | 33 public MiddleBedHeightFacet() { |
34 // required for clone operation deepCopy() | 34 // required for clone operation deepCopy() |
35 } | 35 } |
48 this.metaData.put("Y", "chart.bedheight_middle.section.yaxis.label"); | 48 this.metaData.put("Y", "chart.bedheight_middle.section.yaxis.label"); |
49 } | 49 } |
50 | 50 |
51 | 51 |
52 public Object getData(Artifact artifact, CallContext context) { | 52 public Object getData(Artifact artifact, CallContext context) { |
53 logger.debug("Get data for middle bed height at index: " + index); | 53 log.debug("Get data for middle bed height at index: " + index); |
54 | 54 |
55 D4EArtifact flys = (D4EArtifact) artifact; | 55 D4EArtifact flys = (D4EArtifact) artifact; |
56 | 56 |
57 CalculationResult res = (CalculationResult) | 57 CalculationResult res = (CalculationResult) |
58 flys.compute(context, hash, stateId, type, false); | 58 flys.compute(context, hash, stateId, type, false); |