comparison artifacts/src/main/java/org/dive4elements/river/artifacts/services/BedloadKMChartService.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 java.util.Date; 17 import java.util.Date;
18 import java.util.List; 18 import java.util.List;
19 19
20 import javax.imageio.ImageIO; 20 import javax.imageio.ImageIO;
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.ChartFactory; 24 import org.jfree.chart.ChartFactory;
24 import org.jfree.chart.JFreeChart; 25 import org.jfree.chart.JFreeChart;
25 import org.jfree.chart.axis.DateAxis; 26 import org.jfree.chart.axis.DateAxis;
26 import org.jfree.chart.plot.PlotOrientation; 27 import org.jfree.chart.plot.PlotOrientation;
27 import org.jfree.chart.plot.XYPlot; 28 import org.jfree.chart.plot.XYPlot;
45 public class BedloadKMChartService extends DefaultService { 46 public class BedloadKMChartService extends DefaultService {
46 47
47 private static final long serialVersionUID = 4156704841305086495L; 48 private static final long serialVersionUID = 4156704841305086495L;
48 49
49 private static final Logger log = 50 private static final Logger log =
50 Logger.getLogger(BedloadKMChartService.class); 51 LogManager.getLogger(BedloadKMChartService.class);
51 52
52 public static final int DEFAULT_WIDTH = 240; 53 public static final int DEFAULT_WIDTH = 240;
53 public static final int DEFAULT_HEIGHT = 180; 54 public static final int DEFAULT_HEIGHT = 180;
54 55
55 public static final String I18N_CHART_LABEL = 56 public static final String I18N_CHART_LABEL =

http://dive4elements.wald.intevation.org