comparison gwt-client/src/main/java/org/dive4elements/river/client/server/RiverServiceImpl.java @ 9726:0a5239a1e46e 3.2.x

Upgrade to Log4j 2
author Tom Gottfried <tom@intevation.de>
date Wed, 02 Mar 2022 10:26:50 +0100
parents 238fc722f87a
children
comparison
equal deleted inserted replaced
9725:da398790fa32 9726:0a5239a1e46e
22 import java.util.ArrayList; 22 import java.util.ArrayList;
23 import java.util.List; 23 import java.util.List;
24 24
25 import javax.xml.xpath.XPathConstants; 25 import javax.xml.xpath.XPathConstants;
26 26
27 import org.apache.log4j.Logger; 27 import org.apache.logging.log4j.Logger;
28 import org.apache.logging.log4j.LogManager;
28 import org.w3c.dom.Document; 29 import org.w3c.dom.Document;
29 import org.w3c.dom.Element; 30 import org.w3c.dom.Element;
30 import org.w3c.dom.NodeList; 31 import org.w3c.dom.NodeList;
31 32
32 33
40 extends RemoteServiceServlet 41 extends RemoteServiceServlet
41 implements RiverService 42 implements RiverService
42 { 43 {
43 /** Private log. */ 44 /** Private log. */
44 private static final Logger log = 45 private static final Logger log =
45 Logger.getLogger(RiverServiceImpl.class); 46 LogManager.getLogger(RiverServiceImpl.class);
46 47
47 /** The XPath string that points to the rivers in the resulting document.*/ 48 /** The XPath string that points to the rivers in the resulting document.*/
48 public static final String XPATH_RIVERS = "/art:rivers/art:river"; 49 public static final String XPATH_RIVERS = "/art:rivers/art:river";
49 50
50 /** The error message key that is thrown if an error occured while reading 51 /** The error message key that is thrown if an error occured while reading

http://dive4elements.wald.intevation.org