diff flys-artifacts/src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java @ 1077:3067e700fc13

Minor cosmetics and docs. flys-artifacts/trunk@2574 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 25 Aug 2011 10:34:20 +0000
parents c3902ff2d3bd
children 73794985a899
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java	Thu Aug 25 10:29:14 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java	Thu Aug 25 10:34:20 2011 +0000
@@ -12,8 +12,8 @@
 import org.jfree.chart.title.TextTitle;
 import org.jfree.data.Range;
 import org.jfree.data.xy.XYSeries;
+import org.jfree.data.xy.XYSeriesCollection;
 import org.jfree.ui.TextAnchor;
-import org.jfree.data.xy.XYSeriesCollection;
 
 import org.w3c.dom.Document;
 
@@ -250,7 +250,7 @@
         logger.debug("LongitudinalSectionGenerator.doAnnotationsOut");
         this.annotations = (List<Annotation>) o;
 
-        // Add (empty) pseudo series.
+        // Add (empty) pseudo series to have legend entry for annotations.
         if (pseudoAnnotationData == null) {
             pseudoAnnotationData = new XYSeriesCollection();
         }

http://dive4elements.wald.intevation.org