diff src/java/de/intevation/mxd/reader/SimpleLineSymbolReader.java @ 180:f4eb506499f5

Done some code styling and removed TODOs.
author Raimund Renkert <rrenkert@intevation.de>
date Mon, 11 Jul 2011 12:11:08 +0200
parents 7b1433d3b574
children 0bde090506f9
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/reader/SimpleLineSymbolReader.java	Fri Jul 08 16:32:05 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/SimpleLineSymbolReader.java	Mon Jul 11 12:11:08 2011 +0200
@@ -102,7 +102,9 @@
         }
 
         try {
-            symbolElement.setAttribute("width", String.valueOf(symbol.getWidth()));
+            symbolElement.setAttribute(
+                "width",
+                String.valueOf(symbol.getWidth()));
         }
         catch(IOException ioe) {
             logger.warn("Could not read width.");
@@ -126,7 +128,8 @@
             case esriSimpleLineStyle.esriSLSDashDot:
                     symbolElement.setAttribute("linestyle", "dashdot"); break;
             case esriSimpleLineStyle.esriSLSDashDotDot:
-                    symbolElement.setAttribute("linestyle", "dashdotdot"); break;
+                    symbolElement.setAttribute("linestyle", "dashdotdot");
+                    break;
             default: break;
         }
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)