Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/StaticWQKmsArtifact.java @ 8860:28df64078f27
Merge with 0862ea5d66baf60e7eee496d130a35157cc9ec12
author | gernotbelger |
---|---|
date | Fri, 19 Jan 2018 11:23:42 +0100 |
parents | 5e38e2924c07 |
children | 23264d1a528f 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8854:7bbfb24e6eec | 8860:28df64078f27 |
---|---|
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]); |