[Dive4elements-commits] [PATCH] candidate for issue1335: replace weird test with lest weird test

Wald Commits scm-commit at wald.intevation.org
Mon May 27 15:09:17 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1369660657 -7200
# Node ID 7e3cd23f8671649e0bbfbbbe145d4ad43f14ea9f
# Parent  e296c05a0c5bf88aa30ad8536449e08934911446
candidate for issue1335: replace weird test with lest weird test.

diff -r e296c05a0c5b -r 7e3cd23f8671 artifacts/src/main/java/org/dive4elements/river/exports/minfo/SedimentLoadLSGenerator.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/minfo/SedimentLoadLSGenerator.java	Mon May 27 15:03:00 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/minfo/SedimentLoadLSGenerator.java	Mon May 27 15:17:37 2013 +0200
@@ -132,7 +132,7 @@
             context.putContextValue("startkm", bounds.getLower());
             context.putContextValue("endkm", bounds.getUpper());
         }
-        if (FacetTypes.IS.SEDIMENT_LOAD(SEDIMENT_LOAD_COARSE)) {
+        if (FacetTypes.IS.SEDIMENT_LOAD(name)) {
             doSedimentLoadOut(
                 (double[][]) bundle.getData(context),
                 bundle,


More information about the Dive4elements-commits mailing list