diff flys-artifacts/src/main/java/de/intevation/flys/artifacts/MapArtifact.java @ 4049:8e66293c5369

Removed dead code
author Sascha L. Teichmann <teichmann@intevation.de>
date Sat, 06 Oct 2012 11:57:10 +0200
parents 2fdbe78a8fc2
children a2735a4bf75e
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/MapArtifact.java	Sat Oct 06 11:14:23 2012 +0200
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/MapArtifact.java	Sat Oct 06 11:57:10 2012 +0200
@@ -11,9 +11,7 @@
 import de.intevation.artifacts.CallMeta;
 import de.intevation.artifacts.CallContext;
 
-import de.intevation.artifacts.common.utils.XMLUtils;
 import de.intevation.artifacts.common.utils.XMLUtils.ElementCreator;
-import de.intevation.artifacts.common.ArtifactNamespaceContext;
 
 import de.intevation.artifactdatabase.ProtocolUtils;
 import de.intevation.artifactdatabase.state.Facet;
@@ -47,8 +45,6 @@
         this.identifier = identifier;
         name = "new_map";
 
-        FLYSContext flysContext = FLYSUtils.getFlysContext(context);
-
         List<State> states = getStates(context);
 
         setCurrentState(states.get(0));
@@ -84,11 +80,6 @@
     {
         List<String> stateIds = getPreviousStateIds();
 
-        XMLUtils.ElementCreator creator = new XMLUtils.ElementCreator(
-            doc,
-            ArtifactNamespaceContext.NAMESPACE_URI,
-            ArtifactNamespaceContext.NAMESPACE_PREFIX);
-
         FLYSContext flysContext = FLYSUtils.getFlysContext(context);
         StateEngine engine      = (StateEngine) flysContext.get(
             FLYSContext.STATE_ENGINE_KEY);

http://dive4elements.wald.intevation.org