mirror of https://github.com/apache/lucene.git
LUCENE-3314: disable check to prevent false fails and expand javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201393 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
82c51029f8
commit
2cdf3fa14d
|
@ -117,7 +117,9 @@ public abstract class TermsEnum {
|
|||
/** Increments the enumeration to the next term.
|
||||
* Returns the resulting term, or null if the end was
|
||||
* hit (which means the enum is unpositioned). The
|
||||
* returned BytesRef may be re-used across calls to next. */
|
||||
* returned BytesRef may be re-used across calls to next.
|
||||
* After this method returns null, do not call it again:
|
||||
* the results are undefined. */
|
||||
public abstract BytesRef next() throws IOException;
|
||||
|
||||
/** Returns current term. Do not call this when the enum
|
||||
|
|
|
@ -408,7 +408,8 @@ public class TestNumericRangeQuery32 extends LuceneTestCase {
|
|||
}
|
||||
last = new BytesRef(cur);
|
||||
}
|
||||
assertNull(termEnum.next());
|
||||
// LUCENE-3314: the results after next() already returned null are undefined,
|
||||
// assertNull(termEnum.next());
|
||||
return count;
|
||||
}
|
||||
|
||||
|
|
|
@ -428,7 +428,8 @@ public class TestNumericRangeQuery64 extends LuceneTestCase {
|
|||
}
|
||||
last = new BytesRef(cur);
|
||||
}
|
||||
assertNull(termEnum.next());
|
||||
// LUCENE-3314: the results after next() already returned null are undefined,
|
||||
// assertNull(termEnum.next());
|
||||
return count;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue