Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/DischargeCurveGenerator.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 |
---|---|
28 import org.dive4elements.river.themes.ThemeDocument; | 28 import org.dive4elements.river.themes.ThemeDocument; |
29 | 29 |
30 import org.dive4elements.artifactdatabase.state.State; | 30 import org.dive4elements.artifactdatabase.state.State; |
31 import org.dive4elements.river.artifacts.GaugeDischargeCurveArtifact; | 31 import org.dive4elements.river.artifacts.GaugeDischargeCurveArtifact; |
32 | 32 |
33 import org.apache.log4j.Logger; | 33 import org.apache.logging.log4j.Logger; |
34 import org.apache.logging.log4j.LogManager; | |
34 import org.jfree.chart.annotations.XYTextAnnotation; | 35 import org.jfree.chart.annotations.XYTextAnnotation; |
35 import org.jfree.chart.axis.ValueAxis; | 36 import org.jfree.chart.axis.ValueAxis; |
36 import org.jfree.chart.plot.XYPlot; | 37 import org.jfree.chart.plot.XYPlot; |
37 import org.jfree.data.Range; | 38 import org.jfree.data.Range; |
38 import org.jfree.data.xy.XYSeries; | 39 import org.jfree.data.xy.XYSeries; |
57 } | 58 } |
58 } | 59 } |
59 | 60 |
60 /** The log used in this generator. */ | 61 /** The log used in this generator. */ |
61 private static Logger log = | 62 private static Logger log = |
62 Logger.getLogger(DischargeCurveGenerator.class); | 63 LogManager.getLogger(DischargeCurveGenerator.class); |
63 | 64 |
64 public static final String I18N_CHART_TITLE = | 65 public static final String I18N_CHART_TITLE = |
65 "chart.discharge.curve.title"; | 66 "chart.discharge.curve.title"; |
66 | 67 |
67 public static final String I18N_CHART_SUBTITLE = | 68 public static final String I18N_CHART_SUBTITLE = |