[PATCH] Use the real artifact name

Wald Commits scm-commit at wald.intevation.org
Thu Sep 25 11:04:37 CEST 2014


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1411635874 -7200
# Node ID 3d9d6d61d0c6658bd249537f64e752629eceb66a
# Parent  107c0f48478e3b100d0110e963b7309826e6c4f3
Use the real artifact name.

diff -r 107c0f48478e -r 3d9d6d61d0c6 artifact-database/src/main/java/org/dive4elements/artifactdatabase/DefaultArtifactFactory.java
--- a/artifact-database/src/main/java/org/dive4elements/artifactdatabase/DefaultArtifactFactory.java	Wed Sep 17 19:46:42 2014 +0200
+++ b/artifact-database/src/main/java/org/dive4elements/artifactdatabase/DefaultArtifactFactory.java	Thu Sep 25 11:04:34 2014 +0200
@@ -145,7 +145,7 @@
             String oldName = artifact.getName();
 
             if (oldName == null || oldName.length() == 0) {
-                artifact.setName(artifactName);
+                artifact.setName(name);
             }
             artifact.setup(
                 identifier,


More information about the Dive4Elements-commits mailing list