[PATCH] FixeD: waterlevel got wrong name

Wald Commits scm-commit at wald.intevation.org
Wed Mar 14 14:09:39 CET 2018


# HG changeset patch
# User gernotbelger
# Date 1521032973 -3600
# Node ID 86650594f051fce387e411af135096258a18ab42
# Parent  5d5d482da3e93adf17b535e3a3397c5babaec4af
FixeD: waterlevel got wrong name

diff -r 5d5d482da3e9 -r 86650594f051 artifacts/src/main/java/org/dive4elements/river/artifacts/states/WaterlevelFetcher.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/states/WaterlevelFetcher.java	Tue Mar 13 18:49:33 2018 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/states/WaterlevelFetcher.java	Wed Mar 14 14:09:33 2018 +0100
@@ -44,8 +44,9 @@
 
         final String[] def = mingle.split(";");
         final String uuid = def[0];
-        final String name = def[1];
+        // final String factory = def[1];
         final int idx = Integer.parseInt(def[2]);
+        final String name = def[3];
         final D4EArtifact d4eArtifact = RiverUtils.getArtifact(uuid, context);
 
         final WaterlevelData data = fetchWaterlevelFromArtifact(context, d4eArtifact, idx, from, to);


More information about the Dive4Elements-commits mailing list