Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/WaterlevelArtifact.java @ 7842:8d5ca5175038
Updated signature of artifacts setup method; Removed unnecessary setup overrides.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 30 Apr 2014 15:12:32 +0200 |
parents | af13ceeba52a |
children | e4606eae8ea5 |
comparison
equal
deleted
inserted
replaced
7841:8036688f24e1 | 7842:8d5ca5175038 |
---|---|
62 public void setup( | 62 public void setup( |
63 String identifier, | 63 String identifier, |
64 ArtifactFactory factory, | 64 ArtifactFactory factory, |
65 Object context, | 65 Object context, |
66 CallMeta callMeta, | 66 CallMeta callMeta, |
67 Document data) | 67 Document data, |
68 List<Class> loadFacets) | |
68 { | 69 { |
69 super.setup(identifier, factory, context, callMeta, data); | 70 super.setup(identifier, factory, context, callMeta, data, loadFacets); |
70 // For w_differences, also allow q-facets. | 71 // For w_differences, also allow q-facets. |
71 if(filterFacets != null) { | 72 if(filterFacets != null) { |
72 List<Facet> list = new ArrayList<Facet>(); | 73 List<Facet> list = new ArrayList<Facet>(); |
73 List<Facet> wlist = filterFacets.get(ChartType.LS); | 74 List<Facet> wlist = filterFacets.get(ChartType.LS); |
74 if (wlist == null) { | 75 if (wlist == null) { |