changeset 3646:3e1149adc8b9

Mark getDurationCurveData method as deprecated flys-artifacts/trunk@5367 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Bjoern Ricks <bjoern.ricks@intevation.de>
date Thu, 06 Sep 2012 12:14:15 +0000
parents d92079b7c591
children 421d1b0576b8
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Thu Sep 06 11:11:56 2012 +0000
+++ b/flys-artifacts/ChangeLog	Thu Sep 06 12:14:15 2012 +0000
@@ -1,3 +1,9 @@
+2012-09-06	Björn Ricks	<bjoern.ricks@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java:
+	  Mark getDurationCurveData as deprecated. The instance method of Gauge with
+	  the same name should be used instead.
+
 2012-09-06	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	* src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java	Thu Sep 06 11:11:56 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java	Thu Sep 06 12:14:15 2012 +0000
@@ -36,10 +36,12 @@
      * Returns an array of [days, qs] necessary to create duration curves.
      *
      * @param gauge The selected gauge.
+     * @deprecated
      *
      * @return a 2dim array of [days, qs] where days is an int[] and qs is
      * an double[].
      */
+    @Deprecated
     public static Object[] getDurationCurveData(Gauge gauge) {
         Session session = SessionHolder.HOLDER.get();
 

http://dive4elements.wald.intevation.org