Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java @ 2141:79a94c4171cb
Cosmetics.
flys-artifacts/trunk@3719 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 19 Jan 2012 13:01:33 +0000 |
parents | bf67eb014443 |
children | b817e680cf18 |
comparison
equal
deleted
inserted
replaced
2140:3d73109005b8 | 2141:79a94c4171cb |
---|---|
177 | 177 |
178 filterFacets = buildFilterFacets(data); | 178 filterFacets = buildFilterFacets(data); |
179 } | 179 } |
180 | 180 |
181 | 181 |
182 /** Get copy of previous state ids as Strings in list. */ | |
182 protected List<String> clonePreviousStateIds() { | 183 protected List<String> clonePreviousStateIds() { |
183 return new ArrayList<String>(previousStateIds); | 184 return new ArrayList<String>(previousStateIds); |
184 } | 185 } |
186 | |
185 | 187 |
186 /** | 188 /** |
187 * Copies data item from other artifact to this artifact. | 189 * Copies data item from other artifact to this artifact. |
188 * | 190 * |
189 * @param other Artifact from which to get data. | 191 * @param other Artifact from which to get data. |
1036 String hash, | 1038 String hash, |
1037 String stateID, | 1039 String stateID, |
1038 ComputeType type, | 1040 ComputeType type, |
1039 boolean generateFacets | 1041 boolean generateFacets |
1040 ) { | 1042 ) { |
1041 DefaultState current = stateID == null | 1043 DefaultState current = |
1044 (stateID == null) | |
1042 ? (DefaultState)getCurrentState(context) | 1045 ? (DefaultState)getCurrentState(context) |
1043 : (DefaultState)getState(context, stateID); | 1046 : (DefaultState)getState(context, stateID); |
1044 | 1047 |
1045 if (hash == null) { | 1048 if (hash == null) { |
1046 hash = hash(); | 1049 hash = hash(); |