changeset 301:3ea030aafe65

Removed duplicated and needless imports. gnv-artifacts/trunk@355 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 20 Nov 2009 14:03:31 +0000
parents 6a3a02e004d9
children dc2713a3eaa7
files gnv-artifacts/ChangeLog gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java gnv-artifacts/src/main/java/de/intevation/gnv/chart/AbstractChart.java gnv-artifacts/src/main/java/de/intevation/gnv/chart/AbstractXYLineChart.java gnv-artifacts/src/main/java/de/intevation/gnv/chart/VerticalProfileChart.java gnv-artifacts/src/main/java/de/intevation/gnv/exports/DefaultExport.java gnv-artifacts/src/main/java/de/intevation/gnv/exports/DefaultProfile.java gnv-artifacts/src/main/java/de/intevation/gnv/exports/Export.java gnv-artifacts/src/main/java/de/intevation/gnv/exports/ShapeDataCollector.java gnv-artifacts/src/main/java/de/intevation/gnv/exports/SimpleOdvDataCollector.java gnv-artifacts/src/main/java/de/intevation/gnv/transition/profile/horizontal/HorizontalProfileOutputTransition.java gnv-artifacts/src/main/java/de/intevation/gnv/transition/profile/horizontalcrosssection/HorizontalCrossSectionMeshOutputTransition.java gnv-artifacts/src/main/java/de/intevation/gnv/transition/profile/vertical/VerticalProfileOutputTransition.java gnv-artifacts/src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java
diffstat 14 files changed, 19 insertions(+), 59 deletions(-) [+]
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog	Fri Nov 20 13:51:14 2009 +0000
+++ b/gnv-artifacts/ChangeLog	Fri Nov 20 14:03:31 2009 +0000
@@ -1,3 +1,20 @@
+2009-11-20  Ingo Weinzierl <ingo.weinzierl@intevation.de>
+
+	* src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java,
+	  src/main/java/de/intevation/gnv/chart/VerticalProfileChart.java,
+	  src/main/java/de/intevation/gnv/chart/AbstractXYLineChart.java,
+	  src/main/java/de/intevation/gnv/chart/AbstractChart.java,
+	  src/main/java/de/intevation/gnv/exports/Export.java,
+	  src/main/java/de/intevation/gnv/exports/ShapeDataCollector.java,
+	  src/main/java/de/intevation/gnv/exports/SimpleOdvDataCollector.java,
+	  src/main/java/de/intevation/gnv/exports/DefaultProfile.java,
+	  src/main/java/de/intevation/gnv/exports/DefaultExport.java,
+	  src/main/java/de/intevation/gnv/transition/profile/horizontalcrosssection/HorizontalCrossSectionMeshOutputTransition.java,
+	  src/main/java/de/intevation/gnv/transition/profile/horizontal/HorizontalProfileOutputTransition.java,
+	  src/main/java/de/intevation/gnv/transition/profile/vertical/VerticalProfileOutputTransition.java,
+	  src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java:
+	  Removed duplicated and needless imports.
+
 2009-11-20  Ingo Weinzierl <ingo.weinzierl@intevation.de>
 
 	* src/main/java/de/intevation/gnv/transition/OutputTransitionBase.java:
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java	Fri Nov 20 13:51:14 2009 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java	Fri Nov 20 14:03:31 2009 +0000
@@ -10,8 +10,6 @@
 import java.util.Iterator;
 import java.util.Map;
 
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
 import javax.xml.xpath.XPathConstants;
 
 import org.apache.log4j.Logger;
@@ -19,7 +17,6 @@
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
 import org.w3c.dom.NodeList;
-import org.xml.sax.SAXException;
 
 import de.intevation.artifactdatabase.Config;
 import de.intevation.artifactdatabase.DefaultArtifact;
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/chart/AbstractChart.java	Fri Nov 20 13:51:14 2009 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/chart/AbstractChart.java	Fri Nov 20 14:03:31 2009 +0000
@@ -1,8 +1,6 @@
 package de.intevation.gnv.chart;
 
 import java.util.Collection;
-import java.util.Iterator;
-import java.util.Date;
 import java.util.Locale;
 import java.awt.Transparency;
 import java.awt.image.BufferedImage;
@@ -11,7 +9,6 @@
 
 import org.jfree.chart.JFreeChart;
 import org.jfree.chart.ChartTheme;
