# HG changeset patch # User Felix Wolfsteller # Date 1366784696 -7200 # Node ID 397ff862b41763a5a870a2c97a10257029561a0c # Parent 5a2c7d24fd290e65aae8053e336e662713ea6d77 WOutProcessor: Renaming, doc. diff -r 5a2c7d24fd29 -r 397ff862b417 flys-artifacts/src/main/java/de/intevation/flys/exports/process/WOutProcessor.java --- 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 Björn Ricks */ 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; }