Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/services/FixingsKMChartService.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 | fe7e9da6312a |
children |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
52 import java.util.ArrayList; | 52 import java.util.ArrayList; |
53 import java.util.List; | 53 import java.util.List; |
54 | 54 |
55 import javax.imageio.ImageIO; | 55 import javax.imageio.ImageIO; |
56 | 56 |
57 import org.apache.log4j.Logger; | 57 import org.apache.logging.log4j.Logger; |
58 import org.apache.logging.log4j.LogManager; | |
58 | 59 |
59 import org.jfree.chart.ChartFactory; | 60 import org.jfree.chart.ChartFactory; |
60 import org.jfree.chart.JFreeChart; | 61 import org.jfree.chart.JFreeChart; |
61 import org.jfree.chart.LegendItemCollection; | 62 import org.jfree.chart.LegendItemCollection; |
62 | 63 |
80 /** Serve chart of Fixings at certain km. */ | 81 /** Serve chart of Fixings at certain km. */ |
81 public class FixingsKMChartService | 82 public class FixingsKMChartService |
82 extends DefaultService | 83 extends DefaultService |
83 { | 84 { |
84 private static final Logger log = | 85 private static final Logger log = |
85 Logger.getLogger(FixingsKMChartService.class); | 86 LogManager.getLogger(FixingsKMChartService.class); |
86 | 87 |
87 public static final int DEFAULT_WIDTH = 240; | 88 public static final int DEFAULT_WIDTH = 240; |
88 public static final int DEFAULT_HEIGHT = 180; | 89 public static final int DEFAULT_HEIGHT = 180; |
89 | 90 |
90 public static final String [] I18N_Q_SECTOR_BOARDERS = { | 91 public static final String [] I18N_Q_SECTOR_BOARDERS = { |