Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/services/DischargeTablesOverview.java @ 8572:321d6e50aebe
Remove superfluous private variable.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 06 Mar 2015 10:57:56 +0100 |
parents | fe7e9da6312a |
children | 5e38e2924c07 |
comparison
equal
deleted
inserted
replaced
8571:bc803f4b6784 | 8572:321d6e50aebe |
---|---|
16 import java.util.Date; | 16 import java.util.Date; |
17 import java.util.List; | 17 import java.util.List; |
18 import java.util.Locale; | 18 import java.util.Locale; |
19 | 19 |
20 import org.apache.log4j.Logger; | 20 import org.apache.log4j.Logger; |
21 import org.hibernate.Session; | |
22 import org.jfree.chart.ChartFactory; | 21 import org.jfree.chart.ChartFactory; |
23 import org.jfree.chart.JFreeChart; | 22 import org.jfree.chart.JFreeChart; |
24 import org.jfree.chart.plot.Marker; | 23 import org.jfree.chart.plot.Marker; |
25 import org.jfree.chart.plot.PlotOrientation; | 24 import org.jfree.chart.plot.PlotOrientation; |
26 import org.jfree.chart.plot.XYPlot; | 25 import org.jfree.chart.plot.XYPlot; |
66 public static final String DEFAULT_CHART_SERIES_TITLE_MASTER = "Aktuelle Abflusskurve"; | 65 public static final String DEFAULT_CHART_SERIES_TITLE_MASTER = "Aktuelle Abflusskurve"; |
67 | 66 |
68 public static final DateFormat DATE_FORMAT = DateFormat.getDateInstance( | 67 public static final DateFormat DATE_FORMAT = DateFormat.getDateInstance( |
69 DateFormat.SHORT, Locale.GERMANY); | 68 DateFormat.SHORT, Locale.GERMANY); |
70 | 69 |
71 private Session session; | |
72 | 70 |
73 @Override | 71 @Override |
74 protected void init() { | 72 protected void init() { |
75 session = SessionHolder.acquire(); | 73 SessionHolder.acquire(); |
76 } | 74 } |
77 | 75 |
78 @Override | 76 @Override |
79 protected void finish() { | 77 protected void finish() { |
80 SessionHolder.release(); | 78 SessionHolder.release(); |