lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bmes...@apache.org
Subject svn commit: r351777 - /lucene/java/trunk/src/test/org/apache/lucene/index/TestSegmentReader.java
Date Fri, 02 Dec 2005 17:26:29 GMT
Author: bmesser
Date: Fri Dec  2 09:26:23 2005
New Revision: 351777

URL: http://svn.apache.org/viewcvs?rev=351777&view=rev
Log:
remove local variable never used to avoid compiler warnings.

Modified:
    lucene/java/trunk/src/test/org/apache/lucene/index/TestSegmentReader.java

Modified: lucene/java/trunk/src/test/org/apache/lucene/index/TestSegmentReader.java
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/test/org/apache/lucene/index/TestSegmentReader.java?rev=351777&r1=351776&r2=351777&view=diff
==============================================================================
--- lucene/java/trunk/src/test/org/apache/lucene/index/TestSegmentReader.java (original)
+++ lucene/java/trunk/src/test/org/apache/lucene/index/TestSegmentReader.java Fri Dec  2 09:26:23
2005
@@ -82,7 +82,7 @@
     assertTrue(deleteReader.hasDeletions() == true);
     assertTrue(deleteReader.numDocs() == 0);
     try {
-      Document test = deleteReader.document(0);
+      deleteReader.document(0);
       fail();
     } catch (IllegalArgumentException e) {
       // expcected exception



Mime
View raw message