Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/themes/ThemeMapping.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 |
---|---|
6 * documentation coming with Dive4Elements River for details. | 6 * documentation coming with Dive4Elements River for details. |
7 */ | 7 */ |
8 | 8 |
9 package org.dive4elements.river.themes; | 9 package org.dive4elements.river.themes; |
10 | 10 |
11 import org.apache.log4j.Logger; | 11 import org.apache.logging.log4j.Logger; |
12 import org.apache.logging.log4j.LogManager; | |
12 | 13 |
13 import java.io.Serializable; | 14 import java.io.Serializable; |
14 import java.util.regex.Matcher; | 15 import java.util.regex.Matcher; |
15 import java.util.regex.Pattern; | 16 import java.util.regex.Pattern; |
16 | 17 |
20 * Represents mapping to a theme (including conditions). | 21 * Represents mapping to a theme (including conditions). |
21 */ | 22 */ |
22 public class ThemeMapping implements Serializable { | 23 public class ThemeMapping implements Serializable { |
23 | 24 |
24 /** The log that is used in this class */ | 25 /** The log that is used in this class */ |
25 private static Logger log = Logger.getLogger(ThemeMapping.class); | 26 private static Logger log = LogManager.getLogger(ThemeMapping.class); |
26 | 27 |
27 /** Name from which to map. */ | 28 /** Name from which to map. */ |
28 protected String from; | 29 protected String from; |
29 | 30 |
30 /** Name to which to map. */ | 31 /** Name to which to map. */ |