changeset 8574:c16d04f2c5bc

There seems to be no use case for not overriding these methods.
author Tom Gottfried <tom@intevation.de>
date Fri, 06 Mar 2015 12:26:12 +0100
parents 5c53b7de04d9
children a8048aac8831
files artifacts/src/main/java/org/dive4elements/river/artifacts/services/AbstractChartService.java
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/services/AbstractChartService.java	Fri Mar 06 11:21:36 2015 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/services/AbstractChartService.java	Fri Mar 06 12:26:12 2015 +0100
@@ -76,11 +76,9 @@
     protected abstract JFreeChart createChart(Document data,
         GlobalContext globalContext, CallMeta callMeta);
 
-    protected void init() {
-    };
+    protected abstract void init();
 
-    protected void finish() {
-    };
+    protected abstract void finish();
 
     @Override
     public Service.Output process(Document data, GlobalContext globalContext,

http://dive4elements.wald.intevation.org