Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/model/CrossSectionLine.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 | 8abe94270f32 |
children |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
26 import javax.persistence.GenerationType; | 26 import javax.persistence.GenerationType; |
27 import javax.persistence.OneToOne; | 27 import javax.persistence.OneToOne; |
28 import javax.persistence.OneToMany; | 28 import javax.persistence.OneToMany; |
29 import javax.persistence.JoinColumn; | 29 import javax.persistence.JoinColumn; |
30 | 30 |
31 import org.apache.log4j.Logger; | 31 import org.apache.logging.log4j.Logger; |
32 import org.apache.logging.log4j.LogManager; | |
32 | 33 |
33 @Entity | 34 @Entity |
34 @Table(name = "cross_section_lines") | 35 @Table(name = "cross_section_lines") |
35 public class CrossSectionLine | 36 public class CrossSectionLine |
36 implements Serializable | 37 implements Serializable |
37 { | 38 { |
38 private static Logger log = Logger.getLogger(CrossSectionLine.class); | 39 private static Logger log = LogManager.getLogger(CrossSectionLine.class); |
39 | 40 |
40 public static final double EPSILON = 1e-4; | 41 public static final double EPSILON = 1e-4; |
41 | 42 |
42 private Integer id; | 43 private Integer id; |
43 private Double km; | 44 private Double km; |