diff dwtx/jface/text/TypedPosition.d @ 160:3678e4f1a766

toHash, toString
author Frank Benoit <benoit@tionex.de>
date Wed, 27 Aug 2008 02:07:22 +0200
parents b6bad70d540a
children 1a5b8f8129df
line wrap: on
line diff
--- a/dwtx/jface/text/TypedPosition.d	Wed Aug 27 01:57:58 2008 +0200
+++ b/dwtx/jface/text/TypedPosition.d	Wed Aug 27 02:07:22 2008 +0200
@@ -217,8 +217,8 @@
      /*
      * @see java.lang.Object#hashCode()
      */
-    public int hashCode() {
-        int type= fType is null ? 0 : fType.hashCode();
-        return super.hashCode() | type;
+    public override hash_t toHash() {
+        int type= fType is null ? 0 : fType.toHash();
+        return super.toHash() | type;
      }
 }