Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/server/RiverServiceImpl.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 | 350a7cf09fbc |
children | 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8202:e4606eae8ea5 | 8203:238fc722f87a |
---|---|
38 */ | 38 */ |
39 public class RiverServiceImpl | 39 public class RiverServiceImpl |
40 extends RemoteServiceServlet | 40 extends RemoteServiceServlet |
41 implements RiverService | 41 implements RiverService |
42 { | 42 { |
43 /** Private logger. */ | 43 /** Private log. */ |
44 private static final Logger logger = | 44 private static final Logger log = |
45 Logger.getLogger(RiverServiceImpl.class); | 45 Logger.getLogger(RiverServiceImpl.class); |
46 | 46 |
47 /** The XPath string that points to the rivers in the resulting document.*/ | 47 /** The XPath string that points to the rivers in the resulting document.*/ |
48 public static final String XPATH_RIVERS = "/art:rivers/art:river"; | 48 public static final String XPATH_RIVERS = "/art:rivers/art:river"; |
49 | 49 |
103 } | 103 } |
104 | 104 |
105 return theRivers.toArray(new River[theRivers.size()]); | 105 return theRivers.toArray(new River[theRivers.size()]); |
106 } | 106 } |
107 catch (ConnectionException ce) { | 107 catch (ConnectionException ce) { |
108 logger.error(ce, ce); | 108 log.error(ce, ce); |
109 } | 109 } |
110 | 110 |
111 throw new ServerException(ERROR_NO_RIVERS_FOUND); | 111 throw new ServerException(ERROR_NO_RIVERS_FOUND); |
112 } | 112 } |
113 } | 113 } |