[Dive4elements-commits] [PATCH] Cosmetics: Removed some WSP, obsolete imports. Documentation added

Wald Commits scm-commit at wald.intevation.org
Tue Nov 13 16:47:05 CET 2012


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1352821921 -3600
# Node ID cc632340164386a0e3f6de319fb8b2aa60588cd1
# Parent  b5624ef2808f5ccc3333d379eddc5d65236fe16d
Cosmetics: Removed some WSP, obsolete imports. Documentation added.

diff -r b5624ef2808f -r cc6323401643 flys-artifacts/src/main/java/de/intevation/flys/artifacts/FlowVelocityMeasurementArtifact.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/FlowVelocityMeasurementArtifact.java	Tue Nov 13 16:14:44 2012 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/FlowVelocityMeasurementArtifact.java	Tue Nov 13 16:52:01 2012 +0100
@@ -14,7 +14,6 @@
 import de.intevation.artifacts.ArtifactFactory;
 import de.intevation.artifacts.CallMeta;
 import de.intevation.artifacts.common.utils.XMLUtils;
-import de.intevation.flys.model.FlowVelocityMeasurement;
 import de.intevation.flys.model.FlowVelocityMeasurementValue;
 import de.intevation.flys.artifacts.model.minfo.FlowVelocityMeasurementFacet;
 import de.intevation.flys.artifacts.model.minfo.FlowVelocityMeasurementFactory;
@@ -111,7 +110,6 @@
             Facet facet = new FlowVelocityMeasurementFacet(
                 FLOW_VELOCITY_MEASUREMENT,
                 "flowvelocity-name");
-  
             fs.add(facet);
             facets.put(state.getID(), fs);
             addStringData(DATA_NAME, code);
diff -r b5624ef2808f -r cc6323401643 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java	Tue Nov 13 16:14:44 2012 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java	Tue Nov 13 16:52:01 2012 +0100
@@ -16,8 +16,10 @@
 import org.apache.log4j.Logger;
 
 
+/** Calculate flow velocity. */
 public class FlowVelocityCalculation extends Calculation {
 
+    /** Own logger. */
     private static final Logger logger =
         Logger.getLogger(FlowVelocityCalculation.class);
 
diff -r b5624ef2808f -r cc6323401643 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FlowVelocityFacet.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FlowVelocityFacet.java	Tue Nov 13 16:14:44 2012 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FlowVelocityFacet.java	Tue Nov 13 16:52:01 2012 +0100
@@ -11,6 +11,7 @@
 
 import org.apache.log4j.Logger;
 
+
 /**
  * Facet of a FlowVelocity curve.
  */
diff -r b5624ef2808f -r cc6323401643 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/SedimentLoad.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/SedimentLoad.java	Tue Nov 13 16:14:44 2012 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/SedimentLoad.java	Tue Nov 13 16:52:01 2012 +0100
@@ -17,6 +17,7 @@
     protected Date end;
     protected boolean isEpoch;
 
+    /** Maps kms. */
     protected HashMap<Double, SedimentLoadFraction> kms;
 
     public SedimentLoad() {
@@ -160,3 +161,4 @@
         }
     }
 }
+// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :
diff -r b5624ef2808f -r cc6323401643 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/SedimentLoadCalculation.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/SedimentLoadCalculation.java	Tue Nov 13 16:14:44 2012 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/SedimentLoadCalculation.java	Tue Nov 13 16:52:01 2012 +0100
@@ -15,10 +15,12 @@
 import de.intevation.flys.artifacts.model.CalculationResult;
 
 
+/** Calculate sediment load. */
 public class SedimentLoadCalculation
 extends Calculation
 {
 
+    /** Private logger. */
     private static final Logger logger = Logger
         .getLogger(SedimentLoadCalculation.class);
 
@@ -259,3 +261,4 @@
         return load;
     }
 }
+// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :
diff -r b5624ef2808f -r cc6323401643 flys-backend/src/main/java/de/intevation/flys/model/DischargeZone.java
--- a/flys-backend/src/main/java/de/intevation/flys/model/DischargeZone.java	Tue Nov 13 16:14:44 2012 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/model/DischargeZone.java	Tue Nov 13 16:52:01 2012 +0100
@@ -29,7 +29,6 @@
 {
     private static Logger logger = Logger.getLogger(DischargeZone.class);
 
-
     private Integer id;
 
     private River river;
diff -r b5624ef2808f -r cc6323401643 flys-backend/src/main/java/de/intevation/flys/model/FlowVelocityMeasurement.java
--- a/flys-backend/src/main/java/de/intevation/flys/model/FlowVelocityMeasurement.java	Tue Nov 13 16:14:44 2012 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/model/FlowVelocityMeasurement.java	Tue Nov 13 16:52:01 2012 +0100
@@ -25,7 +25,6 @@
     private static Logger logger =
         Logger.getLogger(FlowVelocityMeasurement.class);
 
-
     private Integer id;
 
     private River river;
diff -r b5624ef2808f -r cc6323401643 flys-client/src/main/java/de/intevation/flys/client/server/filter/NoCacheFilter.java
--- a/flys-client/src/main/java/de/intevation/flys/client/server/filter/NoCacheFilter.java	Tue Nov 13 16:14:44 2012 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/server/filter/NoCacheFilter.java	Tue Nov 13 16:52:01 2012 +0100
@@ -1,7 +1,6 @@
 package de.intevation.flys.client.server.filter;
 
 import java.io.IOException;
-import java.util.Enumeration;
 import java.util.Date;
 
 import javax.servlet.Filter;


More information about the Dive4elements-commits mailing list