# HG changeset patch # User Bjoern Ricks # Date 1346933655 0 # Node ID 3e1149adc8b92e9c1e62da9e721b35f716230bda # Parent d92079b7c5911a8346f8236a282bd0d4fbd6a4ac Mark getDurationCurveData method as deprecated flys-artifacts/trunk@5367 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r d92079b7c591 -r 3e1149adc8b9 flys-artifacts/ChangeLog --- 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 + + * 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 * src/main/java/de/intevation/flys/exports/fixings/DeltaWtExporter.java: diff -r d92079b7c591 -r 3e1149adc8b9 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.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();