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

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Sat Apr 12 18:59:31 EDT 2008


Author: manik.surtani at jboss.com
Date: 2008-04-12 18:59:30 -0400 (Sat, 12 Apr 2008)
New Revision: 5540

Modified:
   core/trunk/src/main/java/org/jboss/cache/InvocationContext.java
Log:
Fixed typo

Modified: core/trunk/src/main/java/org/jboss/cache/InvocationContext.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/InvocationContext.java	2008-04-12 15:34:16 UTC (rev 5539)
+++ core/trunk/src/main/java/org/jboss/cache/InvocationContext.java	2008-04-12 22:59:30 UTC (rev 5540)
@@ -6,14 +6,14 @@
  */
 package org.jboss.cache;
 
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.jboss.cache.commands.CacheCommand;
 import org.jboss.cache.config.Option;
 import org.jboss.cache.lock.NodeLock;
 import org.jboss.cache.marshall.MethodCall;
 import org.jboss.cache.transaction.GlobalTransaction;
-import org.jboss.cache.commands.CacheCommand;
 import org.jboss.cache.transaction.TxUtil;
-import org.apache.commons.logging.LogFactory;
-import org.apache.commons.logging.Log;
 
 import javax.transaction.Transaction;
 import java.util.ArrayList;
@@ -184,9 +184,9 @@
    }
 
    /**
-    for non-tx calls, release any locks acquired.  These used to be in a separate Map<Thread, List<NodeLock>> called a lockTable,
-    but that has been dropped in facour of storing the invocation-specific locks in the invocation context.  Cleaner to have it all
-    in one place, plus much more performant.
+    * for non-tx calls, release any locks acquired.  These used to be in a separate Map<Thread, List<NodeLock>> called a lockTable,
+    * but that has been dropped in facour of storing the invocation-specific locks in the invocation context.  Cleaner to have it all
+    * in one place, plus much more performant.
     */
    public void clearInvocationLocksAcquired()
    {
@@ -386,9 +386,8 @@
     * If the acq timeout if overwritten for current call, then return that one.
     * If not overwritten return default value.
     */
-   public long getContextLockAcquisitionTimeout(long defaultFalue)
+   public long getContextLockAcquisitionTimeout(long timeout)
    {
-      long timeout = defaultFalue;
       if (getOptionOverrides() != null
             && getOptionOverrides().getLockAcquisitionTimeout() >= 0)
       {




More information about the jbosscache-commits mailing list