changeset 411:6ab62e5b05b5

Enabled the WINFO artifact to choose between W and Q mode in the adapted wq panel of the discharge longitudinal section computation. flys-artifacts/trunk@1872 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 10 May 2011 07:40:06 +0000
parents df02137b3b28
children 046bd86ae41d
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java
diffstat 2 files changed, 5 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Mon May 09 19:54:24 2011 +0000
+++ b/flys-artifacts/ChangeLog	Tue May 10 07:40:06 2011 +0000
@@ -1,3 +1,8 @@
+2011-05-10  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Removed
+	  hard coded dev code that defined a WQ mode.
+
 2011-05-09	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java	Mon May 09 19:54:24 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java	Tue May 10 07:40:06 2011 +0000
@@ -687,9 +687,6 @@
 
         String mode = dMode != null ? (String) dMode.getValue() : "";
 
-        // TODO REMOVE THIS HARD CODED MODE VALUE!
-        mode = "Q";
-
         if (mode.equals("Q")) {
             return getWQForDist(range);
         }
@@ -712,9 +709,6 @@
 
         String mode = dMode != null ? (String) dMode.getValue() : "";
 
-        // TODO REMOVE THIS HARD CODED MODE VALUE!
-        mode = "W";
-
         if (mode.equals("W")) {
             return getWQForDist(range);
         }

http://dive4elements.wald.intevation.org