Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/process/BedDiffHeightYearProcessor.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 | b5cba2690347 |
children | aef7542dd3ca |
comparison
equal
deleted
inserted
replaced
8201:4b8c5a08de04 | 8202:e4606eae8ea5 |
---|---|
29 | 29 |
30 | 30 |
31 public class BedDiffHeightYearProcessor | 31 public class BedDiffHeightYearProcessor |
32 extends DefaultProcessor implements FacetTypes { | 32 extends DefaultProcessor implements FacetTypes { |
33 | 33 |
34 private final static Logger logger = | 34 private final static Logger log = |
35 Logger.getLogger(BedDiffHeightYearProcessor.class); | 35 Logger.getLogger(BedDiffHeightYearProcessor.class); |
36 | 36 |
37 protected static double GAP_TOLERANCE = 0.101d; | 37 protected static double GAP_TOLERANCE = 0.101d; |
38 | 38 |
39 public static final String I18N_AXIS_LABEL = | 39 public static final String I18N_AXIS_LABEL = |
55 Map<String, String> metaData = bundle.getFacet().getMetaData( | 55 Map<String, String> metaData = bundle.getFacet().getMetaData( |
56 bundle.getArtifact(), context); | 56 bundle.getArtifact(), context); |
57 | 57 |
58 if (!(data instanceof double[][])) { | 58 if (!(data instanceof double[][])) { |
59 // Should not happen if canHandle is correct | 59 // Should not happen if canHandle is correct |
60 logger.error("Can't process " + data.getClass().getName() + " objects"); | 60 log.error("Can't process " + data.getClass().getName() + " objects"); |
61 return; | 61 return; |
62 } | 62 } |
63 | 63 |
64 setSubtitleRadius(generator, bundle, context); | 64 setSubtitleRadius(generator, bundle, context); |
65 | 65 |
107 CallContext context = generator.getCallContext(); | 107 CallContext context = generator.getCallContext(); |
108 Object data = bundle.getData(context); | 108 Object data = bundle.getData(context); |
109 | 109 |
110 if (!(data instanceof double[][])) { | 110 if (!(data instanceof double[][])) { |
111 // Should not happen if canHandle is correct | 111 // Should not happen if canHandle is correct |
112 logger.error("Can't process " + data.getClass().getName() + " objects"); | 112 log.error("Can't process " + data.getClass().getName() + " objects"); |
113 return; | 113 return; |
114 } | 114 } |
115 | 115 |
116 double[][] bData = (double[][]) data; | 116 double[][] bData = (double[][]) data; |
117 XYSeries series = new StyledXYSeries(bundle.getFacetDescription(), theme); | 117 XYSeries series = new StyledXYSeries(bundle.getFacetDescription(), theme); |