diff --git a/ext/java/nokogiri/XmlNode.java b/ext/java/nokogiri/XmlNode.java index 265cb77263..301f069831 100644 --- a/ext/java/nokogiri/XmlNode.java +++ b/ext/java/nokogiri/XmlNode.java @@ -464,9 +464,6 @@ public void relink_namespace(ThreadContext context) { return; } - // TODO: this feels kind of weird, why are we clearing the XmlNode - // cache here !!! - clearCachedNode(node); Element e = (Element) node; // disable error checking to prevent lines like the following