[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] Patch: FYI: fix PR classpath/25426
From: |
Tom Tromey |
Subject: |
[cp-patches] Patch: FYI: fix PR classpath/25426 |
Date: |
15 Dec 2005 11:28:31 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
I'm checking this in to classpath and gcj 4.1.
This is the patch from PR 25426. On irc Chris Burdess said it looked
reasonable.
Tom
2005-12-15 Caolan McNamara <address@hidden>
PR classpath/25426:
* gnu/xml/dom/DomNode.java (detach): Check whether current is
already null.
Index: gnu/xml/dom/DomNode.java
===================================================================
RCS file: /cvsroot/classpath/classpath/gnu/xml/dom/DomNode.java,v
retrieving revision 1.7
diff -u -r1.7 DomNode.java
--- gnu/xml/dom/DomNode.java 2 Jul 2005 20:32:15 -0000 1.7
+++ gnu/xml/dom/DomNode.java 15 Dec 2005 18:26:40 -0000
@@ -1271,7 +1271,8 @@
void detach()
{
- current.detach();
+ if (current != null)
+ current.detach();
current = null;
DomNode.this.removeEventListener("DOMNodeInserted", this, true);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] Patch: FYI: fix PR classpath/25426,
Tom Tromey <=