From 9734e347a955bcd41cd5c6fd1c39f2806b3221ed Mon Sep 17 00:00:00 2001 From: hns Date: Wed, 29 Aug 2001 18:17:44 +0000 Subject: [PATCH] changed check for equals() from ESNode to IPathElement --- src/FESI/Interpreter/EcmaScriptEvaluateVisitor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/FESI/Interpreter/EcmaScriptEvaluateVisitor.java b/src/FESI/Interpreter/EcmaScriptEvaluateVisitor.java index 2819e39e..db8bc191 100644 --- a/src/FESI/Interpreter/EcmaScriptEvaluateVisitor.java +++ b/src/FESI/Interpreter/EcmaScriptEvaluateVisitor.java @@ -250,7 +250,7 @@ public class EcmaScriptEvaluateVisitor // ESNode wrappers must be checked with equals() because // 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); } @@ -1362,3 +1362,4 @@ public class EcmaScriptEvaluateVisitor } } +