changeset 2257:86685feb5b1c

Adjusted to name change in River class (hibernate fix). flys-artifacts/trunk@3912 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 06 Feb 2012 07:39:59 +0000
parents dd93a8e1377a
children ea173e4c07c7
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Fri Feb 03 18:03:26 2012 +0000
+++ b/flys-artifacts/ChangeLog	Mon Feb 06 07:39:59 2012 +0000
@@ -1,3 +1,8 @@
+2012-02-06  Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
+	  Adjusted to name change in River ('hibernate fix').
+
 2012-02-03  Ingo Weinzierl <ingo@intevation.de>
 
 	* doc/conf/artifacts/winfo.xml: Adapted the data type of W/Q input values
@@ -36,7 +41,7 @@
 	  Figure out for each start/end km if its a gauge station and store this
 	  information in the result WWs.
 
-	* src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java
+	* src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
 	  Uses the WWAxisTypes classifier now to generate the right data.
 	  TODO: Use the blackboard object.
 
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java	Fri Feb 03 18:03:26 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java	Mon Feb 06 07:39:59 2012 +0000
@@ -681,7 +681,7 @@
             return error(new WW[0], "no.wst.for.river");
         }
 
-        Map<Double, Double> kms2gaugeDatums = r.getGaugeDatumsKMs();
+        Map<Double, Double> kms2gaugeDatums = r.queryGaugeDatumsKMs();
 
         return calc5.calculate(wst, kms2gaugeDatums);
     }

http://dive4elements.wald.intevation.org