diff src/java/de/intevation/mxd/reader/GdbRasterCatalogLayerReader.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 472aa36d0e01
children 7eba97e8201b
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/reader/GdbRasterCatalogLayerReader.java	Fri Apr 15 14:14:49 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/GdbRasterCatalogLayerReader.java	Fri Apr 15 15:44:54 2011 +0200
@@ -12,11 +12,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 GdbRasterCatalogLayerReader implements ILayerReader{
+public class GdbRasterCatalogLayerReader
+implements ILayerReader {
 
     /**
      * The logger.
@@ -33,11 +34,13 @@
 
     public GdbRasterCatalogLayerReader(ILayer layer)
     throws Exception {
-        if(layer instanceof GdbRasterCatalogLayer)
+        if(layer instanceof GdbRasterCatalogLayer) {
             this.layer = (GdbRasterCatalogLayer)layer;
-        else
+        }
+        else {
             throw new Exception("Not an instance of GdbRastaCatalogLayer: " +
                 layer.getClass().toString());
+        }
     }
 
     /**
@@ -45,7 +48,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)