comparison gwt-client/src/main/java/org/dive4elements/river/client/server/SetCollectionTTLServiceImpl.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 SetCollectionTTLServiceImpl 25 public class SetCollectionTTLServiceImpl
26 extends DoCollectionAction 26 extends DoCollectionAction
27 implements SetCollectionTTLService 27 implements SetCollectionTTLService
28 { 28 {
29 private static final Logger logger = 29 private static final Logger log =
30 Logger.getLogger(SetCollectionTTLServiceImpl.class); 30 Logger.getLogger(SetCollectionTTLServiceImpl.class);
31 31
32 32
33 public static final String XPATH_RESULT = "/art:result/text()"; 33 public static final String XPATH_RESULT = "/art:result/text()";
34 public static final String OPERATION_FAILURE = "FAILED"; 34 public static final String OPERATION_FAILURE = "FAILED";
35 35
36 public void setTTL(Collection c) 36 public void setTTL(Collection c)
37 throws ServerException 37 throws ServerException
38 { 38 {
39 logger.info("Set ttl of collection: " + c.identifier()); 39 log.info("Set ttl of collection: " + c.identifier());
40 40
41 String url = getServletContext().getInitParameter("server-url"); 41 String url = getServletContext().getInitParameter("server-url");
42 42
43 long ttl = c.getTTL(); 43 long ttl = c.getTTL();
44 String value = null; 44 String value = null;

http://dive4elements.wald.intevation.org