lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r1040372 - /lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/index/TermVectorsReader.java
Date Tue, 30 Nov 2010 00:57:53 GMT
Author: mikemccand
Date: Tue Nov 30 00:57:53 2010
New Revision: 1040372

URL: http://svn.apache.org/viewvc?rev=1040372&view=rev
Log:
fix intermittent test fail

Modified:
    lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/index/TermVectorsReader.java

Modified: lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/index/TermVectorsReader.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/index/TermVectorsReader.java?rev=1040372&r1=1040371&r2=1040372&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/index/TermVectorsReader.java
(original)
+++ lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/index/TermVectorsReader.java
Tue Nov 30 00:57:53 2010
@@ -88,7 +88,6 @@ class TermVectorsReader implements Clone
         assert format == tvfFormat;
 
         if (format >= FORMAT_VERSION2) {
-          assert (tvx.length()-FORMAT_SIZE) % 16 == 0;
           numTotalDocs = (int) (tvx.length() >> 4);
         } else {
           assert (tvx.length()-FORMAT_SIZE) % 8 == 0;



Mime
View raw message