Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/fixings/FixDerivedCurveGenerator.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 | 1b35b2ddfc28 |
children |
comparison
equal
deleted
inserted
replaced
8201:4b8c5a08de04 | 8202:e4606eae8ea5 |
---|---|
27 */ | 27 */ |
28 public class FixDerivedCurveGenerator | 28 public class FixDerivedCurveGenerator |
29 extends FixChartGenerator | 29 extends FixChartGenerator |
30 implements FacetTypes | 30 implements FacetTypes |
31 { | 31 { |
32 /** Private logger. */ | 32 /** Private log. */ |
33 private static Logger logger = | 33 private static Logger log = |
34 Logger.getLogger(FixDerivedCurveGenerator.class); | 34 Logger.getLogger(FixDerivedCurveGenerator.class); |
35 | 35 |
36 public static final String I18N_CHART_TITLE = | 36 public static final String I18N_CHART_TITLE = |
37 "chart.fixings.derivedcurve.title"; | 37 "chart.fixings.derivedcurve.title"; |
38 | 38 |
64 } | 64 } |
65 | 65 |
66 | 66 |
67 @Override | 67 @Override |
68 public void doOut(ArtifactAndFacet aaf, ThemeDocument doc, boolean visible) { | 68 public void doOut(ArtifactAndFacet aaf, ThemeDocument doc, boolean visible) { |
69 logger.debug("doOut"); | 69 log.debug("doOut"); |
70 | 70 |
71 if (FacetTypes.IS.MANUALPOINTS(aaf.getFacetName())) { | 71 if (FacetTypes.IS.MANUALPOINTS(aaf.getFacetName())) { |
72 doPoints(aaf.getData(context), | 72 doPoints(aaf.getData(context), |
73 aaf, | 73 aaf, |
74 doc, visible, YAXIS.W.idx); | 74 doc, visible, YAXIS.W.idx); |
77 FixDerivateFacet facet = (FixDerivateFacet)aaf.getFacet(); | 77 FixDerivateFacet facet = (FixDerivateFacet)aaf.getFacet(); |
78 FixFunction func = (FixFunction)facet.getData( | 78 FixFunction func = (FixFunction)facet.getData( |
79 aaf.getArtifact(), context); | 79 aaf.getArtifact(), context); |
80 | 80 |
81 if (func == null) { | 81 if (func == null) { |
82 logger.warn("doOut: Facet does not contain FixFunction"); | 82 log.warn("doOut: Facet does not contain FixFunction"); |
83 return; | 83 return; |
84 } | 84 } |
85 | 85 |
86 double maxQ = func.getMaxQ(); | 86 double maxQ = func.getMaxQ(); |
87 | 87 |