changeset 208:8ea4d0824d8f

Changed a return type of a ClientProtocolUtils method. artifacts/trunk@1533 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 21 Mar 2011 14:05:45 +0000
parents b2115f484edb
children 1a3fb29b8b2e
files ChangeLog artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java
diffstat 2 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Mar 15 15:49:24 2011 +0000
+++ b/ChangeLog	Mon Mar 21 14:05:45 2011 +0000
@@ -1,3 +1,9 @@
+2011-03-21  Ingo Weinzierl <ingo@intevation.de>
+
+	* artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
+	  Changed the return type of a method, so that more nodes will be
+	  retrieved.
+
 2011-03-15	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	!!! THIS BREAKS THE GNV ARTIFACTS. !!! TODO: Adjust the imports there.
--- a/artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java	Tue Mar 15 15:49:24 2011 +0000
+++ b/artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java	Mon Mar 21 14:05:45 2011 +0000
@@ -332,11 +332,11 @@
      *
      * @return the select node found in the dynamic UI node.
      */
-    public static Node getSelectNode(Node dynamicNode) {
-        return (Node) XMLUtils.xpath(
+    public static NodeList getSelectNode(Node dynamicNode) {
+        return (NodeList) XMLUtils.xpath(
             dynamicNode,
             XPATH_DATA_SELECT,
-            XPathConstants.NODE,
+            XPathConstants.NODESET,
             ArtifactNamespaceContext.INSTANCE);
     }
 

http://dive4elements.wald.intevation.org