You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by ms...@apache.org on 2006/10/16 20:18:24 UTC
svn commit: r464605 -
/incubator/ode/trunk/bpel-el-xpath20/src/main/java/org/apache/ode/bpel/elang/xpath20/runtime/XPath20ExpressionRuntime.java
Author: mszefler
Date: Mon Oct 16 11:18:23 2006
New Revision: 464605
URL: http://svn.apache.org/viewvc?view=rev&rev=464605
Log:
Missing else statement.
Modified:
incubator/ode/trunk/bpel-el-xpath20/src/main/java/org/apache/ode/bpel/elang/xpath20/runtime/XPath20ExpressionRuntime.java
Modified: incubator/ode/trunk/bpel-el-xpath20/src/main/java/org/apache/ode/bpel/elang/xpath20/runtime/XPath20ExpressionRuntime.java
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-el-xpath20/src/main/java/org/apache/ode/bpel/elang/xpath20/runtime/XPath20ExpressionRuntime.java?view=diff&rev=464605&r1=464604&r2=464605
==============================================================================
--- incubator/ode/trunk/bpel-el-xpath20/src/main/java/org/apache/ode/bpel/elang/xpath20/runtime/XPath20ExpressionRuntime.java (original)
+++ incubator/ode/trunk/bpel-el-xpath20/src/main/java/org/apache/ode/bpel/elang/xpath20/runtime/XPath20ExpressionRuntime.java Mon Oct 16 11:18:23 2006
@@ -109,11 +109,10 @@
d.appendChild(wrapper);
result = Collections.singletonList(text);
}
- }
- if (someRes instanceof NodeList) {
+ } else if (someRes instanceof NodeList) {
NodeList retVal = (NodeList) someRes;
result = new ArrayList(retVal.getLength());
- for(int m = 0; m < retVal.getLength(); m++) {
+ for(int m = 0; m < retVal.getLength(); ++m) {
Node val = retVal.item(m);
if (val.getNodeType() == Node.DOCUMENT_NODE) val = ((Document)val).getDocumentElement();
result.add(val);