Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/model/River.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 | c4ce25093953 |
children |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
31 | 31 |
32 import org.hibernate.Query; | 32 import org.hibernate.Query; |
33 import org.hibernate.Session; | 33 import org.hibernate.Session; |
34 import org.hibernate.annotations.Type; | 34 import org.hibernate.annotations.Type; |
35 | 35 |
36 import org.apache.log4j.Logger; | 36 import org.apache.logging.log4j.Logger; |
37 import org.apache.logging.log4j.LogManager; | |
37 | 38 |
38 @Entity | 39 @Entity |
39 @Table(name = "rivers") | 40 @Table(name = "rivers") |
40 public class River | 41 public class River |
41 implements Serializable | 42 implements Serializable |
42 { | 43 { |
43 private static Logger log = Logger.getLogger(River.class); | 44 private static Logger log = LogManager.getLogger(River.class); |
44 | 45 |
45 public static final MathContext PRECISION = new MathContext(6); | 46 public static final MathContext PRECISION = new MathContext(6); |
46 | 47 |
47 public static final double EPSILON = 1e-5; | 48 public static final double EPSILON = 1e-5; |
48 | 49 |