changed check for equals() from ESNode to IPathElement

This commit is contained in:
hns 2001-08-29 18:17:44 +00:00
parent 936a9de0e8
commit 9734e347a9

View file

@ -250,7 +250,7 @@ public class EcmaScriptEvaluateVisitor
// ESNode wrappers must be checked with equals() because // ESNode wrappers must be checked with equals() because
// it's possible that different wrappers wrap the same node! // it's possible that different wrappers wrap the same node!
if (v1 instanceof helma.framework.core.ESNode) { if (v1 instanceof helma.framework.IPathElement) {
return v1.equals (v2); return v1.equals (v2);
} }
@ -1362,3 +1362,4 @@ public class EcmaScriptEvaluateVisitor
} }
} }