You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2005/06/21 00:50:52 UTC
cvs commit: ws-axis/java/src/org/apache/axis/message NodeImpl.java
dims 2005/06/20 15:50:52
Modified: java/src/org/apache/axis/message NodeImpl.java
Log:
Fix for AXIS-2068 - Missing setDirty flags in SAAJ tree modification (detachNode and setParent)
from David Blevins
Revision Changes Path
1.16 +2 -0 ws-axis/java/src/org/apache/axis/message/NodeImpl.java
Index: NodeImpl.java
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/message/NodeImpl.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- NodeImpl.java 9 Jun 2005 16:36:27 -0000 1.15
+++ NodeImpl.java 20 Jun 2005 22:50:52 -0000 1.16
@@ -656,6 +656,7 @@
* application references to it.
*/
public void detachNode() {
+ setDirty(true);
if (parent != null) {
parent.removeChild(this);
parent = null;
@@ -790,6 +791,7 @@
if (parent != null) {
parent.appendChild(this);
}
+ this.setDirty(true);
this.parent = parent;
}