changeset 8947:86650594f051

FixeD: waterlevel got wrong name
author gernotbelger
date Wed, 14 Mar 2018 14:09:33 +0100
parents 5d5d482da3e9
children a4f1ac81f26d
files artifacts/src/main/java/org/dive4elements/river/artifacts/states/WaterlevelFetcher.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);

http://dive4elements.wald.intevation.org