diff artifacts/src/main/java/org/dive4elements/river/exports/process/AnnotationProcessor.java @ 9123:1cc7653ca84f

Cleanup of ChartGenerator and ChartGenerator2 code. Put some of the copy/pasted code into a common abstraction.
author gernotbelger
date Tue, 05 Jun 2018 19:21:16 +0200
parents e4606eae8ea5
children
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/process/AnnotationProcessor.java	Tue Jun 05 19:10:38 2018 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/process/AnnotationProcessor.java	Tue Jun 05 19:21:16 2018 +0200
@@ -38,7 +38,7 @@
             // Nothing to do
             return;
         }
-        CallContext context = generator.getCallContext();
+        CallContext context = generator.getContext();
         if (!(bundle.getData(context) instanceof RiverAnnotation)) {
             // Just a bit defensive should not happen
             log.error("Incompatible facet in doOut");
@@ -62,7 +62,7 @@
             // Nothing to do
             return;
         }
-        CallContext context = generator.getCallContext();
+        CallContext context = generator.getContext();
         if (!(bundle.getData(context) instanceof RiverAnnotation)) {
             // Just a bit defensive should not happen
             log.error("Incompatible facet in doOut");

http://dive4elements.wald.intevation.org