Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/math/BackJumpCorrector.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 | af13ceeba52a |
children |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
19 | 19 |
20 import org.apache.commons.math.ArgumentOutsideDomainException; | 20 import org.apache.commons.math.ArgumentOutsideDomainException; |
21 | 21 |
22 import org.apache.commons.math.exception.MathIllegalArgumentException; | 22 import org.apache.commons.math.exception.MathIllegalArgumentException; |
23 | 23 |
24 import org.apache.log4j.Logger; | 24 import org.apache.logging.log4j.Logger; |
25 import org.apache.logging.log4j.LogManager; | |
25 | 26 |
26 import org.dive4elements.river.artifacts.model.Calculation; | 27 import org.dive4elements.river.artifacts.model.Calculation; |
27 | 28 |
28 import org.dive4elements.river.utils.DoubleUtil; | 29 import org.dive4elements.river.utils.DoubleUtil; |
29 | 30 |
30 public class BackJumpCorrector | 31 public class BackJumpCorrector |
31 implements Serializable | 32 implements Serializable |
32 { | 33 { |
33 private static Logger log = Logger.getLogger(BackJumpCorrector.class); | 34 private static Logger log = LogManager.getLogger(BackJumpCorrector.class); |
34 | 35 |
35 protected ArrayList<Double> backjumps; | 36 protected ArrayList<Double> backjumps; |
36 | 37 |
37 protected double [] corrected; | 38 protected double [] corrected; |
38 | 39 |