changeset 6108:7e3cd23f8671

candidate for issue1335: replace weird test with lest weird test.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 27 May 2013 15:17:37 +0200
parents e296c05a0c5b
children 2a4ff87ef357
files artifacts/src/main/java/org/dive4elements/river/exports/minfo/SedimentLoadLSGenerator.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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,

http://dive4elements.wald.intevation.org