[PATCH 06 of 15] Removed name and getter for name (Moved to DefaultArtifact)

Wald Commits scm-commit at wald.intevation.org
Wed Apr 30 15:30:09 CEST 2014


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1398863802 -7200
# Node ID 2abcd7df4e5d39b64d801d713af8d69962841f40
# Parent  2e45ff3f249b4bb33d98e5b6a132d83762fe4ece
Removed name and getter for name (Moved to DefaultArtifact).

diff -r 2e45ff3f249b -r 2abcd7df4e5d artifacts/src/main/java/org/dive4elements/river/artifacts/D4EArtifact.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/D4EArtifact.java	Wed Apr 30 15:15:35 2014 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/D4EArtifact.java	Wed Apr 30 15:16:42 2014 +0200
@@ -103,9 +103,6 @@
     /** The identifiers of previous states on a stack. */
     protected List<String> previousStateIds;
 
-    /** The name of the artifact. */
-    protected String name;
-
     /** The data that have been inserted into this artifact. */
     private Map<String, StateData> data;
 
@@ -175,16 +172,6 @@
 
 
     /**
-     * Returns the name of the concrete artifact.
-     *
-     * @return the name of the concrete artifact.
-     */
-    public String getName() {
-        return name;
-    }
-
-
-    /**
      * Initialize the artifact and insert new data if <code>data</code> contains
      * information necessary for this artifact.
      *


More information about the Dive4Elements-commits mailing list