comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/state/StateEngine.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 415df0fc4fa1
children
comparison
equal deleted inserted replaced
569:2b40f4bf190d 570:584591f8203c
3 import java.util.ArrayList; 3 import java.util.ArrayList;
4 import java.util.HashMap; 4 import java.util.HashMap;
5 import java.util.List; 5 import java.util.List;
6 import java.util.Map; 6 import java.util.Map;
7 7
8 import org.apache.log4j.Logger; 8 import org.apache.logging.log4j.Logger;
9 import org.apache.logging.log4j.LogManager;
9 10
10 import org.dive4elements.artifactdatabase.data.StateData; 11 import org.dive4elements.artifactdatabase.data.StateData;
11 12
12 13
13 /** 14 /**
17 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> 18 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
18 */ 19 */
19 public class StateEngine { 20 public class StateEngine {
20 21
21 /** The logger used in this class. */ 22 /** The logger used in this class. */
22 private static Logger logger = Logger.getLogger(StateEngine.class); 23 private static Logger logger = LogManager.getLogger(StateEngine.class);
23 24
24 /** 25 /**
25 * A map that contains the states of the artifacts. The key of this map is 26 * A map that contains the states of the artifacts. The key of this map is
26 * the name of an artifact, its value is a list of all states the artifact 27 * the name of an artifact, its value is a list of all states the artifact
27 * can reach. 28 * can reach.

http://dive4elements.wald.intevation.org