commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ozeigerm...@apache.org
Subject svn commit: r810640 - in /commons/proper/transaction/branches/TRANSACTION_2/src/java/org/apache/commons/transaction/locking: RWLockManager.java SimpleLockManager.java
Date Wed, 02 Sep 2009 18:12:19 GMT
Author: ozeigermann
Date: Wed Sep  2 18:12:19 2009
New Revision: 810640

URL: http://svn.apache.org/viewvc?rev=810640&view=rev
Log:
Patch applied in response to 

https://issues.apache.org/jira/browse/TRANSACTION-33

Thanks to Shishir Sharma!

Modified:
    commons/proper/transaction/branches/TRANSACTION_2/src/java/org/apache/commons/transaction/locking/RWLockManager.java
    commons/proper/transaction/branches/TRANSACTION_2/src/java/org/apache/commons/transaction/locking/SimpleLockManager.java

Modified: commons/proper/transaction/branches/TRANSACTION_2/src/java/org/apache/commons/transaction/locking/RWLockManager.java
URL: http://svn.apache.org/viewvc/commons/proper/transaction/branches/TRANSACTION_2/src/java/org/apache/commons/transaction/locking/RWLockManager.java?rev=810640&r1=810639&r2=810640&view=diff
==============================================================================
--- commons/proper/transaction/branches/TRANSACTION_2/src/java/org/apache/commons/transaction/locking/RWLockManager.java
(original)
+++ commons/proper/transaction/branches/TRANSACTION_2/src/java/org/apache/commons/transaction/locking/RWLockManager.java
Wed Sep  2 18:12:19 2009
@@ -66,6 +66,7 @@
         removeUnsuedLocks();
 
         locksForThreads.remove(Thread.currentThread());
+        effectiveGlobalTimeouts.remove(Thread.currentThread());
     }
 
     protected void removeUnsuedLocks() {

Modified: commons/proper/transaction/branches/TRANSACTION_2/src/java/org/apache/commons/transaction/locking/SimpleLockManager.java
URL: http://svn.apache.org/viewvc/commons/proper/transaction/branches/TRANSACTION_2/src/java/org/apache/commons/transaction/locking/SimpleLockManager.java?rev=810640&r1=810639&r2=810640&view=diff
==============================================================================
--- commons/proper/transaction/branches/TRANSACTION_2/src/java/org/apache/commons/transaction/locking/SimpleLockManager.java
(original)
+++ commons/proper/transaction/branches/TRANSACTION_2/src/java/org/apache/commons/transaction/locking/SimpleLockManager.java
Wed Sep  2 18:12:19 2009
@@ -108,6 +108,7 @@
         }
 
         locksForThreads.remove(Thread.currentThread());
+        effectiveGlobalTimeouts.remove(Thread.currentThread());
     }
 
 }



Mime
View raw message