Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/server/AddArtifactServiceImpl.java @ 8203:238fc722f87a
sed 's/logger/log/g' src/**/*.java
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Fri, 05 Sep 2014 13:19:22 +0200 |
parents | ea9eef426962 |
children | 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8202:e4606eae8ea5 | 8203:238fc722f87a |
---|---|
21 */ | 21 */ |
22 public class AddArtifactServiceImpl | 22 public class AddArtifactServiceImpl |
23 extends DescribeCollectionServiceImpl | 23 extends DescribeCollectionServiceImpl |
24 implements AddArtifactService | 24 implements AddArtifactService |
25 { | 25 { |
26 private static final Logger logger = | 26 private static final Logger log = |
27 Logger.getLogger(AddArtifactService.class); | 27 Logger.getLogger(AddArtifactService.class); |
28 | 28 |
29 | 29 |
30 public Collection add( | 30 public Collection add( |
31 Collection collection, | 31 Collection collection, |
32 Artifact artifact, | 32 Artifact artifact, |
33 String locale) | 33 String locale) |
34 throws ServerException | 34 throws ServerException |
35 { | 35 { |
36 logger.info("AddArtifactServiceImpl.add"); | 36 log.info("AddArtifactServiceImpl.add"); |
37 String url = getServletContext().getInitParameter("server-url"); | 37 String url = getServletContext().getInitParameter("server-url"); |
38 | 38 |
39 return CollectionHelper.addArtifact(collection, artifact, url, locale); | 39 return CollectionHelper.addArtifact(collection, artifact, url, locale); |
40 } | 40 } |
41 } | 41 } |