< prev index next >
jaxp/src/java.xml/share/classes/com/sun/org/apache/xml/internal/dtm/ref/DTMDefaultBase.java
Print this page
@@ -935,18 +935,10 @@
// Optimization: use the DTMManagerDefault's fast DTMID-to-offsets
// table. I'm not wild about this solution but this operation
// needs need extreme speed.
int whichDTMindex=nodeHandle>>>DTMManager.IDENT_DTM_NODE_BITS;
-
- // %REVIEW% Wish I didn't have to perform the pre-test, but
- // someone is apparently asking DTMs whether they contain nodes
- // which really don't belong to them. That's probably a bug
- // which should be fixed, but until it is:
- if(m_mgrDefault.m_dtms[whichDTMindex]!=this)
- return NULL;
- else
return
m_mgrDefault.m_dtm_offsets[whichDTMindex]
| (nodeHandle & DTMManager.IDENT_NODE_DEFAULT);
}
< prev index next >