lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r949882 - /lucene/java/branches/lucene_3_0/src/java/org/apache/lucene/index/DocumentsWriter.java
Date Mon, 31 May 2010 22:42:56 GMT
Author: mikemccand
Date: Mon May 31 22:42:56 2010
New Revision: 949882

URL: http://svn.apache.org/viewvc?rev=949882&view=rev
Log:
LUCENE-2360: remove dead code

Modified:
    lucene/java/branches/lucene_3_0/src/java/org/apache/lucene/index/DocumentsWriter.java

Modified: lucene/java/branches/lucene_3_0/src/java/org/apache/lucene/index/DocumentsWriter.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_3_0/src/java/org/apache/lucene/index/DocumentsWriter.java?rev=949882&r1=949881&r2=949882&view=diff
==============================================================================
--- lucene/java/branches/lucene_3_0/src/java/org/apache/lucene/index/DocumentsWriter.java
(original)
+++ lucene/java/branches/lucene_3_0/src/java/org/apache/lucene/index/DocumentsWriter.java
Mon May 31 22:42:56 2010
@@ -208,8 +208,6 @@ final class DocumentsWriter {
         setLength(0);
         
         // Recycle the blocks
-        final int blockCount = buffers.size();
-        
         perDocAllocator.recycleByteBlocks(buffers);
         buffers.clear();
         sizeInBytes = 0;



Mime
View raw message