comparison artifacts/src/main/java/org/dive4elements/river/artifacts/FlowVelocityModelArtifact.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 00950f79b0d9
children e4606eae8ea5
comparison
equal deleted inserted replaced
7841:8036688f24e1 7842:8d5ca5175038
139 public void setup( 139 public void setup(
140 String identifier, 140 String identifier,
141 ArtifactFactory factory, 141 ArtifactFactory factory,
142 Object context, 142 Object context,
143 CallMeta callMeta, 143 CallMeta callMeta,
144 Document data) 144 Document data,
145 List<Class> loadFacets)
145 { 146 {
146 logger.debug("FlowVelocityModelArtifact.setup"); 147 logger.debug("FlowVelocityModelArtifact.setup");
147 148
148 state = newState(); 149 state = newState();
149 if (logger.isDebugEnabled()) { 150 if (logger.isDebugEnabled()) {
199 else { 200 else {
200 logger.error("No id given."); 201 logger.error("No id given.");
201 } 202 }
202 203
203 spawnState(); 204 spawnState();
204 super.setup(identifier, factory, context, callMeta, data); 205 super.setup(identifier, factory, context, callMeta, data, loadFacets);
205 } 206 }
206 207
207 208
208 /** 209 /**
209 * Get a list containing the one and only State. 210 * Get a list containing the one and only State.

http://dive4elements.wald.intevation.org