Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/SedimentYieldArtifact.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 | b8faaac71507 |
children | 963ede7b32bb |
comparison
equal
deleted
inserted
replaced
7841:8036688f24e1 | 7842:8d5ca5175038 |
---|---|
124 public void setup( | 124 public void setup( |
125 String identifier, | 125 String identifier, |
126 ArtifactFactory factory, | 126 ArtifactFactory factory, |
127 Object context, | 127 Object context, |
128 CallMeta callMeta, | 128 CallMeta callMeta, |
129 Document data) | 129 Document data, |
130 List<Class> loadFacets) | |
130 { | 131 { |
131 logger.debug("SedimentYieldArtifact.setup"); | 132 logger.debug("SedimentYieldArtifact.setup"); |
132 | 133 |
133 // Refactor? this happens at another place, too | 134 // Refactor? this happens at another place, too |
134 // Store id, yield yields. | 135 // Store id, yield yields. |
238 addFacets(state.getID(), fs); | 239 addFacets(state.getID(), fs); |
239 addStringData(DATA_NAME, code); | 240 addStringData(DATA_NAME, code); |
240 } | 241 } |
241 | 242 |
242 spawnState(); | 243 spawnState(); |
243 super.setup(identifier, factory, context, callMeta, data); | 244 super.setup(identifier, factory, context, callMeta, data, loadFacets); |
244 } | 245 } |
245 | 246 |
246 | 247 |
247 /** | 248 /** |
248 * Get a list containing the one and only State. | 249 * Get a list containing the one and only State. |