changeset 3509:bb5edff31866

Cosmetics. flys-client/trunk@5279 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 28 Aug 2012 13:10:14 +0000
parents 60984be9bcfa
children abc5957bfe1c
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/server/CollectionHelper.java flys-client/src/main/java/de/intevation/flys/client/shared/model/FacetRecord.java flys-client/src/main/java/de/intevation/flys/client/shared/model/OutputSettings.java flys-client/src/main/java/de/intevation/flys/client/shared/model/StringProperty.java
diffstat 5 files changed, 22 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Tue Aug 28 11:51:12 2012 +0000
+++ b/flys-client/ChangeLog	Tue Aug 28 13:10:14 2012 +0000
@@ -1,4 +1,12 @@
-2012-08-17  Raimund Renkert <raimund.renkert@intevation.de>
+2012-08-28	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/server/CollectionHelper.java,
+	  src/main/java/de/intevation/flys/client/shared/model/StringProperty.java,
+	  src/main/java/de/intevation/flys/client/shared/model/OutputSettings.java,
+	  src/main/java/de/intevation/flys/client/shared/model/FacetRecord.java:
+	  Cosmetics.
+
+2012-08-28  Raimund Renkert <raimund.renkert@intevation.de>
 
 	MINFO: Added UI for minfo differences calculation.
 
--- a/flys-client/src/main/java/de/intevation/flys/client/server/CollectionHelper.java	Tue Aug 28 11:51:12 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/server/CollectionHelper.java	Tue Aug 28 13:10:14 2012 +0000
@@ -607,7 +607,8 @@
 
 
     /**
-     *
+     * From a document, parse the settings for an output and create an
+     * OutputSettings object.
      */
     protected static Settings parseSettings(String outName, Element node) {
         OutputSettings set = new OutputSettings(outName);
@@ -620,7 +621,7 @@
 
         Element settings = (Element)elements.item(0);
 
-        // get the categories
+        // Get the categories
         NodeList catNodes = settings.getChildNodes();
         for (int i = 0; i < catNodes.getLength(); i++) {
             Element catNode = (Element)catNodes.item(i);
@@ -634,7 +635,7 @@
             // iterate through all properties or groups.
             List<Property> props = new ArrayList<Property> ();
             for (int j = 0; j < list.getLength(); j++) {
-                Property p = new PropertySetting();
+                Property p;
                 Element e = (Element)list.item(j);
                 if (e.hasChildNodes() &&
                     e.getFirstChild().getNodeType() != Node.TEXT_NODE) {
@@ -669,7 +670,7 @@
 
 
     /**
-     *
+     * From a property element create a Property object.
      */
     protected static Property parseSetting(Element property){
         NamedNodeMap attrMap = property.getAttributes();
@@ -720,7 +721,7 @@
         Element node,
         boolean outs
     ) {
-        logger.debug("AddArtifactServiceImpl.parseCollectionItem");
+        logger.debug("CollectionHelper.parseCollectionItem");
 
         if (node == null) {
             logger.debug("The node for parsing CollectionItem is null!");
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/FacetRecord.java	Tue Aug 28 11:51:12 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/FacetRecord.java	Tue Aug 28 13:10:14 2012 +0000
@@ -3,6 +3,7 @@
 import com.smartgwt.client.widgets.grid.ListGridRecord;
 
 /**
+ * ListGridRecord for Facets.
  * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
  */
 public class FacetRecord extends ListGridRecord {
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/OutputSettings.java	Tue Aug 28 11:51:12 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/OutputSettings.java	Tue Aug 28 13:10:14 2012 +0000
@@ -27,11 +27,13 @@
     }
 
 
+    /** Set output name. */
     public void setName(String name) {
         this.name = name;
     }
 
 
+    /** Get output name. */
     public String getName() {
         return this.name;
     }
@@ -68,3 +70,5 @@
         return clone;
     }
 }
+// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :
+
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/StringProperty.java	Tue Aug 28 11:51:12 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/StringProperty.java	Tue Aug 28 13:10:14 2012 +0000
@@ -44,5 +44,6 @@
         }
         return clone;
     }
+}
+// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :
 
-}

http://dive4elements.wald.intevation.org