changeset 2885:6ab6025cef20

Removed some debug outputs. flys-client/trunk@4568 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 01 Jun 2012 10:47:34 +0000
parents 88bca9f735c0
children bd16493cc0da
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixEventSelect.java flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixMultiPeriodPanel.java flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java flys-client/src/main/java/de/intevation/flys/client/shared/model/FixAnalysisArtifact.java
diffstat 5 files changed, 8 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Fri Jun 01 10:27:14 2012 +0000
+++ b/flys-client/ChangeLog	Fri Jun 01 10:47:34 2012 +0000
@@ -1,3 +1,11 @@
+2012-06-01  Raimund Renkert <raimund.renkert@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/shared/model/FixAnalysisArtifact.java,
+	  src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java,
+	  src/main/java/de/intevation/flys/client/client/ui/fixation/FixMultiPeriodPanel.java,
+	  src/main/java/de/intevation/flys/client/client/ui/fixation/FixEventSelect.java:
+	  Removed some debug outputs.
+
 2012-06-01  Raimund Renkert <raimund.renkert@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/shared/model/FixAnalysisArtifact.java:
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixEventSelect.java	Fri Jun 01 10:27:14 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixEventSelect.java	Fri Jun 01 10:47:34 2012 +0000
@@ -61,8 +61,6 @@
     public Canvas createOld(DataList dataList) {
         List<Data> list = dataList.getAll();
 
-        GWT.log("listsize: " + list.size());
-
         Data data = getData(list, "events");
 
         VLayout dataLayout = new VLayout();
@@ -101,7 +99,6 @@
         if (events.size() > 0) {
             IntDataItem[] arr = new IntDataItem[events.size()];
             for (int i = 0; i < events.size(); i++) {
-                GWT.log("event: " + events.get(i));
                 try {
                     Integer v = new Integer(events.get(i));
                     arr[i] = new IntDataItem("id", "id", v.intValue());
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixMultiPeriodPanel.java	Fri Jun 01 10:27:14 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixMultiPeriodPanel.java	Fri Jun 01 10:47:34 2012 +0000
@@ -204,7 +204,6 @@
             data += drr.getFrom() + "," + drr.getTo();
             data += ";";
         }
-        GWT.log(data);
         values = data;
         return true;
     }
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java	Fri Jun 01 10:27:14 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java	Fri Jun 01 10:47:34 2012 +0000
@@ -81,7 +81,6 @@
     protected Img chartImg;
 
     public FixationPanel() {
-        GWT.log("new filter");
         chartImg = new Img();
         htmlOverview = "";
     }
@@ -145,8 +144,6 @@
         String callBack = "fixationCallback(this.checked, this.name)";
         FixAnalysisArtifact art = (FixAnalysisArtifact) this.artifact;
 
-        GWT.log(art.getFilter().getOverviewFilter());
-
         overviewService.generateOverview(
             locale,
             artifact.getUuid(),
@@ -242,11 +239,9 @@
         String locale    = config.getLocale ();
 
         FixAnalysisArtifact art = (FixAnalysisArtifact) this.artifact;
-        GWT.log("km: " + km);
         if (km < 0) {
             km = 0;
         }
-        GWT.log("km: " + km);
         art.getFilter().setCurrentKm(km);
         if (chartContainer.hasMember(chartImg)) {
             chartContainer.removeMember(chartImg);
@@ -431,7 +426,6 @@
                 jrName.put("name", jrValue);
                 jfilter.put("river", jrName);
                 jfix.put("fixings", createFilter(jfilter));
-                GWT.log("filter: " + jfix.toString());
                 return jfix.toString();
             }
             return "";
@@ -441,7 +435,6 @@
             if (river != null && river.length() > 0 &&
                 currentKm >= fromKm && currentKm <= toKm)
             {
-                GWT.log("current: " + currentKm);
                 JSONObject jfix = new JSONObject();
                 JSONObject jfilter = new JSONObject();
                 JSONObject jrName = new JSONObject();
@@ -460,14 +453,12 @@
                 jextent.put("height", jheight);
                 jfilter.put("extent", jextent);
                 jfix.put("fixings", createFilter(jfilter));
-                GWT.log("filter: " + jfix.toString());
                 return jfix.toString();
             }
             return "";
         }
 
         protected JSONObject createFilter(JSONObject root) {
-            GWT.log("km:" + fromKm + ", " + toKm);
             if (this.fromKm >= 0 && this.toKm >= 0 && this.fromKm <=this.toKm) {
                 JSONObject range = new JSONObject();
                 JSONObject fromtokm = new JSONObject();
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/FixAnalysisArtifact.java	Fri Jun 01 10:27:14 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/FixAnalysisArtifact.java	Fri Jun 01 10:47:34 2012 +0000
@@ -2,7 +2,6 @@
 
 import java.util.List;
 import java.lang.NumberFormatException;
-import com.google.gwt.core.client.GWT;
 
 import de.intevation.flys.client.client.ui.fixation.FixationPanel;
 import de.intevation.flys.client.client.ui.fixation.FixationPanel.FixFilter;
@@ -111,7 +110,6 @@
             if(state.equals("state.fix.eventselect")) {
                 Data de = getData(items, "events");
                 IntegerArrayData iad = (IntegerArrayData) de;
-                GWT.log(iad.getStringValue());
                 this.filter.setEvents(iad.getValues());
             }
         }

http://dive4elements.wald.intevation.org