Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/ReportFacet.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 |
---|---|
23 | 23 |
24 public class ReportFacet | 24 public class ReportFacet |
25 extends DefaultFacet | 25 extends DefaultFacet |
26 implements FacetTypes | 26 implements FacetTypes |
27 { | 27 { |
28 private static Logger logger = Logger.getLogger(ReportFacet.class); | 28 private static Logger log = Logger.getLogger(ReportFacet.class); |
29 | 29 |
30 protected ComputeType type; | 30 protected ComputeType type; |
31 protected String hash; | 31 protected String hash; |
32 protected String stateId; | 32 protected String stateId; |
33 | 33 |
47 this.hash = hash; | 47 this.hash = hash; |
48 this.stateId = stateId; | 48 this.stateId = stateId; |
49 } | 49 } |
50 | 50 |
51 public Object getData(Artifact artifact, CallContext context) { | 51 public Object getData(Artifact artifact, CallContext context) { |
52 logger.debug("get report data"); | 52 log.debug("get report data"); |
53 | 53 |
54 D4EArtifact flys = (D4EArtifact)artifact; | 54 D4EArtifact flys = (D4EArtifact)artifact; |
55 | 55 |
56 CalculationResult cr = (CalculationResult)flys.compute( | 56 CalculationResult cr = (CalculationResult)flys.compute( |
57 context, hash, stateId, type, false); | 57 context, hash, stateId, type, false); |