jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r1435058 - /jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/store/StoredNodeAsState.java
Date Fri, 18 Jan 2013 09:05:38 GMT
Author: stefan
Date: Fri Jan 18 09:05:37 2013
New Revision: 1435058

URL: http://svn.apache.org/viewvc?rev=1435058&view=rev
Log:
OAK-567: DiffBuilder performance problem

improvement proposed by michael

Modified:
    jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/store/StoredNodeAsState.java

Modified: jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/store/StoredNodeAsState.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/store/StoredNodeAsState.java?rev=1435058&r1=1435057&r2=1435058&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/store/StoredNodeAsState.java
(original)
+++ jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/store/StoredNodeAsState.java
Fri Jan 18 09:05:37 2013
@@ -188,4 +188,8 @@ class StoredNodeAsState extends Abstract
         return super.equals(that);
     }
 
+    @Override
+    public int hashCode() {
+        return node.getId().hashCode();
+    }
 }



Mime
View raw message