Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/server/RemoveArtifactServiceImpl.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 | 5e38e2924c07 |
comparison
equal
deleted
inserted
replaced
8202:e4606eae8ea5 | 8203:238fc722f87a |
---|---|
20 */ | 20 */ |
21 public class RemoveArtifactServiceImpl | 21 public class RemoveArtifactServiceImpl |
22 extends DescribeCollectionServiceImpl | 22 extends DescribeCollectionServiceImpl |
23 implements RemoveArtifactService | 23 implements RemoveArtifactService |
24 { | 24 { |
25 private static final Logger logger = | 25 private static final Logger log = |
26 Logger.getLogger(RemoveArtifactServiceImpl.class); | 26 Logger.getLogger(RemoveArtifactServiceImpl.class); |
27 | 27 |
28 | 28 |
29 public Collection remove( | 29 public Collection remove( |
30 Collection collection, | 30 Collection collection, |
31 String artifactId, | 31 String artifactId, |
32 String locale) | 32 String locale) |
33 throws ServerException | 33 throws ServerException |
34 { | 34 { |
35 logger.info("RemoveArtifactServiceImpl.remove"); | 35 log.info("RemoveArtifactServiceImpl.remove"); |
36 | 36 |
37 String url = getServletContext().getInitParameter("server-url"); | 37 String url = getServletContext().getInitParameter("server-url"); |
38 | 38 |
39 return CollectionHelper.removeArtifact(collection, artifactId, url, locale); | 39 return CollectionHelper.removeArtifact(collection, artifactId, url, locale); |
40 } | 40 } |