changeset 5647:ddb2a4e982b8

Doc and cosmetics.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 10 Apr 2013 13:10:55 +0200
parents 14009b194871
children 4feda81c38bc
files flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/SedimentLoadFacet.java
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);
         }
 

http://dive4elements.wald.intevation.org