comparison gwt-client/src/main/java/org/dive4elements/river/client/server/MetaDataServiceImpl.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 238fc722f87a
children b188255f08b3 0a5239a1e46e
comparison
equal deleted inserted replaced
8855:d7c005e12af0 8856:5e38e2924c07
59 /** 59 /**
60 * @param locale needed for i18n. 60 * @param locale needed for i18n.
61 * @param artifactId ID of masterartifact (can be null) 61 * @param artifactId ID of masterartifact (can be null)
62 * @param userId can be null 62 * @param userId can be null
63 * @param outs can be null 63 * @param outs can be null
64 * @param parameters can be null or parameters like "load-system:true;key:value" 64 * @param parameters can be null or parameters like
65 * "load-system:true;key:value"
65 */ 66 */
66 @Override 67 @Override
67 public DataCageTree getMetaData( 68 public DataCageTree getMetaData(
68 String locale, 69 String locale,
69 String artifactId, 70 String artifactId,
115 // Fire. 116 // Fire.
116 HttpClient client = new HttpClientImpl(url, locale); 117 HttpClient client = new HttpClientImpl(url, locale);
117 118
118 try { 119 try {
119 Converter converter = new Converter(); 120 Converter converter = new Converter();
120 DataCageTree tree = converter.convert(client.callService(url, "metadata", doc)); 121 DataCageTree tree = converter.convert(
122 client.callService(url, "metadata", doc));
121 tree.prune(this); 123 tree.prune(this);
122 return tree; 124 return tree;
123 } 125 }
124 catch (ConnectionException ce) { 126 catch (ConnectionException ce) {
125 ce.printStackTrace(); 127 ce.printStackTrace();

http://dive4elements.wald.intevation.org