changeset 7637:49a92f7e2017

issue1020: Do not set a data with value null, this breaks stuff further down the road.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 03 Dec 2013 12:25:57 +0100
parents 003502ea4854
children 21adafca6441
files artifacts/src/main/java/org/dive4elements/river/artifacts/StaticWQKmsArtifact.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/StaticWQKmsArtifact.java	Tue Dec 03 12:25:03 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/StaticWQKmsArtifact.java	Tue Dec 03 12:25:57 2013 +0100
@@ -112,7 +112,7 @@
 
             if (parts.length >= 1) {
                 boolean official = parts[0].toLowerCase().startsWith("official");
-                addStringData("official", official ? "1" : null);
+                addStringData("official", official ? "1" : "0");
             }
 
             if (parts.length >= 4) {

http://dive4elements.wald.intevation.org