[Dive4elements-commits] [PATCH] Removed superfluous imports

Wald Commits scm-commit at wald.intevation.org
Fri Nov 2 17:44:23 CET 2012


# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1351874658 -3600
# Node ID 651b93c10dc5aef887efef5026e87ddd5da67dee
# Parent  3937c6a85db4806a077ae3c115ce8f9584c1b905
Removed superfluous imports.

diff -r 3937c6a85db4 -r 651b93c10dc5 flys-client/src/main/java/de/intevation/flys/client/client/services/SedimentLoadInfoService.java
--- a/flys-client/src/main/java/de/intevation/flys/client/client/services/SedimentLoadInfoService.java	Fri Nov 02 17:26:16 2012 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/services/SedimentLoadInfoService.java	Fri Nov 02 17:44:18 2012 +0100
@@ -4,7 +4,6 @@
 import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
 
 import de.intevation.flys.client.shared.exceptions.ServerException;
-import de.intevation.flys.client.shared.model.DischargeInfoObject;
 import de.intevation.flys.client.shared.model.SedimentLoadInfoObject;
 
 /**
diff -r 3937c6a85db4 -r 651b93c10dc5 flys-client/src/main/java/de/intevation/flys/client/client/ui/MeasurementStationTree.java
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/MeasurementStationTree.java	Fri Nov 02 17:26:16 2012 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/MeasurementStationTree.java	Fri Nov 02 17:44:18 2012 +0100
@@ -2,9 +2,6 @@
 
 import java.util.Date;
 
-import com.google.gwt.core.client.GWT;
-import com.google.gwt.event.dom.client.ClickEvent;
-import com.google.gwt.event.dom.client.ClickHandler;
 import com.google.gwt.i18n.client.DateTimeFormat;
 import com.google.gwt.i18n.client.NumberFormat;
 import com.google.gwt.user.client.ui.Anchor;
@@ -17,14 +14,10 @@
 import com.smartgwt.client.widgets.layout.HLayout;
 
 import de.intevation.flys.client.client.FLYS;
-import de.intevation.flys.client.shared.model.Data;
-import de.intevation.flys.client.shared.model.DataItem;
-import de.intevation.flys.client.shared.model.DataList;
 import de.intevation.flys.client.shared.model.MeasurementStation;
 import de.intevation.flys.client.shared.model.RiverInfo;
 
 import java.util.ArrayList;
-import java.util.Iterator;
 import java.util.List;
 
 /**
@@ -179,8 +172,6 @@
             setStyleName("infopanel");
             Grid grid = new Grid(5, 2);
 
-            NumberFormat nf = NumberFormat.getDecimalFormat();
-
             String type = station.getMeasurementType();
             if (type != null) {
                 grid.setText(0, 0, MSG.measurement_station_type());
diff -r 3937c6a85db4 -r 651b93c10dc5 flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/MousePositionPanel.java
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/MousePositionPanel.java	Fri Nov 02 17:26:16 2012 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/MousePositionPanel.java	Fri Nov 02 17:44:18 2012 +0100
@@ -2,8 +2,6 @@
 
 import java.util.ArrayList;
 
-import com.google.gwt.i18n.client.NumberFormat;
-
 import com.smartgwt.client.widgets.Canvas;
 import com.smartgwt.client.widgets.Label;
 import com.smartgwt.client.widgets.layout.HLayout;
@@ -89,8 +87,6 @@
             addMember(xLayout);
         }
 
-        ArrayList<String> yCoordinates = new ArrayList<String>();
-        String xCoordinate = "";
         for (int i = 0; i < transformerCount; i++) {
             HLayout yLayout = null;
             // If no layout exists for this y axis, create one.
diff -r 3937c6a85db4 -r 651b93c10dc5 flys-client/src/main/java/de/intevation/flys/client/client/ui/minfo/SedLoadDistancePanel.java
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/minfo/SedLoadDistancePanel.java	Fri Nov 02 17:26:16 2012 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/minfo/SedLoadDistancePanel.java	Fri Nov 02 17:44:18 2012 +0100
@@ -2,7 +2,6 @@
 
 import java.util.List;
 
-import com.google.gwt.core.client.GWT;
 import com.smartgwt.client.data.Record;
 import com.smartgwt.client.util.SC;
 import com.smartgwt.client.widgets.Canvas;
@@ -15,9 +14,6 @@
 import com.smartgwt.client.widgets.layout.VLayout;
 
 import de.intevation.flys.client.client.Config;
-import de.intevation.flys.client.client.event.FilterHandler;
-import de.intevation.flys.client.client.event.RangeFilterEvent;
-import de.intevation.flys.client.client.event.StringFilterEvent;
 import de.intevation.flys.client.client.ui.AbstractUIProvider;
 import de.intevation.flys.client.client.ui.DoubleRangeOnlyPanel;
 import de.intevation.flys.client.client.ui.DoubleRangePanel;
diff -r 3937c6a85db4 -r 651b93c10dc5 flys-client/src/main/java/de/intevation/flys/client/client/ui/range/DischargeInfoDataSource.java
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/range/DischargeInfoDataSource.java	Fri Nov 02 17:26:16 2012 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/range/DischargeInfoDataSource.java	Fri Nov 02 17:44:18 2012 +0100
@@ -1,15 +1,11 @@
 package de.intevation.flys.client.client.ui.range;
 
-import java.util.Date;
-
 import com.google.gwt.core.client.GWT;
 
 import com.smartgwt.client.data.DataSource;
 import com.smartgwt.client.data.DataSourceField;
 import com.smartgwt.client.types.DSDataFormat;
 import com.smartgwt.client.types.FieldType;
-import com.smartgwt.client.util.DateDisplayFormatter;
-
 
 public class DischargeInfoDataSource extends DataSource {
 


More information about the Dive4elements-commits mailing list