changeset 8934:cef37cc093f2

wkms name was lost
author gernotbelger
date Tue, 06 Mar 2018 17:05:37 +0100
parents 05b5588bdd94
children 3ac9cb0029b2
files artifacts/src/main/java/org/dive4elements/river/artifacts/states/WaterlevelData.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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) {

http://dive4elements.wald.intevation.org