< prev index next >

src/jdk.jextract/share/classes/com/sun/tools/jextract/tree/Tree.java

Print this page

        

@@ -85,11 +85,11 @@
 
         if (!(obj instanceof Tree)) {
             return false;
         }
 
-        return c.equalCursor(((Tree)obj).cursor());
+        return c.equals(((Tree)obj).cursor());
     }
 
     @Override
     public final int hashCode() {
         return c.hashCode();
< prev index next >