changeset 2030:355495661a1c

Changed the seperator character between Ws and Qs in the Artifact's DESCRIBE document. flys-artifacts/trunk@3492 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 20 Dec 2011 11:48:24 +0000
parents 131842fc6581
children 8e7e56db96a5
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/WQSelect.java
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Tue Dec 20 11:30:00 2011 +0000
+++ b/flys-artifacts/ChangeLog	Tue Dec 20 11:48:24 2011 +0000
@@ -1,3 +1,8 @@
+2011-12-20  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
+	  Use a ';' as seperator between Qs and Ws.
+
 2011-12-20	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	* src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/WQSelect.java	Tue Dec 20 11:30:00 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/WQSelect.java	Tue Dec 20 11:48:24 2011 +0000
@@ -133,7 +133,7 @@
 
                 String formatted = nf.format(v);
 
-                label = label != null ? label + " " + formatted : formatted;
+                label = label != null ? label + ";" + formatted : formatted;
             }
             catch (NumberFormatException nfe) {
                 // do nothing here
@@ -165,11 +165,11 @@
                 if (mv != null && mv.length() > 0) {
                     String add = mv + ": " + tmp;
                     logger.debug("Add main value: '" + mv + "'");
-                    label = label != null ? label + " " + add : add;
+                    label = label != null ? label + ";" + add : add;
                 }
                 else {
                     logger.debug("Add non main value: '" + tmp + "'");
-                    label = label != null ? label + " " + tmp : tmp;
+                    label = label != null ? label + ";" + tmp : tmp;
                 }
             }
             catch (NumberFormatException nfe) {

http://dive4elements.wald.intevation.org