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:
Michael McCandless 2011-02-10 10:01:02 +00:00
parent 6386f77138
commit 68380e413d

View File

@ -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