Mercurial > dive4elements > river
diff gwt-client/src/main/java/org/dive4elements/river/client/server/CrossSectionKMServiceImpl.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 |
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/server/CrossSectionKMServiceImpl.java Fri Sep 05 12:58:17 2014 +0200 +++ b/gwt-client/src/main/java/org/dive4elements/river/client/server/CrossSectionKMServiceImpl.java Fri Sep 05 13:19:22 2014 +0200 @@ -39,7 +39,7 @@ extends RemoteServiceServlet implements CrossSectionKMService { - private static final Logger logger = + private static final Logger log = Logger.getLogger(CrossSectionKMServiceImpl.class); /** XPath that points to the found cross section measurements. */ @@ -65,7 +65,7 @@ int nNeighbours) throws ServerException { - logger.info("CrossSectionKMService.getCrossSectionKMs"); + log.info("CrossSectionKMService.getCrossSectionKMs"); String url = getServletContext().getInitParameter("server-url"); @@ -88,7 +88,7 @@ } HttpClient client = new HttpClientImpl(url, locale); - logger.debug("Created httpclient"); + log.debug("Created httpclient"); try { // Document should contain: @@ -126,16 +126,16 @@ } } catch(NumberFormatException nfe) { - logger.error("Response was not parsable"); + log.error("Response was not parsable"); } return result; } catch (ConnectionException ce) { - logger.error("ConnectionExsp", ce); + log.error("ConnectionExsp", ce); } - logger.warn("CrossSectionKMService.getCrossSectionKMS() - FAILED"); + log.warn("CrossSectionKMService.getCrossSectionKMS() - FAILED"); throw new ServerException(ERROR_GET_CROSS_SECTION); } }