Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/DurationCurveGenerator.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 |
---|---|
17 import org.dive4elements.river.themes.ThemeDocument; | 17 import org.dive4elements.river.themes.ThemeDocument; |
18 | 18 |
19 import java.awt.Font; | 19 import java.awt.Font; |
20 import java.awt.geom.Point2D; | 20 import java.awt.geom.Point2D; |
21 | 21 |
22 import org.apache.log4j.Logger; | 22 import org.apache.logging.log4j.Logger; |
23 import org.apache.logging.log4j.LogManager; | |
23 import org.jfree.chart.axis.NumberAxis; | 24 import org.jfree.chart.axis.NumberAxis; |
24 import org.jfree.chart.axis.ValueAxis; | 25 import org.jfree.chart.axis.ValueAxis; |
25 import org.jfree.chart.plot.XYPlot; | 26 import org.jfree.chart.plot.XYPlot; |
26 import org.jfree.data.Range; | 27 import org.jfree.data.Range; |
27 import org.jfree.data.xy.XYSeries; | 28 import org.jfree.data.xy.XYSeries; |
45 } | 46 } |
46 } | 47 } |
47 | 48 |
48 /** Local log. */ | 49 /** Local log. */ |
49 private static Logger log = | 50 private static Logger log = |
50 Logger.getLogger(DurationCurveGenerator.class); | 51 LogManager.getLogger(DurationCurveGenerator.class); |
51 | 52 |
52 public static final String I18N_CHART_TITLE = | 53 public static final String I18N_CHART_TITLE = |
53 "chart.duration.curve.title"; | 54 "chart.duration.curve.title"; |
54 | 55 |
55 public static final String I18N_CHART_SUBTITLE = | 56 public static final String I18N_CHART_SUBTITLE = |