comparison gwt-client/src/main/java/org/dive4elements/river/client/server/CSVExportServiceImpl.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 e25ef8376c14
children 13a0c4be17ea 0a5239a1e46e
comparison
equal deleted inserted replaced
8202:e4606eae8ea5 8203:238fc722f87a
40 */ 40 */
41 public class CSVExportServiceImpl 41 public class CSVExportServiceImpl
42 extends RemoteServiceServlet 42 extends RemoteServiceServlet
43 implements CSVExportService 43 implements CSVExportService
44 { 44 {
45 private static final Logger logger = 45 private static final Logger log =
46 Logger.getLogger(CSVExportServiceImpl.class); 46 Logger.getLogger(CSVExportServiceImpl.class);
47 47
48 48
49 public static final String ERROR_NO_EXPORT_FOUND = 49 public static final String ERROR_NO_EXPORT_FOUND =
50 "error_no_export_found"; 50 "error_no_export_found";
53 String locale, 53 String locale,
54 String uuid, 54 String uuid,
55 String name) 55 String name)
56 throws ServerException 56 throws ServerException
57 { 57 {
58 logger.info("CSVExportServiceImpl.getCSV"); 58 log.info("CSVExportServiceImpl.getCSV");
59 59
60 String url = getServletContext().getInitParameter("server-url"); 60 String url = getServletContext().getInitParameter("server-url");
61 61
62 Document requestDoc = XMLUtils.newDocument(); 62 Document requestDoc = XMLUtils.newDocument();
63 63
93 } 93 }
94 94
95 return lines; 95 return lines;
96 } 96 }
97 catch (IOException ce) { 97 catch (IOException ce) {
98 logger.error(ce.getLocalizedMessage()); 98 log.error(ce.getLocalizedMessage());
99 } 99 }
100 100
101 throw new ServerException(ERROR_NO_EXPORT_FOUND); 101 throw new ServerException(ERROR_NO_EXPORT_FOUND);
102 } 102 }
103 } 103 }

http://dive4elements.wald.intevation.org