changeset 376:aa0889141b15

Removed an unused parameter from DischargeTables.getQForW(). flys-artifacts/trunk@1788 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 02 May 2011 12:41:24 +0000
parents 60f63539d004
children 0ccf7200fc51
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java
diffstat 2 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Mon May 02 09:41:22 2011 +0000
+++ b/flys-artifacts/ChangeLog	Mon May 02 12:41:24 2011 +0000
@@ -1,3 +1,8 @@
+2011-05-02  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
+	  Removed an unused parameter 'result' of getQForW().
+
 2011-05-02  Ingo Weinzierl <ingo@intevation.de>
 
 	* src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Removed
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java	Mon May 02 09:41:22 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java	Mon May 02 12:41:24 2011 +0000
@@ -179,11 +179,7 @@
         return values;
     }
 
-    public static double getQForW(
-        double [][] values, 
-        double      w,  
-        double []   result
-    ) {
+    public static double getQForW(double [][] values, double w) {
         int index = Arrays.binarySearch(values[0], w);
         if (index >= 0) {
             return values[0][index];

http://dive4elements.wald.intevation.org