axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thil...@apache.org
Subject svn commit: r209219 - /webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportUtils.java
Date Tue, 05 Jul 2005 04:54:05 GMT
Author: thilina
Date: Mon Jul  4 21:54:04 2005
New Revision: 209219

URL: http://svn.apache.org/viewcvs?rev=209219&view=rev
Log:
A bug fix to Searching for optimized content in the envelope

Modified:
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportUtils.java

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportUtils.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportUtils.java?rev=209219&r1=209218&r2=209219&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportUtils.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportUtils.java
Mon Jul  4 21:54:04 2005
@@ -212,7 +212,7 @@
 	private static boolean isOptimised(OMElement element) {
 		Iterator childrenIter = element.getChildren();
         boolean isOptimized = false;
-		while (childrenIter.hasNext()) {
+		while (childrenIter.hasNext()&& !isOptimized) {
 			OMNode node = (OMNode) childrenIter.next();
 			if (OMNode.TEXT_NODE == node.getType()
 					&& ((OMText) node).isOptimized()) {



Mime
View raw message