comparison artifacts-common/src/main/java/org/dive4elements/artifacts/common/utils/StringUtils.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 1f1f14c932ed
children
comparison
equal deleted inserted replaced
569:2b40f4bf190d 570:584591f8203c
14 14
15 import org.apache.commons.codec.DecoderException; 15 import org.apache.commons.codec.DecoderException;
16 16
17 import org.apache.commons.codec.binary.Hex; 17 import org.apache.commons.codec.binary.Hex;
18 18
19 import org.apache.log4j.Logger; 19 import org.apache.logging.log4j.Logger;
20 import org.apache.logging.log4j.LogManager;
20 21
21 /** 22 /**
22 * Commonly used string functions. 23 * Commonly used string functions.
23 * 24 *
24 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> 25 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a>
25 */ 26 */
26 public final class StringUtils 27 public final class StringUtils
27 { 28 {
28 private static Logger logger = Logger.getLogger(StringUtils.class); 29 private static Logger logger = LogManager.getLogger(StringUtils.class);
29 30
30 /** 31 /**
31 * Generated a random UUIDv4 in form of a string. 32 * Generated a random UUIDv4 in form of a string.
32 * @return the UUID 33 * @return the UUID
33 */ 34 */

http://dive4elements.wald.intevation.org