changeset 5800:397ff862b417

WOutProcessor: Renaming, doc.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 24 Apr 2013 08:24:56 +0200
parents 5a2c7d24fd29
children 6da56416da86
files flys-artifacts/src/main/java/de/intevation/flys/exports/process/WOutProcessor.java
diffstat 1 files changed, 11 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/process/WOutProcessor.java	Wed Apr 24 08:22:31 2013 +0200
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/process/WOutProcessor.java	Wed Apr 24 08:24:56 2013 +0200
@@ -16,10 +16,13 @@
 import de.intevation.flys.utils.ThemeUtil;
 
 /**
+ * Add data to chart/generator.
+ *
  * @author <a href="mailto:bjoern.ricks@intevation.de">Björn Ricks</a>
  */
 public class WOutProcessor implements Processor {
 
+    /** Private logger. */
     private static final Logger logger =
             Logger.getLogger(WOutProcessor.class);
 
@@ -65,17 +68,17 @@
      * Returns true if facettype is longitutinal_section.w .
      */
     @Override
-    public boolean canHandle(String facettype) {
-        if (facettype == null) {
+    public boolean canHandle(String facetType) {
+        if (facetType == null) {
             return false;
         }
 
-        if (facettype.equals(FacetTypes.LONGITUDINAL_W)
-                || facettype.equals(FacetTypes.STATIC_WKMS)
-                || facettype.equals(FacetTypes.HEIGHTMARKS_POINTS)
-                || facettype.equals(FacetTypes.STATIC_WQKMS)
-                || facettype.equals(FacetTypes.STATIC_WQKMS_W)
-                || facettype.equals(FacetTypes.DISCHARGE_LONGITUDINAL_W))
+        if (facetType.equals(FacetTypes.LONGITUDINAL_W)
+                || facetType.equals(FacetTypes.STATIC_WKMS)
+                || facetType.equals(FacetTypes.HEIGHTMARKS_POINTS)
+                || facetType.equals(FacetTypes.STATIC_WQKMS)
+                || facetType.equals(FacetTypes.STATIC_WQKMS_W)
+                || facetType.equals(FacetTypes.DISCHARGE_LONGITUDINAL_W))
         {
             return true;
         }

http://dive4elements.wald.intevation.org