# HG changeset patch # User Sascha L. Teichmann # Date 1363279339 -3600 # Node ID a1cb9a734cc5673d97cd2f3b6eaee9ad2805c7cc # Parent 2c1045a1e3fe181c681690f792995509bddcaac0 Cleaned up imports.# diff -r 2c1045a1e3fe -r a1cb9a734cc5 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/map/HWSContainer.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/map/HWSContainer.java Thu Mar 14 17:25:00 2013 +0100 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/map/HWSContainer.java Thu Mar 14 17:42:19 2013 +0100 @@ -4,8 +4,6 @@ import java.util.List; import org.apache.log4j.Logger; -import org.hibernate.mapping.Array; - public class HWSContainer { diff -r 2c1045a1e3fe -r a1cb9a734cc5 flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java Thu Mar 14 17:25:00 2013 +0100 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java Thu Mar 14 17:42:19 2013 +0100 @@ -6,10 +6,13 @@ import java.io.IOException; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.apache.log4j.Logger; +import org.apache.velocity.Template; + import org.geotools.feature.FeatureCollection; import org.geotools.feature.FeatureCollections; @@ -45,6 +48,7 @@ import de.intevation.flys.artifacts.model.FacetTypes; import de.intevation.flys.artifacts.model.LayerInfo; import de.intevation.flys.artifacts.model.WQKms; + import de.intevation.flys.artifacts.model.map.HWS; import de.intevation.flys.artifacts.model.map.HWSContainer; import de.intevation.flys.artifacts.model.map.HWSFactory; @@ -71,26 +75,6 @@ import de.intevation.flys.wsplgen.JobObserver; import de.intevation.flys.wsplgen.Scheduler; -import java.io.File; -import java.io.FileNotFoundException; -import java.io.FileOutputStream; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; - -import javax.naming.Context; - -import org.apache.log4j.Logger; -import org.apache.velocity.Template; -import org.geotools.feature.FeatureCollection; -import org.geotools.feature.FeatureCollections; -import org.geotools.feature.simple.SimpleFeatureBuilder; -import org.hibernate.HibernateException; -import org.opengis.feature.simple.SimpleFeature; -import org.opengis.feature.simple.SimpleFeatureType; - - public class FloodMapState extends DefaultState implements FacetTypes diff -r 2c1045a1e3fe -r a1cb9a734cc5 flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/HWSBarriersState.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/HWSBarriersState.java Thu Mar 14 17:25:00 2013 +0100 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/HWSBarriersState.java Thu Mar 14 17:42:19 2013 +0100 @@ -3,40 +3,50 @@ import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; + import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.apache.log4j.Logger; + import org.apache.velocity.Template; + import org.geotools.data.shapefile.ShapefileDataStore; + import org.geotools.feature.FeatureCollection; import org.geotools.feature.FeatureCollections; + import org.opengis.feature.simple.SimpleFeatureType; + import org.opengis.feature.type.GeometryDescriptor; + import org.w3c.dom.Element; -import de.intevation.artifactdatabase.ProtocolUtils; import de.intevation.artifactdatabase.state.Facet; + import de.intevation.artifacts.Artifact; import de.intevation.artifacts.CallContext; -import de.intevation.artifacts.CallMeta; + import de.intevation.artifacts.common.utils.FileTools; -import de.intevation.artifacts.common.utils.XMLUtils; + import de.intevation.artifacts.common.utils.XMLUtils.ElementCreator; + import de.intevation.flys.artifacts.FLYSArtifact; + import de.intevation.flys.artifacts.access.MapAccess; + import de.intevation.flys.artifacts.model.LayerInfo; + import de.intevation.flys.artifacts.model.map.HWS; import de.intevation.flys.artifacts.model.map.HWSContainer; import de.intevation.flys.artifacts.model.map.HWSFactory; -import de.intevation.flys.artifacts.resources.Resources; + import de.intevation.flys.utils.ArtifactMapfileGenerator; import de.intevation.flys.utils.FLYSUtils; import de.intevation.flys.utils.GeometryUtils; import de.intevation.flys.utils.MapfileGenerator; - public class HWSBarriersState extends DefaultState { @@ -346,4 +356,4 @@ } } -// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : \ No newline at end of file +// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :