Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/CollectionMonitor.java @ 8856:5e38e2924c07 3.2.x
Fix code style.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 18 Jan 2018 20:12:01 +0100 |
parents | f8e1af4e2f69 |
children | 5030c46d8cb4 |
comparison
equal
deleted
inserted
replaced
8855:d7c005e12af0 | 8856:5e38e2924c07 |
---|---|
117 ArtifactNamespaceContext.NAMESPACE_PREFIX); | 117 ArtifactNamespaceContext.NAMESPACE_PREFIX); |
118 | 118 |
119 return creator.create("recommended-artifacts"); | 119 return creator.create("recommended-artifacts"); |
120 } | 120 } |
121 | 121 |
122 private static final String generateCacheKey(D4EArtifact artifact, String [] outs) { | 122 private static final String generateCacheKey( |
123 D4EArtifact artifact, | |
124 String [] outs | |
125 ) { | |
123 StringBuilder sb = new StringBuilder(artifact.hash()); | 126 StringBuilder sb = new StringBuilder(artifact.hash()); |
124 // XXX: The hash really should be unique enough. | 127 // XXX: The hash really should be unique enough. |
125 for (String out: outs) { | 128 for (String out: outs) { |
126 sb.append(';').append(out); | 129 sb.append(';').append(out); |
127 } | 130 } |