activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r589330 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/amq/AMQPersistenceAdapter.java
Date Sun, 28 Oct 2007 10:54:36 GMT
Author: rajdavies
Date: Sun Oct 28 03:54:35 2007
New Revision: 589330

URL: http://svn.apache.org/viewvc?rev=589330&view=rev
Log:
tidy up comments

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/amq/AMQPersistenceAdapter.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/amq/AMQPersistenceAdapter.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/amq/AMQPersistenceAdapter.java?rev=589330&r1=589329&r2=589330&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/amq/AMQPersistenceAdapter.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/amq/AMQPersistenceAdapter.java
Sun Oct 28 03:54:35 2007
@@ -350,15 +350,11 @@
 
     /**
      * Cleans up the data files
-     * 
-     * @return
      * @throws IOException
      */
     public void cleanup() {
         try {
-            // Capture the lastDataFile so that we don't delete any data files
-            // after this one.
-            Set<Integer>inProgress = new CopyOnWriteArraySet<Integer>();
+            Set<Integer>inProgress = new HashSet<Integer>();
             for (Set<Integer> set: dataFilesInProgress.values()) {
                 inProgress.addAll(set);
             }



Mime
View raw message