[MXD2map-commits] r262:2cb2f26d0d54

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Aug 16 17:19:33 CEST 2011


details:   http://hg.intevation.org/geospatial/mxd2map/rev/2cb2f26d0d54

changeset: 262:2cb2f26d0d54

user:      raimund renkert <raimund.renkert at intevation.de>

date:      Tue Aug 16 17:15:35 2011 +0200

description:
Removed needless imports.


diffstat:

 ChangeLog                                                        |  14 ++++++++++
 src/java/de/intevation/mxd/reader/GroupLayerReader.java          |   2 -
 src/java/de/intevation/mxd/reader/IRendererReader.java           |   2 -
 src/java/de/intevation/mxd/reader/ISymbolReader.java             |   2 -
 src/java/de/intevation/mxd/reader/LabelEngineReader.java         |   8 +-----
 src/java/de/intevation/mxd/reader/PictureFillSymbolReader.java   |   2 -
 src/java/de/intevation/mxd/reader/PictureLineSymbolReader.java   |   2 -
 src/java/de/intevation/mxd/reader/PictureMarkerSymbolReader.java |   2 -
 src/java/de/intevation/mxd/reader/TextSymbolReader.java          |   1 -
 src/java/de/intevation/mxd/writer/FillStyleWriter.java           |   6 ----
 src/java/de/intevation/mxd/writer/SymbolWriter.java              |   2 -
 11 files changed, 15 insertions(+), 28 deletions(-)

diffs (196 lines):

diff -r efab4d62ad3c -r 2cb2f26d0d54 ChangeLog
--- a/ChangeLog	Tue Aug 16 16:56:26 2011 +0200
+++ b/ChangeLog	Tue Aug 16 17:15:35 2011 +0200
@@ -1,3 +1,17 @@
+2011-08-16  Raimund Renkert  <raimund.renkert at intevation.de>
+
+	* src/java/de/intevation/mxd/reader/GroupLayerReader.java,
+	  src/java/de/intevation/mxd/reader/IRendererReader.java,
+	  src/java/de/intevation/mxd/reader/ISymbolReader.java,
+	  src/java/de/intevation/mxd/reader/LabelEngineReader.java,
+	  src/java/de/intevation/mxd/reader/PictureFillSymbolReader.java,
+	  src/java/de/intevation/mxd/reader/PictureLineSymbolReader.java,
+	  src/java/de/intevation/mxd/reader/PictureMarkerSymbolReader.java,
+	  src/java/de/intevation/mxd/reader/TextSymbolReader.java,
+	  src/java/de/intevation/mxd/writer/FillStyleWriter.java,
+	  src/java/de/intevation/mxd/writer/SymbolWriter.java:
+	  Removed needless imports.
+
 2011-08-16  Raimund Renkert  <raimund.renkert at intevation.de>
 
 	* src/java/de/intevation/mxd/writer/MapScript.java:
diff -r efab4d62ad3c -r 2cb2f26d0d54 src/java/de/intevation/mxd/reader/GroupLayerReader.java
--- a/src/java/de/intevation/mxd/reader/GroupLayerReader.java	Tue Aug 16 16:56:26 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/GroupLayerReader.java	Tue Aug 16 17:15:35 2011 +0200
@@ -32,10 +32,8 @@
 import com.esri.arcgis.carto.UniqueValueRenderer;
 import com.esri.arcgis.carto.GroupLayer;
 
-import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 
-import de.intevation.mxd.ArcGISInitializer;
 import de.intevation.mxd.utils.MapToXMLUtils;
 
 
diff -r efab4d62ad3c -r 2cb2f26d0d54 src/java/de/intevation/mxd/reader/IRendererReader.java
--- a/src/java/de/intevation/mxd/reader/IRendererReader.java	Tue Aug 16 16:56:26 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/IRendererReader.java	Tue Aug 16 17:15:35 2011 +0200
@@ -19,8 +19,6 @@
 
 package de.intevation.mxd.reader;
 
