changeset 2014:b11793a3e7c7

#419 Fixed broken Facet name creation in discharge longitudinal sections. flys-artifacts/trunk@3467 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 19 Dec 2011 15:47:34 +0000
parents 9d5f339d83a3
children 61667c3a0003
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Mon Dec 19 10:01:17 2011 +0000
+++ b/flys-artifacts/ChangeLog	Mon Dec 19 15:47:34 2011 +0000
@@ -1,3 +1,10 @@
+2011-12-19  Ingo Weinzierl <ingo@intevation.de>
+
+	flys/issue419 (Themen-Name "Q(null)" bei W bei ungl. A.)
+
+	* src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
+	  Use correct variable to create Facet names.
+
 2011-12-19  Ingo Weinzierl <ingo@intevation.de>
 
 	flys/issue380 (W-INFO / Überschwemmungskarte, falsches DGM)
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java	Mon Dec 19 10:01:17 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java	Mon Dec 19 15:47:34 2011 +0000
@@ -58,7 +58,7 @@
             }
             else {
                 nameW = wqkms[i].getName();
-                nameQ = "Q(" + nameQ + ")";
+                nameQ = "Q(" + nameW + ")";
             }
 
             Facet w = new WaterlevelFacet(

http://dive4elements.wald.intevation.org