-import org.jfree.data.time.TimeSeriesCollection;
 
 /**
  * @author Ingo Weinzierl <ingo.weinzierl@intevation.de>
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/chart/AbstractXYLineChart.java	Fri Nov 20 13:51:14 2009 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/chart/AbstractXYLineChart.java	Fri Nov 20 14:03:31 2009 +0000
@@ -3,12 +3,10 @@
 import java.awt.Color;
 import java.util.Collection;
 import java.util.Iterator;
-import java.util.Locale;
 
 import org.apache.log4j.Logger;
 
 import org.jfree.chart.JFreeChart;
-import org.jfree.chart.ChartTheme;
 import org.jfree.chart.ChartFactory;
 import org.jfree.chart.axis.NumberAxis;
 import org.jfree.chart.axis.NumberTickUnit;
@@ -17,9 +15,6 @@
 import org.jfree.chart.plot.XYPlot;
 import org.jfree.chart.renderer.xy.StandardXYItemRenderer;
 import org.jfree.data.general.Series;
-import org.jfree.data.time.TimeSeriesCollection;
-import org.jfree.data.time.Minute;
-import org.jfree.data.xy.XYDataset;
 
 import de.intevation.gnv.geobackend.base.Result;
 import de.intevation.gnv.transition.describedata.KeyValueDescibeData;
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/chart/VerticalProfileChart.java	Fri Nov 20 13:51:14 2009 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/chart/VerticalProfileChart.java	Fri Nov 20 14:03:31 2009 +0000
@@ -9,7 +9,6 @@
 import org.jfree.chart.ChartTheme;
 import org.jfree.data.xy.XYSeries;
 import org.jfree.data.general.Series;
-import org.jfree.data.xy.XYDataset;
 import org.jfree.data.xy.XYSeriesCollection;
 import org.jfree.chart.plot.XYPlot;
 import org.jfree.chart.plot.PlotOrientation;
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/exports/DefaultExport.java	Fri Nov 20 13:51:14 2009 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/exports/DefaultExport.java	Fri Nov 20 14:03:31 2009 +0000
@@ -4,7 +4,6 @@
 
 import au.com.bytecode.opencsv.CSVWriter;
 
-import java.util.List;
 import java.util.Iterator;
 import java.util.Collection;
 
@@ -16,7 +15,6 @@
 import de.intevation.gnv.exports.Export.Profile;
 
 import de.intevation.gnv.geobackend.base.Result;
-import de.intevation.gnv.geobackend.base.ResultDescriptor;
 
 import de.intevation.gnv.transition.exception.TransitionException;
 
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/exports/DefaultProfile.java	Fri Nov 20 13:51:14 2009 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/exports/DefaultProfile.java	Fri Nov 20 14:03:31 2009 +0000
@@ -1,7 +1,5 @@
 package de.intevation.gnv.exports;
 
-import de.intevation.gnv.geobackend.base.Result;
-
 
 /**
  * @author Sascha L. Teichmann (sascha.teichmann@intevation.de)
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/exports/Export.java	Fri Nov 20 13:51:14 2009 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/exports/Export.java	Fri Nov 20 14:03:31 2009 +0000
@@ -1,7 +1,6 @@
 package de.intevation.gnv.exports;
 
 import java.util.Collection;
-import java.util.List;
 
 import java.io.OutputStream;
 import java.io.IOException;
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/exports/ShapeDataCollector.java	Fri Nov 20 13:51:14 2009 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/exports/ShapeDataCollector.java	Fri Nov 20 14:03:31 2009 +0000
@@ -1,8 +1,5 @@
 package de.intevation.gnv.exports;
 
-import java.util.List;
-import java.util.ArrayList;
-
 import org.apache.log4j.Logger;
 
 import com.vividsolutions.jts.io.WKTReader;
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/exports/SimpleOdvDataCollector.java	Fri Nov 20 13:51:14 2009 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/exports/SimpleOdvDataCollector.java	Fri Nov 20 14:03:31 2009 +0000
@@ -1,14 +1,11 @@
 package de.intevation.gnv.exports;
 
-import java.util.List;
-import java.util.ArrayList;
 import java.util.Date;
 import java.text.DateFormat;
 import java.text.SimpleDateFormat;
 
 import org.apache.log4j.Logger;
 
-import com.vividsolutions.jts.io.WKTReader;
 import com.vividsolutions.jts.io.ParseException;
 import com.vividsolutions.jts.geom.Point;
 
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/transition/profile/horizontal/HorizontalProfileOutputTransition.java	Fri Nov 20 13:51:14 2009 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/transition/profile/horizontal/HorizontalProfileOutputTransition.java	Fri Nov 20 14:03:31 2009 +0000
@@ -3,37 +3,22 @@
  */
 package de.intevation.gnv.transition.profile.horizontal;
 
-import java.awt.Dimension;
 import java.io.IOException;
 import java.io.OutputStream;
-import java.io.OutputStreamWriter;
 import java.io.UnsupportedEncodingException;
 import java.util.Collection;
-import java.util.Iterator;
 import java.util.Locale;
 
-import javax.imageio.ImageIO;
-
 import org.apache.log4j.Logger;
 
 import org.jfree.chart.ChartTheme;
 
-import au.com.bytecode.opencsv.CSVWriter;
-
-import com.vividsolutions.jts.geom.Point;
-import com.vividsolutions.jts.io.ParseException;
-import com.vividsolutions.jts.io.WKTReader;
-
 import de.intevation.gnv.chart.Chart;
 import de.intevation.gnv.chart.ChartLabels;
