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/14 20:02:31 UTC

[axis-axis2-java-core] 19/38: Merged r1296062 to the 1.5 branch.

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

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

commit 6de603584232ef75241f7f9b9b4f9635719e6cb8
Author: Andreas Veithen <ve...@apache.org>
AuthorDate: Sun Mar 4 11:29:09 2012 +0000

    Merged r1296062 to the 1.5 branch.
---
 modules/saaj/src/org/apache/axis2/saaj/SOAPEnvelopeImpl.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/saaj/src/org/apache/axis2/saaj/SOAPEnvelopeImpl.java b/modules/saaj/src/org/apache/axis2/saaj/SOAPEnvelopeImpl.java
index 2f9032c..328fae0 100644
--- a/modules/saaj/src/org/apache/axis2/saaj/SOAPEnvelopeImpl.java
+++ b/modules/saaj/src/org/apache/axis2/saaj/SOAPEnvelopeImpl.java
@@ -20,6 +20,7 @@
 package org.apache.axis2.saaj;
 
 import org.apache.axiom.om.OMNode;
+import org.apache.axiom.om.impl.dom.ChildNode;
 import org.apache.axiom.om.impl.dom.DocumentImpl;
 import org.apache.axiom.om.impl.dom.NodeImpl;
 import org.apache.axiom.om.impl.dom.TextImpl;
@@ -201,7 +202,7 @@ public class SOAPEnvelopeImpl extends SOAPElementImpl implements javax.xml.soap.
             doomText.setNextOMSibling((OMNode)firstChild);
             doomText.setPreviousOMSibling(null);
             element.setFirstChild(doomText);
-            ((NodeImpl)firstChild).setPreviousOMSibling(doomText);
+            ((ChildNode)firstChild).setPreviousOMSibling(doomText);
         }
         return this;
     }