-import java.lang.Exception;
-
 import org.w3c.dom.Element;
 
 import de.intevation.mxd.utils.MapToXMLUtils;
diff -r efab4d62ad3c -r 2cb2f26d0d54 src/java/de/intevation/mxd/reader/ISymbolReader.java
--- a/src/java/de/intevation/mxd/reader/ISymbolReader.java	Tue Aug 16 16:56:26 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/ISymbolReader.java	Tue Aug 16 17:15:35 2011 +0200
@@ -19,8 +19,6 @@
 
 package de.intevation.mxd.reader;
 
-import java.lang.Exception;
-
 import org.w3c.dom.Element;
 
 import de.intevation.mxd.utils.MapToXMLUtils;
diff -r efab4d62ad3c -r 2cb2f26d0d54 src/java/de/intevation/mxd/reader/LabelEngineReader.java
--- a/src/java/de/intevation/mxd/reader/LabelEngineReader.java	Tue Aug 16 16:56:26 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/LabelEngineReader.java	Tue Aug 16 17:15:35 2011 +0200
@@ -21,14 +21,8 @@
 
 import org.apache.log4j.Logger;
 
-import com.esri.arcgis.carto.ILayer;
-import com.esri.arcgis.carto.FeatureLayer;
-import com.esri.arcgis.carto.AnnotateLayerPropertiesCollection;
 import com.esri.arcgis.carto.IAnnotateLayerProperties;
 import com.esri.arcgis.carto.LabelEngineLayerProperties;
-import com.esri.arcgis.geodatabase.FeatureClassName;
-import com.esri.arcgis.system.IName;
-import com.esri.arcgis.system.IPropertySet;
 import com.esri.arcgis.display.ITextSymbol;
 import com.esri.arcgis.display.TextSymbol;
 
@@ -36,7 +30,7 @@
 
 import de.intevation.mxd.utils.MapToXMLUtils;
 import java.io.IOException;
