axis-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1134683 - /axis/axis2/java/rampart/trunk/modules/rampart-core/src/main/java/org/apache/rampart/util/Axis2Util.java
Date Sat, 11 Jun 2011 16:28:22 GMT
Author: veithen
Date: Sat Jun 11 16:28:21 2011
New Revision: 1134683

URL: http://svn.apache.org/viewvc?rev=1134683&view=rev
Log:
Fixed a problematic Axiom iterator usage.

Modified:
    axis/axis2/java/rampart/trunk/modules/rampart-core/src/main/java/org/apache/rampart/util/Axis2Util.java

Modified: axis/axis2/java/rampart/trunk/modules/rampart-core/src/main/java/org/apache/rampart/util/Axis2Util.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/rampart/trunk/modules/rampart-core/src/main/java/org/apache/rampart/util/Axis2Util.java?rev=1134683&r1=1134682&r2=1134683&view=diff
==============================================================================
--- axis/axis2/java/rampart/trunk/modules/rampart-core/src/main/java/org/apache/rampart/util/Axis2Util.java
(original)
+++ axis/axis2/java/rampart/trunk/modules/rampart-core/src/main/java/org/apache/rampart/util/Axis2Util.java
Sat Jun 11 16:28:21 2011
@@ -233,7 +233,7 @@ public class Axis2Util {
                     		Iterator children = element.getChildren();
                     		while (children.hasNext()) {
                     			OMNode child = (OMNode)children.next();
-                    			child.detach();
+                    			children.remove();
                     			header.addChild(child);
                     		}
                     		



Mime
View raw message