[Dive4elements-commits] [PATCH 15 of 17] Doc and cosmetics

Wald Commits scm-commit at wald.intevation.org
Wed Apr 10 17:14:21 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1365592255 -7200
# Node ID ddb2a4e982b8b375e631dda39125e3f5194ea399
# Parent  14009b194871ff8b4e1f66c387a69a9f9f538089
Doc and cosmetics.

diff -r 14009b194871 -r ddb2a4e982b8 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/SedimentLoadFacet.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/SedimentLoadFacet.java	Wed Apr 10 09:36:25 2013 +0200
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/SedimentLoadFacet.java	Wed Apr 10 13:10:55 2013 +0200
@@ -18,14 +18,17 @@
 import de.intevation.flys.utils.FLYSUtils;
 
 
+/** Facet to access various sediment loads. */
 public class SedimentLoadFacet
 extends DataFacet
 {
     /** Very own logger. */
     private static Logger logger = Logger.getLogger(SedimentLoadFacet.class);
 
+    /** Used as tolerance value when fetching measurement stations. */
     private static double EPSILON = 1e-5;
 
+
     public SedimentLoadFacet() {
     }
 
@@ -57,9 +60,11 @@
             if (station.getRange() == null || station.getMeasurementType() == null) {
                 continue;
             }
-            if (FacetTypes.IS.SEDIMENT_LOAD_NO_FLOAT(this.getName()) && station.getMeasurementType().equals("Geschiebe"))
+            if (FacetTypes.IS.SEDIMENT_LOAD_NO_FLOAT(this.getName())
+                && station.getMeasurementType().equals("Geschiebe"))
                 stations.add(station);
-            else if (!FacetTypes.IS.SEDIMENT_LOAD_NO_FLOAT(this.getName()) && station.getMeasurementType().equals("Schwebstoff"))
+            else if (!FacetTypes.IS.SEDIMENT_LOAD_NO_FLOAT(this.getName())
+                && station.getMeasurementType().equals("Schwebstoff"))
                 stations.add(station);
         }
 


More information about the Dive4elements-commits mailing list