Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/StaticWQKmsState.java @ 7584:c7638c971574
Renamed winfo variable to more fitting name artifact.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Tue, 19 Nov 2013 10:46:24 +0100 |
parents | fe32a7f9655e |
children | e609722a1e86 |
comparison
equal
deleted
inserted
replaced
7583:4b67eb1a3a68 | 7584:c7638c971574 |
---|---|
50 | 50 |
51 /** | 51 /** |
52 * Compute, create Facets, do the same stuff as all the other states do. | 52 * Compute, create Facets, do the same stuff as all the other states do. |
53 */ | 53 */ |
54 protected Object compute( | 54 protected Object compute( |
55 StaticWQKmsArtifact winfo, | 55 StaticWQKmsArtifact artifact, |
56 CallMeta metaLocale, | 56 CallMeta metaLocale, |
57 String hash, | 57 String hash, |
58 List<Facet> facets, | 58 List<Facet> facets, |
59 Object old | 59 Object old |
60 ) { | 60 ) { |
61 String id = getID(); | 61 String id = getID(); |
62 | 62 |
63 WQKms res = old instanceof WQKms | 63 WQKms res = old instanceof WQKms |
64 ? (WQKms)old | 64 ? (WQKms)old |
65 : winfo.getWQKms(); | 65 : artifact.getWQKms(); |
66 | 66 |
67 WQKms wqkms = res; | 67 WQKms wqkms = res; |
68 | 68 |
69 if (facets == null) { | 69 if (facets == null) { |
70 return res; | 70 return res; |