-import com.esri.arcgis.interop.AutomationException;
+
 /**
  * Reads Label information.
  *
diff -r efab4d62ad3c -r 2cb2f26d0d54 src/java/de/intevation/mxd/reader/PictureFillSymbolReader.java
--- a/src/java/de/intevation/mxd/reader/PictureFillSymbolReader.java	Tue Aug 16 16:56:26 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/PictureFillSymbolReader.java	Tue Aug 16 17:15:35 2011 +0200
@@ -29,13 +29,11 @@
 import com.esri.arcgis.display.IFillSymbol;
 import com.esri.arcgis.display.PictureFillSymbol;
 import com.esri.arcgis.support.ms.stdole.Picture;
-import com.esri.arcgis.display.IRgbColor;
 import com.esri.arcgis.display.RgbColor;
 
 import org.w3c.dom.Element;
 import java.io.IOException;
 import java.awt.image.BufferedImage;
-import java.awt.image.DataBufferByte;
 import javax.imageio.ImageIO;
 import java.io.ByteArrayOutputStream;
 
diff -r efab4d62ad3c -r 2cb2f26d0d54 src/java/de/intevation/mxd/reader/PictureLineSymbolReader.java
--- a/src/java/de/intevation/mxd/reader/PictureLineSymbolReader.java	Tue Aug 16 16:56:26 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/PictureLineSymbolReader.java	Tue Aug 16 17:15:35 2011 +0200
@@ -28,13 +28,11 @@
 import com.esri.arcgis.display.ILineSymbol;
 import com.esri.arcgis.display.PictureLineSymbol;
 import com.esri.arcgis.support.ms.stdole.Picture;
-import com.esri.arcgis.display.IRgbColor;
 import com.esri.arcgis.display.RgbColor;
 
 import org.w3c.dom.Element;
 import java.io.IOException;
 import java.awt.image.BufferedImage;
-import java.awt.image.DataBufferByte;
 import javax.imageio.ImageIO;
 import java.io.ByteArrayOutputStream;
 
diff -r efab4d62ad3c -r 2cb2f26d0d54 src/java/de/intevation/mxd/reader/PictureMarkerSymbolReader.java
--- a/src/java/de/intevation/mxd/reader/PictureMarkerSymbolReader.java	Tue Aug 16 16:56:26 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/PictureMarkerSymbolReader.java	Tue Aug 16 17:15:35 2011 +0200
@@ -24,7 +24,6 @@
 import com.esri.arcgis.display.ISymbol;
 import com.esri.arcgis.display.IMarkerSymbol;
 import com.esri.arcgis.display.PictureMarkerSymbol;
-import com.esri.arcgis.carto.PictureElement;
 import com.esri.arcgis.support.ms.stdole.Picture;
 import com.esri.arcgis.display.RgbColor;
 
@@ -32,7 +31,6 @@
 import java.io.IOException;
 import java.awt.Image;
 import java.awt.image.BufferedImage;
-import java.awt.image.DataBufferByte;
 import javax.imageio.ImageIO;
 import java.io.ByteArrayOutputStream;
 import java.awt.Color;
diff -r efab4d62ad3c -r 2cb2f26d0d54 src/java/de/intevation/mxd/reader/TextSymbolReader.java
--- a/src/java/de/intevation/mxd/reader/TextSymbolReader.java	Tue Aug 16 16:56:26 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/TextSymbolReader.java	Tue Aug 16 17:15:35 2011 +0200
@@ -23,7 +23,6 @@
 
 import org.apache.log4j.Logger;
 
-import com.esri.arcgis.display.ISymbol;
 import com.esri.arcgis.display.ITextSymbol;
 import com.esri.arcgis.display.TextSymbol;
 import com.esri.arcgis.display.IRgbColor;
diff -r efab4d62ad3c -r 2cb2f26d0d54 src/java/de/intevation/mxd/writer/FillStyleWriter.java
--- a/src/java/de/intevation/mxd/writer/FillStyleWriter.java	Tue Aug 16 16:56:26 2011 +0200
+++ b/src/java/de/intevation/mxd/writer/FillStyleWriter.java	Tue Aug 16 17:15:35 2011 +0200
@@ -19,7 +19,6 @@
 
 package de.intevation.mxd.writer;
 
-import java.io.IOException;
 import java.awt.Color;
 import org.apache.log4j.Logger;
 
@@ -27,15 +26,10 @@
 import org.w3c.dom.NodeList;
 
 import edu.umn.gis.mapscript.mapObj;
-import edu.umn.gis.mapscript.layerObj;
 import edu.umn.gis.mapscript.classObj;
 import edu.umn.gis.mapscript.styleObj;
 import edu.umn.gis.mapscript.colorObj;
-import edu.umn.gis.mapscript.symbolObj;
 import edu.umn.gis.mapscript.symbolSetObj;
-import edu.umn.gis.mapscript.lineObj;
-import edu.umn.gis.mapscript.pointObj;
-
 
 /**
  * The interface to the mapfile writer.
diff -r efab4d62ad3c -r 2cb2f26d0d54 src/java/de/intevation/mxd/writer/SymbolWriter.java
--- a/src/java/de/intevation/mxd/writer/SymbolWriter.java	Tue Aug 16 16:56:26 2011 +0200
+++ b/src/java/de/intevation/mxd/writer/SymbolWriter.java	Tue Aug 16 17:15:35 2011 +0200
@@ -25,7 +25,6 @@
 
 import edu.umn.gis.mapscript.mapObj;
 import edu.umn.gis.mapscript.classObj;
-import edu.umn.gis.mapscript.styleObj;
 import edu.umn.gis.mapscript.symbolObj;
 import edu.umn.gis.mapscript.symbolSetObj;
 import edu.umn.gis.mapscript.lineObj;
@@ -37,7 +36,6 @@
 import java.io.File;
 import java.awt.Image;
 import java.awt.image.BufferedImage;
-import java.awt.image.DataBufferByte;
 import java.awt.image.FilteredImageSource; 
 import java.awt.image.ImageFilter; 
 import java.awt.image.ImageProducer; 


More information about the MXD2map-commits mailing list