-import de.intevation.gnv.chart.ChartStyle;
 import de.intevation.gnv.chart.HorizontalProfileChart;
-import de.intevation.gnv.chart.HorizontalProfileChartFactory;
-import de.intevation.gnv.chart.exception.TechnicalChartException;
 import de.intevation.gnv.geobackend.base.Result;
 import de.intevation.gnv.statistics.HorizontalProfileStatistics;
 import de.intevation.gnv.statistics.Statistics;
-import de.intevation.gnv.transition.describedata.KeyValueDescibeData;
 import de.intevation.gnv.transition.exception.TransitionException;
 import de.intevation.gnv.transition.timeseries.TimeSeriesOutputTransition;
 
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/transition/profile/horizontalcrosssection/HorizontalCrossSectionMeshOutputTransition.java	Fri Nov 20 13:51:14 2009 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/transition/profile/horizontalcrosssection/HorizontalCrossSectionMeshOutputTransition.java	Fri Nov 20 14:03:31 2009 +0000
@@ -18,12 +18,8 @@
 import au.com.bytecode.opencsv.CSVWriter;
 import de.intevation.gnv.chart.Chart;
 import de.intevation.gnv.chart.ChartLabels;
-import de.intevation.gnv.chart.ChartStyle;
-import de.intevation.gnv.chart.HorizontalCrossSectionChartFactory;
-import de.intevation.gnv.chart.exception.TechnicalChartException;
 import de.intevation.gnv.geobackend.base.Result;
 import de.intevation.gnv.statistics.Statistics;
-import de.intevation.gnv.transition.describedata.KeyValueDescibeData;
 import de.intevation.gnv.transition.exception.TransitionException;
 import de.intevation.gnv.transition.timeseries.TimeSeriesOutputTransition;
 
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/transition/profile/vertical/VerticalProfileOutputTransition.java	Fri Nov 20 13:51:14 2009 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/transition/profile/vertical/VerticalProfileOutputTransition.java	Fri Nov 20 14:03:31 2009 +0000
@@ -3,28 +3,18 @@
  */
 package de.intevation.gnv.transition.profile.vertical;
 
-import java.awt.Dimension;
-
-import java.io.IOException;
-import java.io.OutputStream;
 import java.util.Collection;
 import java.util.Locale;
 
-import javax.imageio.ImageIO;
-
 import org.apache.log4j.Logger;
 
 import org.jfree.chart.ChartTheme;
 
 import de.intevation.gnv.chart.Chart;
 import de.intevation.gnv.chart.ChartLabels;
-import de.intevation.gnv.chart.ChartStyle;
 import de.intevation.gnv.chart.VerticalProfileChart;
-import de.intevation.gnv.chart.VerticalProfileChartFactory;
-import de.intevation.gnv.chart.exception.TechnicalChartException;
 import de.intevation.gnv.statistics.Statistics;
 import de.intevation.gnv.statistics.VerticalProfileStatistics;
-import de.intevation.gnv.transition.describedata.KeyValueDescibeData;
 import de.intevation.gnv.transition.timeseries.TimeSeriesOutputTransition;
 
 /**
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java	Fri Nov 20 13:51:14 2009 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java	Fri Nov 20 14:03:31 2009 +0000
@@ -38,13 +38,13 @@
 import de.intevation.artifacts.PreferredLocale;
 import de.intevation.gnv.artifacts.ressource.RessourceFactory;
 import de.intevation.gnv.chart.Chart;
-import de.intevation.gnv.chart.ChartFactory;
 import de.intevation.gnv.chart.ChartLabels;
 import de.intevation.gnv.chart.ChartStyle;
-import de.intevation.gnv.chart.AbstractXYLineChart;
 import de.intevation.gnv.chart.TimeSeriesChart;
 import de.intevation.gnv.chart.exception.TechnicalChartException;
 import de.intevation.gnv.exports.DefaultExport;
+import de.intevation.gnv.exports.DefaultDataCollector;
+import de.intevation.gnv.exports.SimpleOdvDataCollector;
 import de.intevation.gnv.exports.DefaultProfile;
 import de.intevation.gnv.exports.Export.Profile;
 import de.intevation.gnv.geobackend.base.Result;
@@ -60,11 +60,6 @@
 import de.intevation.gnv.transition.describedata.KeyValueDescibeData;
 import de.intevation.gnv.transition.describedata.NamedCollection;
 import de.intevation.gnv.transition.exception.TransitionException;
-import de.intevation.gnv.exports.DefaultExport;
-import de.intevation.gnv.exports.DefaultDataCollector;
-import de.intevation.gnv.exports.SimpleOdvDataCollector;
-import de.intevation.gnv.exports.DefaultProfile;
-import de.intevation.gnv.exports.Export.Profile;
 import de.intevation.gnv.utils.ArtifactXMLUtilities;
 
 

http://dive4elements.wald.intevation.org