Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 2436 invoked from network); 28 Oct 2007 10:54:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Oct 2007 10:54:59 -0000 Received: (qmail 4201 invoked by uid 500); 28 Oct 2007 10:54:47 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 4166 invoked by uid 500); 28 Oct 2007 10:54:46 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 4157 invoked by uid 99); 28 Oct 2007 10:54:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Oct 2007 03:54:46 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Oct 2007 10:55:03 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 5B1091A9832; Sun, 28 Oct 2007 03:54:36 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@activemq.apache.org From: rajdavies@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071028105436.5B1091A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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. - SetinProgress = new CopyOnWriteArraySet(); + SetinProgress = new HashSet(); for (Set set: dataFilesInProgress.values()) { inProgress.addAll(set); }