changeset 723:8900966ad945

"Abflusskurve am Pegel" looks correct again. flys-artifacts/trunk@2201 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 22 Jun 2011 10:54:30 +0000
parents 4800230fba8a
children 90ee95945684
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java flys-artifacts/src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java
diffstat 3 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Wed Jun 22 10:36:27 2011 +0000
+++ b/flys-artifacts/ChangeLog	Wed Jun 22 10:54:30 2011 +0000
@@ -1,3 +1,12 @@
+2011-06-21  Sascha L. Teichmann <sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
+	  Arguments in filling datastructure were flip. Now
+	  the "Abflusskurve am Pegel" looks correct again.
+
+	* src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
+	  Removed superfluous imports.
+
 2011-06-21  Sascha L. Teichmann <sascha.teichmann@intevation.de>
 
 	Improved situtation on rendering "Abflusskurve am Pegel". Not
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java	Wed Jun 22 10:36:27 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java	Wed Jun 22 10:54:30 2011 +0000
@@ -488,7 +488,7 @@
             }
             double [] kms = new double[values[0].length];
             Arrays.fill(kms, gauge.getStation().doubleValue());
-            res.add(new WQKms(values[1], values[0], kms, name));
+            res.add(new WQKms(kms, values[0], values[1], name));
         }
 
         return new CalculationResult(
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java	Wed Jun 22 10:36:27 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java	Wed Jun 22 10:54:30 2011 +0000
@@ -1,9 +1,7 @@
 package de.intevation.flys.exports;
 
-import java.util.ArrayList;
 import java.util.Date;
 import java.util.List;
-import java.util.Map;
 
 import org.apache.log4j.Logger;
 

http://dive4elements.wald.intevation.org