mirror of
https://github.com/apache/lucene.git
synced 2025-03-03 14:59:16 +00:00
fix silly repro issue with MockRandomCodec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1069315 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6386f77138
commit
68380e413d
@ -151,7 +151,7 @@ public class MockRandomCodec extends Codec {
|
||||
|
||||
@Override
|
||||
public boolean isIndexTerm(BytesRef term, TermStats stats) {
|
||||
return random.nextInt(gap) == 17;
|
||||
return rand.nextInt(gap) == 17;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user