[jbosscache-commits] JBoss Cache SVN: r5417 - core/trunk/src/main/java/org/jboss/cache.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Tue Mar 11 21:10:20 EDT 2008


Author: manik.surtani at jboss.com
Date: 2008-03-11 21:10:20 -0400 (Tue, 11 Mar 2008)
New Revision: 5417

Modified:
   core/trunk/src/main/java/org/jboss/cache/InvocationContext.java
Log:
Patched hashcode

Modified: core/trunk/src/main/java/org/jboss/cache/InvocationContext.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/InvocationContext.java	2008-03-11 23:19:01 UTC (rev 5416)
+++ core/trunk/src/main/java/org/jboss/cache/InvocationContext.java	2008-03-12 01:10:20 UTC (rev 5417)
@@ -284,7 +284,7 @@
       if (localRollbackOnly != that.localRollbackOnly) return false;
       if (originLocal != that.originLocal) return false;
       if (txHasMods != that.txHasMods) return false;
-      if (cacheLoaderHasMods!= that.cacheLoaderHasMods) return false;
+      if (cacheLoaderHasMods != that.cacheLoaderHasMods) return false;
       if (globalTransaction != null ? !globalTransaction.equals(that.globalTransaction) : that.globalTransaction != null)
       {
          return false;
@@ -306,6 +306,7 @@
       result = 29 * result + (optionOverrides != null ? optionOverrides.hashCode() : 0);
       result = 29 * result + (originLocal ? 1 : 0);
       result = 29 * result + (txHasMods ? 1 : 0);
+      result = 29 * result + (cacheLoaderHasMods ? 1 : 0);
       result = 29 * result + (localRollbackOnly ? 1 : 0);
       return result;
    }




More information about the jbosscache-commits mailing list