comparison gwt-client/src/main/java/org/dive4elements/river/client/server/DischargeInfoXML.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 086efb4196d7
children 0a5239a1e46e
comparison
equal deleted inserted replaced
8202:e4606eae8ea5 8203:238fc722f87a
34 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a> 34 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a>
35 */ 35 */
36 public class DischargeInfoXML 36 public class DischargeInfoXML
37 extends HttpServlet 37 extends HttpServlet
38 { 38 {
39 private static final Logger logger = Logger.getLogger(DischargeInfoXML.class); 39 private static final Logger log = Logger.getLogger(DischargeInfoXML.class);
40 40
41 41
42 public static final String ERROR_NO_DISTANCEINFO_FOUND = 42 public static final String ERROR_NO_DISTANCEINFO_FOUND =
43 "error_no_dischargeinfo_found"; 43 "error_no_dischargeinfo_found";
44 44
45 45
46 public void doGet(HttpServletRequest req, HttpServletResponse resp) { 46 public void doGet(HttpServletRequest req, HttpServletResponse resp) {
47 logger.info("DischargeInfoXML.doGet"); 47 log.info("DischargeInfoXML.doGet");
48 48
49 String url = getServletContext().getInitParameter("server-url"); 49 String url = getServletContext().getInitParameter("server-url");
50 50
51 String gauge = req.getParameter("gauge"); 51 String gauge = req.getParameter("gauge");
52 52
86 86
87 out.flush(); 87 out.flush();
88 out.close(); 88 out.close();
89 } 89 }
90 catch (ConnectionException ce) { 90 catch (ConnectionException ce) {
91 logger.error(ce, ce); 91 log.error(ce, ce);
92 } 92 }
93 catch (IOException ioe) { 93 catch (IOException ioe) {
94 logger.error(ioe, ioe); 94 log.error(ioe, ioe);
95 } 95 }
96 } 96 }
97 } 97 }
98 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 98 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org