Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/transition/TransitionEngine.java @ 570:584591f8203c 3.2.x
Upgrade to Log4j 2
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 28 Feb 2022 17:41:14 +0100 |
parents | cbe3dfd3e1a6 |
children |
comparison
equal
deleted
inserted
replaced
569:2b40f4bf190d | 570:584591f8203c |
---|---|
7 import java.util.HashSet; | 7 import java.util.HashSet; |
8 import java.util.List; | 8 import java.util.List; |
9 import java.util.Map; | 9 import java.util.Map; |
10 import java.util.Set; | 10 import java.util.Set; |
11 | 11 |
12 import org.apache.log4j.Logger; | 12 import org.apache.logging.log4j.Logger; |
13 import org.apache.logging.log4j.LogManager; | |
13 | 14 |
14 import org.dive4elements.artifacts.Artifact; | 15 import org.dive4elements.artifacts.Artifact; |
15 | 16 |
16 import org.dive4elements.artifactdatabase.state.State; | 17 import org.dive4elements.artifactdatabase.state.State; |
17 import org.dive4elements.artifactdatabase.state.StateEngine; | 18 import org.dive4elements.artifactdatabase.state.StateEngine; |
25 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 26 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
26 */ | 27 */ |
27 public class TransitionEngine { | 28 public class TransitionEngine { |
28 | 29 |
29 /** The logger used in this class. */ | 30 /** The logger used in this class. */ |
30 private static Logger logger = Logger.getLogger(TransitionEngine.class); | 31 private static Logger logger = LogManager.getLogger(TransitionEngine.class); |
31 | 32 |
32 /** | 33 /** |
33 * A map that contains the transitions of the artifacts. The key is the name | 34 * A map that contains the transitions of the artifacts. The key is the name |
34 * of the artifact, its value is a list of all transitions of this artifact. | 35 * of the artifact, its value is a list of all transitions of this artifact. |
35 */ | 36 */ |