You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2011/11/16 05:43:43 UTC

svn commit: r1202526 - /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/dom/Element.java

Author: hlship
Date: Wed Nov 16 04:43:43 2011
New Revision: 1202526

URL: http://svn.apache.org/viewvc?rev=1202526&view=rev
Log:
TAP5-953: org.apache.tapestry5.dom.Node.remove() should set nextSibling to null

Modified:
    tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/dom/Element.java

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/dom/Element.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/dom/Element.java?rev=1202526&r1=1202525&r2=1202526&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/dom/Element.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/dom/Element.java Wed Nov 16 04:43:43 2011
@@ -962,6 +962,8 @@ public final class Element extends Node
                     lastChild = prior != null ? prior : null;
                 }
 
+                node.nextSibling = null;
+
                 return;
             }