]> source.dussan.org Git - vaadin-framework.git/commitdiff
Optimizing IndexedContainerItem hashCode (or making it practical)
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 14 Aug 2008 08:22:40 +0000 (08:22 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 14 Aug 2008 08:22:40 +0000 (08:22 +0000)
svn changeset:5184/svn branch:trunk

src/com/itmill/toolkit/data/util/IndexedContainer.java

index 648db7ff7e208faf38a3d9d5363e44b8ada74b87..4c614be4bc82dae8ff081328fa7bc09f73177667 100644 (file)
@@ -1109,7 +1109,7 @@ public class IndexedContainer implements Container, Container.Indexed,
          * @return A locally unique hash-code as integer
          */
         public int hashCode() {
-            return getHost().hashCode() ^ itemId.hashCode();
+            return itemId.hashCode();
         }
 
         /**