jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r803561 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/RedoLog.java
Date Wed, 12 Aug 2009 15:39:42 GMT
Author: mreutegg
Date: Wed Aug 12 15:39:42 2009
New Revision: 803561

URL: http://svn.apache.org/viewvc?rev=803561&view=rev
Log:
JCR-2259: Remove unused method RedoLog.clear()

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/RedoLog.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/RedoLog.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/RedoLog.java?rev=803561&r1=803560&r2=803561&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/RedoLog.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/RedoLog.java
Wed Aug 12 15:39:42 2009
@@ -188,19 +188,6 @@
     }
 
     /**
-     * Clears the redo log.
-     * @throws IOException if the redo log cannot be cleared.
-     */
-    void clear() throws IOException {
-        if (out != null) {
-            out.close();
-            out = null;
-        }
-        dir.deleteFile(fileName);
-        entryCount = 0;
-    }
-
-    /**
      * Closes this redo log.
      *
      * @throws IOException if an error occurs while flushing pending writes.



Mime
View raw message