Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/transitions/TransitionFactory.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 | e4606eae8ea5 |
children |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
8 | 8 |
9 package org.dive4elements.river.artifacts.transitions; | 9 package org.dive4elements.river.artifacts.transitions; |
10 | 10 |
11 import javax.xml.xpath.XPathConstants; | 11 import javax.xml.xpath.XPathConstants; |
12 | 12 |
13 import org.apache.log4j.Logger; | 13 import org.apache.logging.log4j.Logger; |
14 import org.apache.logging.log4j.LogManager; | |
14 | 15 |
15 import org.w3c.dom.Node; | 16 import org.w3c.dom.Node; |
16 | 17 |
17 import org.dive4elements.artifactdatabase.transition.Transition; | 18 import org.dive4elements.artifactdatabase.transition.Transition; |
18 | 19 |
23 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 24 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
24 */ | 25 */ |
25 public class TransitionFactory { | 26 public class TransitionFactory { |
26 | 27 |
27 /** The log used in this class */ | 28 /** The log used in this class */ |
28 private static Logger log = Logger.getLogger(TransitionFactory.class); | 29 private static Logger log = LogManager.getLogger(TransitionFactory.class); |
29 | 30 |
30 /** The XPath to the classname of the transition */ | 31 /** The XPath to the classname of the transition */ |
31 public static final String XPATH_TRANSITION = "@transition"; | 32 public static final String XPATH_TRANSITION = "@transition"; |
32 | 33 |
33 /** The XPath to the current state ID */ | 34 /** The XPath to the current state ID */ |