Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/WQFixing.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 | 5e38e2924c07 |
children |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
9 | 9 |
10 import org.dive4elements.artifacts.Artifact; | 10 import org.dive4elements.artifacts.Artifact; |
11 import org.dive4elements.river.artifacts.D4EArtifact; | 11 import org.dive4elements.river.artifacts.D4EArtifact; |
12 import org.dive4elements.river.artifacts.model.RangeWithValues; | 12 import org.dive4elements.river.artifacts.model.RangeWithValues; |
13 | 13 |
14 import org.apache.log4j.Logger; | 14 import org.apache.logging.log4j.Logger; |
15 import org.apache.logging.log4j.LogManager; | |
15 | 16 |
16 /** | 17 /** |
17 * State to input W/Q data for fixings | 18 * State to input W/Q data for fixings |
18 * @author <a href="mailto:aheinecke@intevation.de">Andre Heinecke</a> | 19 * @author <a href="mailto:aheinecke@intevation.de">Andre Heinecke</a> |
19 */ | 20 */ |
20 public class WQFixing extends WQAdapted { | 21 public class WQFixing extends WQAdapted { |
21 | 22 |
22 /** The log used in this state.*/ | 23 /** The log used in this state.*/ |
23 private static Logger log = Logger.getLogger(WQFixing.class); | 24 private static Logger log = LogManager.getLogger(WQFixing.class); |
24 | 25 |
25 /** Simple sanity check if values are positive numbers **/ | 26 /** Simple sanity check if values are positive numbers **/ |
26 @Override | 27 @Override |
27 public boolean validate(Artifact artifact) | 28 public boolean validate(Artifact artifact) |
28 throws IllegalArgumentException | 29 throws IllegalArgumentException |