Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/WaterlevelPairSelectState.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 | 28df64078f27 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8855:d7c005e12af0 | 8856:5e38e2924c07 |
---|---|
80 String name, | 80 String name, |
81 CallContext context) | 81 CallContext context) |
82 { | 82 { |
83 log.debug("createItems: " + name); | 83 log.debug("createItems: " + name); |
84 if (name.equals("diffids")) { | 84 if (name.equals("diffids")) { |
85 Element item = ProtocolUtils.createArtNode(cr, "item", null, null); | 85 Element item = ProtocolUtils.createArtNode( |
86 Element label = ProtocolUtils.createArtNode(cr, "label", null, null); | 86 cr, "item", null, null); |
87 Element value = ProtocolUtils.createArtNode(cr, "value", null, null); | 87 Element label = ProtocolUtils.createArtNode( |
88 cr, "label", null, null); | |
89 Element value = ProtocolUtils.createArtNode( | |
90 cr, "value", null, null); | |
88 D4EArtifact flys = (D4EArtifact) artifact; | 91 D4EArtifact flys = (D4EArtifact) artifact; |
89 String s = flys.getDataAsString("diffids"); | 92 String s = flys.getDataAsString("diffids"); |
90 value.setTextContent(s); | 93 value.setTextContent(s); |
91 item.appendChild(label); | 94 item.appendChild(label); |
92 item.appendChild(value); | 95 item.appendChild(value); |