[PATCH 4 of 9] Also handle subtypes of Discharge longitundial Q facets

Wald Commits scm-commit at wald.intevation.org
Tue Sep 24 11:44:01 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1380014958 -7200
# Branch generator-refactoring
# Node ID 9e2c7e0ffc63b0fd542a1fa4bf7d06ec12a72066
# Parent  54fa03dad18cf1b61788420476421ffc2314bb7f
Also handle subtypes of Discharge longitundial Q facets.

    This fixes processing of the "Umhüllende" facets.

diff -r 54fa03dad18c -r 9e2c7e0ffc63 artifacts/src/main/java/org/dive4elements/river/exports/process/QOutProcessor.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/process/QOutProcessor.java	Tue Sep 24 11:28:29 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/process/QOutProcessor.java	Tue Sep 24 11:29:18 2013 +0200
@@ -96,7 +96,7 @@
 
         if (facetType.equals(FacetTypes.STATIC_WQKMS_Q)
             || facetType.equals(FacetTypes.LONGITUDINAL_Q)
-            || facetType.equals(FacetTypes.DISCHARGE_LONGITUDINAL_Q)) {
+            || facetType.startsWith(FacetTypes.DISCHARGE_LONGITUDINAL_Q)) {
             return true;
         }
         return false;


More information about the Dive4elements-commits mailing list