[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/replicated ...
Manik Surtani
msurtani at jboss.com
Tue Jan 30 21:40:22 EST 2007
User: msurtani
Date: 07/01/30 21:40:22
Modified: tests/functional/org/jboss/cache/replicated
SyncReplTxTest.java
Log:
Removed dependency on concurrent.jar
Revision Changes Path
1.20 +3 -4 JBossCache/tests/functional/org/jboss/cache/replicated/SyncReplTxTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SyncReplTxTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/replicated/SyncReplTxTest.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- SyncReplTxTest.java 11 Jan 2007 13:49:07 -0000 1.19
+++ SyncReplTxTest.java 31 Jan 2007 02:40:22 -0000 1.20
@@ -7,7 +7,6 @@
*/
package org.jboss.cache.replicated;
-import EDU.oswego.cs.dl.util.concurrent.FIFOSemaphore;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
@@ -36,13 +35,14 @@
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
+import java.util.concurrent.Semaphore;
/**
* Replicated unit test for sync transactional CacheImpl
* Note: we use DummyTransactionManager for Tx purpose instead of relying on
* jta.
*
- * @version $Revision: 1.19 $
+ * @version $Revision: 1.20 $
*/
public class SyncReplTxTest extends TestCase
{
@@ -52,8 +52,7 @@
private String old_factory = null;
private final String FACTORY = "org.jboss.cache.transaction.DummyContextFactory";
- private FIFOSemaphore lock = new FIFOSemaphore(1);
- private DummyTransactionManager tx_mgr;
+ private Semaphore lock = new Semaphore(1);
private Throwable t1_ex;
private Throwable t2_ex;
More information about the jboss-cvs-commits
mailing list