You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by mr...@apache.org on 2009/08/12 17:39:42 UTC
svn commit: r803561 -
/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/RedoLog.java
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.