[PATCH 3 of 7] Also handle bed height annotations

Wald Commits scm-commit at wald.intevation.org
Wed Sep 25 11:57:44 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1380102707 -7200
# Node ID 7fc41a235f47be2a5d8c9ad9fcaa22f171b812d0
# Parent  917b2617285359b53f174c007329d5683e8631eb
Also handle bed height annotations

diff -r 917b26172853 -r 7fc41a235f47 artifacts/src/main/java/org/dive4elements/river/exports/process/AnnotationProcessor.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/process/AnnotationProcessor.java	Wed Sep 25 11:51:22 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/process/AnnotationProcessor.java	Wed Sep 25 11:51:47 2013 +0200
@@ -79,6 +79,7 @@
         if (facetType == null) {
             return false;
         }
-        return facetType.equals(FacetTypes.LONGITUDINAL_ANNOTATION);
+        return facetType.equals(FacetTypes.LONGITUDINAL_ANNOTATION) ||
+            facetType.equals(FacetTypes.MIDDLE_BED_HEIGHT_ANNOTATION);
     }
 }


More information about the Dive4elements-commits mailing list