Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/jfree/AnnotationHelper.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 | 432addd00687 |
children | c086b06b81e5 |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/jfree/AnnotationHelper.java Fri Sep 05 12:54:58 2014 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/jfree/AnnotationHelper.java Fri Sep 05 12:58:17 2014 +0200 @@ -33,7 +33,7 @@ /** Annotation helper class, handles plotting of annotations. */ public class AnnotationHelper { - private static final Logger logger = Logger.getLogger(AnnotationHelper.class); + private static final Logger log = Logger.getLogger(AnnotationHelper.class); protected static float ANNOTATIONS_AXIS_OFFSET = 0.02f; @@ -49,10 +49,10 @@ */ public static void addAnnotationsToRenderer(List<RiverAnnotation> annotations, XYPlot plot, ChartSettings settings, Map<Integer, AxisDataset> datasets) { - logger.debug("addAnnotationsToRenderer"); + log.debug("addAnnotationsToRenderer"); if (annotations == null || annotations.isEmpty()) { - logger.debug("addAnnotationsToRenderer: no annotations."); + log.debug("addAnnotationsToRenderer: no annotations."); return; } @@ -167,7 +167,7 @@ // There is one nasty case (duration curves, where annotations // might stick to the second y-axis). if (dataset == null) { - logger.warn("Annotation should stick to unfindable y-axis: " + log.warn("Annotation should stick to unfindable y-axis: " + annotation.getAxisSymbol()); rendererIndex = 0; }