Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/StaticWQKmsArtifact.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 | e4606eae8ea5 |
children | 23264d1a528f 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8855:d7c005e12af0 | 8856:5e38e2924c07 |
---|---|
69 Artifact artifact, | 69 Artifact artifact, |
70 Facet facet, | 70 Facet facet, |
71 String outputName | 71 String outputName |
72 ) { | 72 ) { |
73 String fname = facet.getName(); | 73 String fname = facet.getName(); |
74 return (fname.equals(STATIC_WQKMS) || fname.equals(STATIC_WQKMS_W)); | 74 return (fname.equals(STATIC_WQKMS) |
75 || fname.equals(STATIC_WQKMS_W)); | |
75 }}); | 76 }}); |
76 } | 77 } |
77 | 78 |
78 /** | 79 /** |
79 * Trivial Constructor. | 80 * Trivial Constructor. |
110 addStringData("ids", code); | 111 addStringData("ids", code); |
111 if (code != null) { | 112 if (code != null) { |
112 String [] parts = code.split("-"); | 113 String [] parts = code.split("-"); |
113 | 114 |
114 if (parts.length >= 1) { | 115 if (parts.length >= 1) { |
115 boolean official = parts[0].toLowerCase().startsWith("official"); | 116 boolean official = parts[0].toLowerCase() |
117 .startsWith("official"); | |
116 addStringData("official", official ? "1" : "0"); | 118 addStringData("official", official ? "1" : "0"); |
117 } | 119 } |
118 | 120 |
119 if (parts.length >= 4) { | 121 if (parts.length >= 4) { |
120 int col = Integer.parseInt(parts[2]); | 122 int col = Integer.parseInt(parts[2]); |