[PATCH] Fix

Wald Commits scm-commit at wald.intevation.org
Fri Dec 6 10:52:15 CET 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1386323581 -3600
# Node ID a16caa4355be4f374e402ccc41ba4859ddcb5318
# Parent  2e1392067986384e477abe16feac9d0be1ca0b0d
Fix.

diff -r 2e1392067986 -r a16caa4355be artifacts/src/main/java/org/dive4elements/river/artifacts/states/WaterlevelSelectState.java
--- 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.


More information about the Dive4elements-commits mailing list