changeset 4982:cbe89b2ce3cd

WQInputPanel: Removed unnecessary parameter from function.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 14 Feb 2013 09:33:41 +0100
parents 0e6e44e6725f
children 8679d16fe11a
files flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java	Thu Feb 14 09:32:29 2013 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java	Thu Feb 14 09:33:41 2013 +0100
@@ -1781,7 +1781,7 @@
      *
      * @return the name of the current river.
      */
-    protected String getRiverName(DataList[] data) {
+    protected String getRiverName() {
         ArtifactDescription adesc = artifact.getArtifactDescription();
         return adesc.getRiver();
     }
@@ -1795,7 +1795,7 @@
         DataList[] data = adescr.getOldData();
 
         double[]  mm = getMinMaxKM(data);
-        String river = getRiverName(data);
+        String river = getRiverName();
 
         wqInfoService.getWQInfo(locale, river, mm[0], mm[1],
             new AsyncCallback<WQInfoObject[]>() {

http://dive4elements.wald.intevation.org