jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r638406 - /jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/ConcurrentCheckinMixedTransactionTest.java
Date Tue, 18 Mar 2008 15:13:14 GMT
Author: mreutegg
Date: Tue Mar 18 08:13:12 2008
New Revision: 638406

URL: http://svn.apache.org/viewvc?rev=638406&view=rev
Log:
Remove unused code

Modified:
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/ConcurrentCheckinMixedTransactionTest.java

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/ConcurrentCheckinMixedTransactionTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/ConcurrentCheckinMixedTransactionTest.java?rev=638406&r1=638405&r2=638406&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/ConcurrentCheckinMixedTransactionTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/ConcurrentCheckinMixedTransactionTest.java
Tue Mar 18 08:13:12 2008
@@ -27,9 +27,6 @@
 import javax.transaction.HeuristicMixedException;
 import javax.transaction.HeuristicRollbackException;
 import javax.transaction.RollbackException;
-import java.util.Collections;
-import java.util.ArrayList;
-import java.util.List;
 
 /**
  * <code>ConcurrentCheckinMixedTransactionTest</code> performs concurrent
@@ -43,7 +40,6 @@
     private static final int RUN_NUM_SECONDS = 20;
 
     public void testCheckInOut() throws RepositoryException {
-        final List exceptions = Collections.synchronizedList(new ArrayList());
         final long end = System.currentTimeMillis() + RUN_NUM_SECONDS * 1000;
         // tasks with even ids run within transactions
         final int[] taskId = new int[1];
@@ -95,8 +91,5 @@
                 }
             }
         }, NUM_THREADS);
-        if (!exceptions.isEmpty()) {
-            fail(((RepositoryException) exceptions.get(0)).getMessage());
-        }
     }
 }



Mime
View raw message