diff src/java/de/intevation/mxd/reader/SimpleMarkerSymbolReader.java @ 43:ef7ca23c4233

Added comments, done some code styling and removed typos.
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 15 Apr 2011 15:44:54 +0200
parents 395307e8b7ee
children 6d181c02efce
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/reader/SimpleMarkerSymbolReader.java	Fri Apr 15 14:14:49 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/SimpleMarkerSymbolReader.java	Fri Apr 15 15:44:54 2011 +0200
@@ -36,12 +36,15 @@
     private MapToXMLUtils util;
 
 
-    public SimpleMarkerSymbolReader(ISymbol symbol) throws Exception{
+    public SimpleMarkerSymbolReader(ISymbol symbol)
+    throws Exception {
         logger.debug("contructor()");
-        if(symbol instanceof SimpleMarkerSymbol)
+        if(symbol instanceof SimpleMarkerSymbol) {
             this.symbol = (SimpleMarkerSymbol)symbol;
-        else
+        }
+        else {
             throw new Exception("Not a SimpleMarkerSymbol!");
+        }
     }
 
     /**
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)