You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-commits@ws.apache.org by da...@apache.org on 2007/09/02 18:47:50 UTC
svn commit: r572027 -
/webservices/muse/trunk/modules/muse-core/src/org/apache/muse/core/proxy/ReflectionProxyHandler.java
Author: danj
Date: Sun Sep 2 09:47:49 2007
New Revision: 572027
URL: http://svn.apache.org/viewvc?rev=572027&view=rev
Log:
read the suggested patch wrong - there should not be parentheses around the second and third checks in the fromXML() if block.
Modified:
webservices/muse/trunk/modules/muse-core/src/org/apache/muse/core/proxy/ReflectionProxyHandler.java
Modified: webservices/muse/trunk/modules/muse-core/src/org/apache/muse/core/proxy/ReflectionProxyHandler.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-core/src/org/apache/muse/core/proxy/ReflectionProxyHandler.java?rev=572027&r1=572026&r2=572027&view=diff
==============================================================================
--- webservices/muse/trunk/modules/muse-core/src/org/apache/muse/core/proxy/ReflectionProxyHandler.java (original)
+++ webservices/muse/trunk/modules/muse-core/src/org/apache/muse/core/proxy/ReflectionProxyHandler.java Sun Sep 2 09:47:49 2007
@@ -111,7 +111,7 @@
Element[] subChildren = XmlUtils.getAllElements(xml);
Class returnType = getReturnType();
- if (subChildren.length == 0 || (subChildren.length > 1 || returnType.isArray()))
+ if (subChildren.length == 0 || subChildren.length > 1 || returnType.isArray())
child = xml;
else
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-commits-help@ws.apache.org