Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/SedimentDensityArtifact.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 | 5ac4c9119aef |
children | e4606eae8ea5 |
comparison
equal
deleted
inserted
replaced
7841:8036688f24e1 | 7842:8d5ca5175038 |
---|---|
116 public void setup( | 116 public void setup( |
117 String identifier, | 117 String identifier, |
118 ArtifactFactory factory, | 118 ArtifactFactory factory, |
119 Object context, | 119 Object context, |
120 CallMeta callMeta, | 120 CallMeta callMeta, |
121 Document data) | 121 Document data, |
122 List<Class> loadFacets) | |
122 { | 123 { |
123 logger.debug("SedimentDensityArtifact.setup"); | 124 logger.debug("SedimentDensityArtifact.setup"); |
124 | 125 |
125 state = newDensityState(); | 126 state = newDensityState(); |
126 if (logger.isDebugEnabled()) { | 127 if (logger.isDebugEnabled()) { |
149 else { | 150 else { |
150 logger.error("No id given."); | 151 logger.error("No id given."); |
151 } | 152 } |
152 | 153 |
153 spawnState(); | 154 spawnState(); |
154 super.setup(identifier, factory, context, callMeta, data); | 155 super.setup(identifier, factory, context, callMeta, data, loadFacets); |
155 } | 156 } |
156 | 157 |
157 | 158 |
158 /** | 159 /** |
159 * Get a list containing the one and only State. | 160 * Get a list containing the one and only State. |