[PATCH 42 of 45] Remove superfluous private variable
Wald Commits
scm-commit at wald.intevation.org
Tue Mar 10 17:06:10 CET 2015
# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1425635876 -3600
# Node ID 321d6e50aebee6d7bbe129c6c780917b9637b0fa
# Parent bc803f4b6784b1634443eeafe497c0ce55cb1b58
Remove superfluous private variable.
diff -r bc803f4b6784 -r 321d6e50aebe artifacts/src/main/java/org/dive4elements/river/artifacts/services/DischargeTablesOverview.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/services/DischargeTablesOverview.java Fri Feb 27 19:07:25 2015 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/services/DischargeTablesOverview.java Fri Mar 06 10:57:56 2015 +0100
@@ -18,7 +18,6 @@
import java.util.Locale;
import org.apache.log4j.Logger;
-import org.hibernate.Session;
import org.jfree.chart.ChartFactory;
import org.jfree.chart.JFreeChart;
import org.jfree.chart.plot.Marker;
@@ -68,11 +67,10 @@
public static final DateFormat DATE_FORMAT = DateFormat.getDateInstance(
DateFormat.SHORT, Locale.GERMANY);
- private Session session;
@Override
protected void init() {
- session = SessionHolder.acquire();
+ SessionHolder.acquire();
}
@Override
More information about the Dive4Elements-commits
mailing list