< prev index next >

src/jdk.jdi/share/classes/com/sun/tools/jdi/ObjectReferenceImpl.java

Print this page
*** 145,13 ***
          }
      }
  
      public boolean equals(Object obj) {
          if ((obj != null) && (obj instanceof ObjectReferenceImpl)) {
!             ObjectReferenceImpl other = (ObjectReferenceImpl)obj;
              return (ref() == other.ref()) &&
!                    super.equals(obj);
          } else {
              return false;
          }
      }
  
--- 145,13 ---
          }
      }
  
      public boolean equals(Object obj) {
          if ((obj != null) && (obj instanceof ObjectReferenceImpl)) {
!             ObjectReferenceImpl other = (ObjectReferenceImpl) obj;
              return (ref() == other.ref()) &&
!                     super.equals(obj);
          } else {
              return false;
          }
      }
  
< prev index next >