diff src/java/de/intevation/mxd/reader/FeatureLayerReader.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 4e0464c620f0
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/reader/FeatureLayerReader.java	Fri Apr 15 14:14:49 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/FeatureLayerReader.java	Fri Apr 15 15:44:54 2011 +0200
@@ -14,11 +14,12 @@
 import de.intevation.mxd.utils.MapToXMLUtils;
 
 /**
- * Reads Layer information..
+ * Reads Layer information.
  *
  * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a>
  */
-public class FeatureLayerReader implements ILayerReader{
+public class FeatureLayerReader
+implements ILayerReader {
 
     /**
      * The logger.
@@ -35,11 +36,13 @@
 
     public FeatureLayerReader(ILayer layer)
     throws Exception {
-        if(layer instanceof FeatureLayer)
+        if(layer instanceof FeatureLayer) {
             this.layer = (FeatureLayer)layer;
-        else
+        }
+        else {
             throw new Exception("Not an instance of FeatureLayer: " +
                 layer.getClass().toString());
+        }
     }
 
     /**
@@ -47,7 +50,7 @@
      *
      * @param util The helper for storing map information.
      */
-    public void setUtil(MapToXMLUtils util){
+    public void setUtil(MapToXMLUtils util) {
         this.util = util;
     }
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)