diff gnv-artifacts/src/main/java/de/intevation/gnv/transition/SingleInputTransition.java @ 171:7fb9441dd8af

Format Code to max 80 Chars per Row and Cleanup gnv-artifacts/trunk@208 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Fri, 09 Oct 2009 07:54:48 +0000
parents bb45c5097cb6
children d87347142702
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/transition/SingleInputTransition.java	Fri Oct 09 07:49:47 2009 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/transition/SingleInputTransition.java	Fri Oct 09 07:54:48 2009 +0000
@@ -13,7 +13,7 @@
 
 /**
  * @author Tim Englich <tim.englich@intevation.de>
- *
+ * 
  */
 public class SingleInputTransition extends TransitionBase {
 
@@ -21,7 +21,7 @@
      * the logger, used to log exceptions and additonaly information
      */
     private static Logger log = Logger.getLogger(SingleInputTransition.class);
-    
+
     /**
      *
      */
@@ -41,24 +41,25 @@
     }
 
     /**
-     * @see de.intevation.gnv.transition.TransitionBase#purifyResult(java.util.Collection, java.lang.String)
+     * @see de.intevation.gnv.transition.TransitionBase#purifyResult(java.util.Collection,
+     *      java.lang.String)
      */
     @Override
     protected void purifyResult(Collection<Result> result, String uuid) {
         log.debug("SingleInputTransition.purifyResult");
-        if (this.descibeData == null){
+        if (this.descibeData == null) {
             this.descibeData = new ArrayList<Object>();
         }
         String value = null;
-        if (result != null && result.size() == 1){
+        if (result != null && result.size() == 1) {
             Result tmpItem = result.iterator().next();
             value = tmpItem.getObject("MAX").toString();
-        }else{
+        } else {
             value = "";
         }
-        
-        this.descibeData.add(new DefaultSingleValueDescribeData(this.dataName, value));
+
+        this.descibeData.add(new DefaultSingleValueDescribeData(this.dataName,
+                value));
     }
-    
 
 }

http://dive4elements.wald.intevation.org