# HG changeset patch # User Ingo Weinzierl # Date 1300716345 0 # Node ID 8ea4d0824d8fa7fbe41c9ecec727a0794ffc0747 # Parent b2115f484edb2df8a6dd6c38972adf56165a1b2e Changed a return type of a ClientProtocolUtils method. artifacts/trunk@1533 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r b2115f484edb -r 8ea4d0824d8f ChangeLog --- 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 + + * 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 !!! THIS BREAKS THE GNV ARTIFACTS. !!! TODO: Adjust the imports there. diff -r b2115f484edb -r 8ea4d0824d8f artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java --- 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); }