Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/importer/parsers/W80Parser.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 |
---|---|
25 import java.util.Date; | 25 import java.util.Date; |
26 import java.util.List; | 26 import java.util.List; |
27 import java.util.Map; | 27 import java.util.Map; |
28 import java.util.TreeMap; | 28 import java.util.TreeMap; |
29 | 29 |
30 import org.apache.log4j.Logger; | 30 import org.apache.logging.log4j.Logger; |
31 import org.apache.logging.log4j.LogManager; | |
31 | 32 |
32 | 33 |
33 /** | 34 /** |
34 * To create cross-sections, generate: Map<double,list<xy>> from files | 35 * To create cross-sections, generate: Map<double,list<xy>> from files |
35 * in w80 format. | 36 * in w80 format. |
36 */ | 37 */ |
37 public class W80Parser extends LineParser implements CrossSectionParser | 38 public class W80Parser extends LineParser implements CrossSectionParser |
38 { | 39 { |
39 /** Private log. */ | 40 /** Private log. */ |
40 private static Logger log = Logger.getLogger(W80Parser.class); | 41 private static Logger log = LogManager.getLogger(W80Parser.class); |
41 | 42 |
42 | 43 |
43 /** The current line to which add points. */ | 44 /** The current line to which add points. */ |
44 private List<XY> currentLine; | 45 private List<XY> currentLine; |
45 | 46 |