Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/server/CrossSectionKMServiceImpl.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 | 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8855:d7c005e12af0 | 8856:5e38e2924c07 |
---|---|
92 | 92 |
93 try { | 93 try { |
94 // Document should contain: | 94 // Document should contain: |
95 // crosse-sections: | 95 // crosse-sections: |
96 // attribute(id), attribute(km) attribute(n) | 96 // attribute(id), attribute(km) attribute(n) |
97 Document response = client.callService(url, "cross-section-km", doc); | 97 Document response = client.callService( |
98 //<cross-sections><cross-section id="1"><line km="19.5" line-id="189"/>... | 98 url, "cross-section-km", doc); |
99 //<cross-sections><cross-section id="1"> | |
100 //<line km="19.5" line-id="189"/>... | |
99 | 101 |
100 NodeList nodeList = (NodeList) XMLUtils.xpath(response, | 102 NodeList nodeList = (NodeList) XMLUtils.xpath(response, |
101 XPATH_CROSS_SECTIONS, | 103 XPATH_CROSS_SECTIONS, |
102 XPathConstants.NODESET); | 104 XPathConstants.NODESET); |
103 | 105 |