[PATCH] wkms name was lost

Wald Commits scm-commit at wald.intevation.org
Tue Mar 6 17:05:42 CET 2018


# HG changeset patch
# User gernotbelger
# Date 1520352337 -3600
# Node ID cef37cc093f210f96dc145bdb9d6da569c3581e3
# Parent  05b5588bdd94d9fde67fc43099f7dc16ada9e512
wkms name was lost

diff -r 05b5588bdd94 -r cef37cc093f2 artifacts/src/main/java/org/dive4elements/river/artifacts/states/WaterlevelData.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/states/WaterlevelData.java	Tue Mar 06 17:05:13 2018 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/states/WaterlevelData.java	Tue Mar 06 17:05:37 2018 +0100
@@ -31,7 +31,7 @@
     }
 
     public WaterlevelData(final WKms wkms, final int year, final boolean showAllGauges) {
-        this(null, wkms, year, showAllGauges);
+        this(wkms.getName(), wkms, year, showAllGauges);
     }
 
     private WaterlevelData(final String name, final WKms wkms, final int year, final boolean showAllGauges) {


More information about the Dive4Elements-commits mailing list