[hornetq-commits] JBoss hornetq SVN: r9604 - branches/Branch_2_1/src/main/org/hornetq/core/journal/impl.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Aug 27 11:57:51 EDT 2010


Author: clebert.suconic at jboss.com
Date: 2010-08-27 11:57:50 -0400 (Fri, 27 Aug 2010)
New Revision: 9604

Modified:
   branches/Branch_2_1/src/main/org/hornetq/core/journal/impl/JournalFilesRepository.java
Log:
tweak

Modified: branches/Branch_2_1/src/main/org/hornetq/core/journal/impl/JournalFilesRepository.java
===================================================================
--- branches/Branch_2_1/src/main/org/hornetq/core/journal/impl/JournalFilesRepository.java	2010-08-27 15:56:15 UTC (rev 9603)
+++ branches/Branch_2_1/src/main/org/hornetq/core/journal/impl/JournalFilesRepository.java	2010-08-27 15:57:50 UTC (rev 9604)
@@ -208,21 +208,6 @@
 
    public JournalFile pollLastDataFile()
    {
-      /*java.util.Iterator<JournalFile> iter = dataFiles.iterator();
-
-      JournalFile currentFile = null;
-      while (iter.hasNext())
-      {
-         currentFile = iter.next();
-
-         if (!iter.hasNext())
-         {
-            iter.remove();
-         }
-      } 
-      
-      return currentFile; */
-
       return dataFiles.pollLast();
    }
 



More information about the hornetq-commits mailing list