Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/FixingsOverview.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 | 3e93f29281bc |
children |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
16 import java.util.Collections; | 16 import java.util.Collections; |
17 import java.util.Comparator; | 17 import java.util.Comparator; |
18 import java.util.Date; | 18 import java.util.Date; |
19 import java.util.List; | 19 import java.util.List; |
20 | 20 |
21 import org.apache.log4j.Logger; | 21 import org.apache.logging.log4j.Logger; |
22 import org.apache.logging.log4j.LogManager; | |
22 | 23 |
23 import org.hibernate.SQLQuery; | 24 import org.hibernate.SQLQuery; |
24 import org.hibernate.Session; | 25 import org.hibernate.Session; |
25 | 26 |
26 import org.hibernate.type.StandardBasicTypes; | 27 import org.hibernate.type.StandardBasicTypes; |
33 | 34 |
34 /** Generate Fixings Table overview data structure to be stored in cache. */ | 35 /** Generate Fixings Table overview data structure to be stored in cache. */ |
35 public class FixingsOverview | 36 public class FixingsOverview |
36 implements Serializable | 37 implements Serializable |
37 { | 38 { |
38 private static Logger log = Logger.getLogger(FixingsOverview.class); | 39 private static Logger log = LogManager.getLogger(FixingsOverview.class); |
39 | 40 |
40 public static final double EPSILON = 1e-2; | 41 public static final double EPSILON = 1e-2; |
41 | 42 |
42 public static final String DATE_FORMAT = "dd.MM.yyyy"; | 43 public static final String DATE_FORMAT = "dd.MM.yyyy"; |
43 | 44 |