Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/server/SetCollectionNameServiceImpl.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 |
---|---|
24 */ | 24 */ |
25 public class SetCollectionNameServiceImpl | 25 public class SetCollectionNameServiceImpl |
26 extends DoCollectionAction | 26 extends DoCollectionAction |
27 implements SetCollectionNameService | 27 implements SetCollectionNameService |
28 { | 28 { |
29 private static final Logger logger = | 29 private static final Logger log = |
30 Logger.getLogger(SetCollectionNameServiceImpl.class); | 30 Logger.getLogger(SetCollectionNameServiceImpl.class); |
31 | 31 |
32 | 32 |
33 public void setName(Collection c) | 33 public void setName(Collection c) |
34 throws ServerException | 34 throws ServerException |
35 { | 35 { |
36 logger.info("Set name of collection: " + c.identifier()); | 36 log.info("Set name of collection: " + c.identifier()); |
37 | 37 |
38 String url = getServletContext().getInitParameter("server-url"); | 38 String url = getServletContext().getInitParameter("server-url"); |
39 | 39 |
40 String name = c.getName(); | 40 String name = c.getName(); |
41 Document set = ClientProtocolUtils.newSetCollectionNameDocument(name); | 41 Document set = ClientProtocolUtils.newSetCollectionNameDocument(name); |