comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/WspDatacagePanel.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 5dfb3ff98bc6
children e3c2ae1887e8
comparison
equal deleted inserted replaced
8855:d7c005e12af0 8856:5e38e2924c07
157 return new Data[] { new DefaultData( 157 return new Data[] { new DefaultData(
158 dataName, null, null, new DataItem[] { item }) }; 158 dataName, null, null, new DataItem[] { item }) };
159 } 159 }
160 160
161 161
162 protected String createDataString(String artifact, Recommendation recommendation) { 162 protected String createDataString(
163 String artifact,
164 Recommendation recommendation
165 ) {
163 Facet f = null; 166 Facet f = null;
164 167
165 // The filter will only be available or previous calculation artifacts. 168 // The filter will only be available or previous calculation artifacts.
166 Filter filter = recommendation.getFilter(); 169 Filter filter = recommendation.getFilter();
167 170
176 if (f != null) { 179 if (f != null) {
177 break; 180 break;
178 } 181 }
179 } 182 }
180 183
181 return "[" + artifact + ";" + f.getName() + ";" + f.getIndex() + "]"; 184 return "[" + artifact + ";" + f.getName() + ";"
185 + f.getIndex() + "]";
182 } 186 }
183 else { 187 else {
184 return "[" + artifact + ";" + recommendation.getFactory() + ";" + 0 + "]"; 188 return "[" + artifact + ";"
189 + recommendation.getFactory() + ";" + 0 + "]";
185 } 190 }
186 } 191 }
187 } 192 }
188 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 193 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org