[PATCH] Fix build by removing bedheightsoundingprocessor from old Longitundinal Generator

Wald Commits scm-commit at wald.intevation.org
Fri Dec 13 17:45:02 CET 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1386953097 -3600
# Node ID 4bbd222e6b7f715d733578ea84f6bd450f9d061d
# Parent  4374a8d26706350c8b8a50e3eaa5ec1edf0c5748
Fix build by removing bedheightsoundingprocessor from old Longitundinal Generator

    All bedheights should go over the DiagramGenerator

diff -r 4374a8d26706 -r 4bbd222e6b7f artifacts/src/main/java/org/dive4elements/river/exports/LongitudinalSectionGenerator.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/LongitudinalSectionGenerator.java	Fri Dec 13 15:39:05 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/LongitudinalSectionGenerator.java	Fri Dec 13 17:44:57 2013 +0100
@@ -20,7 +20,6 @@
 import org.dive4elements.river.exports.process.Processor;
 import org.dive4elements.river.exports.process.BedDiffHeightYearProcessor;
 import org.dive4elements.river.exports.process.BedDiffYearProcessor;
-import org.dive4elements.river.exports.process.BedHeightSoundingProcessor;
 import org.dive4elements.river.exports.process.QOutProcessor;
 import org.dive4elements.river.exports.process.WOutProcessor;
 import org.dive4elements.river.exports.process.AnnotationProcessor;
@@ -341,7 +340,6 @@
 
         Processor wProcessor = new WOutProcessor();
         Processor qProcessor = new QOutProcessor();
-        Processor bedp = new BedHeightSoundingProcessor();
         Processor bdyProcessor = new BedDiffYearProcessor();
         Processor bdhyProcessor = new BedDiffHeightYearProcessor();
         Processor annotationProcessor = new AnnotationProcessor();
@@ -352,9 +350,6 @@
         if (qProcessor.canHandle(name)) {
             qProcessor.doOut(this, artifactAndFacet, attr, visible, YAXIS.Q.idx);
         }
-        else if (bedp.canHandle(name)) {
-           bedp.doOut(this, artifactAndFacet, attr, visible, YAXIS.W.idx);
-        }
         else if (bdyProcessor.canHandle(name)) {
            bdyProcessor.doOut(this, artifactAndFacet, attr, visible, YAXIS.W.idx);
         }


More information about the Dive4elements-commits mailing list