diff flys-artifacts/src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java @ 4047:3dc26ec2558d

Removed dead code
author Sascha L. Teichmann <teichmann@intevation.de>
date Sat, 06 Oct 2012 11:08:24 +0200
parents 2d2ca7bf70a7
children a93699cb31eb
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java	Sat Oct 06 10:38:41 2012 +0200
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java	Sat Oct 06 11:08:24 2012 +0200
@@ -163,7 +163,7 @@
         // Paints for the boxes/lines.
         Stroke basicStroke = new BasicStroke(1.0f);
 
-        Paint linePaint = new Color(255,  0,0,60);
+        // XXX: DEAD CODE // Paint linePaint = new Color(255,  0,0,60);
         Paint fillPaint = new Color(0,  255,0,60);
         Paint tranPaint = new Color(0,    0,0, 0);
 
@@ -177,13 +177,13 @@
             // Access text styling, if any.
             Document theme = fa.getTheme();
             TextStyle textStyle = null;
-            LineStyle lineStyle = null;
+            // XXX: DEAD CODE // LineStyle lineStyle = null;
 
             // Get Themeing information and add legend item.
             if (theme != null) {
                 ThemeAccess themeAccess = new ThemeAccess(theme);
                 textStyle = themeAccess.parseTextStyle();
-                lineStyle = themeAccess.parseLineStyle();
+                // XXX: DEAD CODE // lineStyle = themeAccess.parseLineStyle();
                 if (fa.getLabel() != null) {
                     LegendItemCollection lic = new LegendItemCollection();
                     LegendItemCollection old = plot.getFixedLegendItems();

http://dive4elements.wald.intevation.org