You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by bi...@apache.org on 2020/04/16 04:04:30 UTC

[axis-axis2-java-sandesha] 28/48: Merged r1187907 to the 1.6 branch.

This is an automated email from the ASF dual-hosted git repository.

billblough pushed a commit to branch 1_6
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-sandesha.git

commit f88053027341f450e4a56f7c56eb675f03f05370
Author: Andreas Veithen <ve...@apache.org>
AuthorDate: Mon Mar 12 20:26:42 2012 +0000

    Merged r1187907 to the 1.6 branch.
---
 modules/core/src/main/java/org/apache/sandesha2/RMMsgContext.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/core/src/main/java/org/apache/sandesha2/RMMsgContext.java b/modules/core/src/main/java/org/apache/sandesha2/RMMsgContext.java
index 1c4d61e..0d4ce8e 100644
--- a/modules/core/src/main/java/org/apache/sandesha2/RMMsgContext.java
+++ b/modules/core/src/main/java/org/apache/sandesha2/RMMsgContext.java
@@ -125,7 +125,7 @@ public class RMMsgContext {
 				while(existingHeaders.hasNext()){
 					OMElement oe = (OMElement)existingHeaders.next();
 					if(rmNamespaceValue.equals(oe.getNamespace().getNamespaceURI())){
-						oe.detach();
+						existingHeaders.remove();
 					}
 				}
 			}