Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/utils/RiverUtils.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 | 5e38e2924c07 |
children | 308a0d822d18 |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
40 import java.util.regex.Matcher; | 40 import java.util.regex.Matcher; |
41 import java.util.regex.Pattern; | 41 import java.util.regex.Pattern; |
42 | 42 |
43 import javax.xml.xpath.XPathConstants; | 43 import javax.xml.xpath.XPathConstants; |
44 | 44 |
45 import org.apache.log4j.Logger; | 45 import org.apache.logging.log4j.Logger; |
46 import org.apache.logging.log4j.LogManager; | |
46 import org.hibernate.SessionFactory; | 47 import org.hibernate.SessionFactory; |
47 import org.hibernate.impl.SessionFactoryImpl; | 48 import org.hibernate.impl.SessionFactoryImpl; |
48 import org.w3c.dom.Document; | 49 import org.w3c.dom.Document; |
49 | 50 |
50 | 51 |
57 **/ | 58 **/ |
58 @Deprecated | 59 @Deprecated |
59 public class RiverUtils { | 60 public class RiverUtils { |
60 | 61 |
61 /** The log that is used in this utility. */ | 62 /** The log that is used in this utility. */ |
62 private static Logger log = Logger.getLogger(RiverUtils.class); | 63 private static Logger log = LogManager.getLogger(RiverUtils.class); |
63 | 64 |
64 /** | 65 /** |
65 * Enum that represents the 5 possible WQ modes in FLYS. The 5 values are | 66 * Enum that represents the 5 possible WQ modes in FLYS. The 5 values are |
66 * <i>QFREE</i> <i>QGAUGE</i> <i>WGAUGE</i> <i>WFREE</i> and <i>NONE</i>. | 67 * <i>QFREE</i> <i>QGAUGE</i> <i>WGAUGE</i> <i>WFREE</i> and <i>NONE</i>. |
67 */ | 68 */ |