diff artifacts/src/main/java/org/dive4elements/river/collections/D4EArtifactCollection.java @ 8220:1d3d61c8f596

Stop stupid propagation of out subtype in generators. What is this? It is not used anyway.
author Sascha L. Teichmann <teichmann@intevation.de>
date Mon, 08 Sep 2014 13:33:39 +0200
parents e4606eae8ea5
children 724081af301c
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/collections/D4EArtifactCollection.java	Mon Sep 08 13:17:49 2014 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/collections/D4EArtifactCollection.java	Mon Sep 08 13:33:39 2014 +0200
@@ -322,7 +322,7 @@
         CollectionAttribute attr,
         String              out
     ) {
-        OutGenerator outGen = RiverContext.getOutGenerator(getContext(), out, null);
+        OutGenerator outGen = RiverContext.getOutGenerator(getContext(), out);
 
         if (outGen == null) {
             return null;
@@ -387,7 +387,7 @@
             ? type
             : name;
 
-        OutGenerator generator = RiverContext.getOutGenerator(context, key, subtype);
+        OutGenerator generator = RiverContext.getOutGenerator(context, key);
 
         if (generator == null) {
             log.error("There is no generator specified for output: " + name);

http://dive4elements.wald.intevation.org