comparison artifacts/src/main/java/org/dive4elements/river/collections/CollectionDescriptionHelper.java @ 8202:e4606eae8ea5

sed src/**/*.java 's/logger/log/g'
author Sascha L. Teichmann <teichmann@intevation.de>
date Fri, 05 Sep 2014 12:58:17 +0200
parents af13ceeba52a
children 0a5239a1e46e
comparison
equal deleted inserted replaced
8201:4b8c5a08de04 8202:e4606eae8ea5
28 import org.dive4elements.artifacts.common.utils.XMLUtils.ElementCreator; 28 import org.dive4elements.artifacts.common.utils.XMLUtils.ElementCreator;
29 29
30 30
31 public class CollectionDescriptionHelper { 31 public class CollectionDescriptionHelper {
32 32
33 private static final Logger logger = 33 private static final Logger log =
34 Logger.getLogger(CollectionDescriptionHelper.class); 34 Logger.getLogger(CollectionDescriptionHelper.class);
35 35
36 36
37 public static final String XPATH_ARTIFACT_STATE_DATA = 37 public static final String XPATH_ARTIFACT_STATE_DATA =
38 "/art:result/art:ui/art:static/art:state/art:data"; 38 "/art:result/art:ui/art:static/art:state/art:data";
135 if (e != null) { 135 if (e != null) {
136 artifactsEl.appendChild(e); 136 artifactsEl.appendChild(e);
137 } 137 }
138 } 138 }
139 catch (ArtifactDatabaseException dbe) { 139 catch (ArtifactDatabaseException dbe) {
140 logger.warn(dbe, dbe); 140 log.warn(dbe, dbe);
141 } 141 }
142 } 142 }
143 143
144 root.appendChild(artifactsEl); 144 root.appendChild(artifactsEl);
145 } 145 }
151 * @param uuid uuid of the artifact. 151 * @param uuid uuid of the artifact.
152 */ 152 */
153 protected Element buildArtifactNode(String uuid) 153 protected Element buildArtifactNode(String uuid)
154 throws ArtifactDatabaseException 154 throws ArtifactDatabaseException
155 { 155 {
156 logger.debug("Append artifact '" + uuid + "' to collection description"); 156 log.debug("Append artifact '" + uuid + "' to collection description");
157 157
158 // TODO 158 // TODO
159 String hash = "MYHASH"; 159 String hash = "MYHASH";
160 160
161 Element ci = ec.create("artifact"); 161 Element ci = ec.create("artifact");

http://dive4elements.wald.intevation.org