changeset 7660:a16caa4355be

Fix.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 06 Dec 2013 10:53:01 +0100
parents 2e1392067986
children 894daf8a6fa4
files artifacts/src/main/java/org/dive4elements/river/artifacts/states/WaterlevelSelectState.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/states/WaterlevelSelectState.java	Fri Dec 06 10:52:39 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/states/WaterlevelSelectState.java	Fri Dec 06 10:53:01 2013 +0100
@@ -171,7 +171,8 @@
             }
 
             wkms = null;
-        if (wqkms == null || wqkms.length == 0) {
+        }
+        if (wkms == null || wkms.length == 0) {
             logger.error("No data for label generation.");
             // This is critical, will fail without much grace later further down
             // the road.

http://dive4elements.wald.intevation.org