mirror of https://github.com/apache/lucene.git
remove commented out nocommits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@982084 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9c5498e0e7
commit
2de913af11
|
@ -5073,8 +5073,6 @@ public class TestIndexWriter extends LuceneTestCase {
|
||||||
public void testRandomStoredFields() throws IOException {
|
public void testRandomStoredFields() throws IOException {
|
||||||
File index = _TestUtil.getTempDir("lucenerandfields");
|
File index = _TestUtil.getTempDir("lucenerandfields");
|
||||||
Directory dir = FSDirectory.open(index);
|
Directory dir = FSDirectory.open(index);
|
||||||
// nocommit seed
|
|
||||||
//Random rand = newRandom(1864464794067677128L);
|
|
||||||
Random rand = newRandom();
|
Random rand = newRandom();
|
||||||
RandomIndexWriter w = new RandomIndexWriter(rand, dir, newIndexWriterConfig(rand, TEST_VERSION_CURRENT, new MockAnalyzer()).setMaxBufferedDocs(_TestUtil.nextInt(rand, 5, 20)));
|
RandomIndexWriter w = new RandomIndexWriter(rand, dir, newIndexWriterConfig(rand, TEST_VERSION_CURRENT, new MockAnalyzer()).setMaxBufferedDocs(_TestUtil.nextInt(rand, 5, 20)));
|
||||||
//w.w.setInfoStream(System.out);
|
//w.w.setInfoStream(System.out);
|
||||||
|
|
|
@ -102,9 +102,6 @@ public class _TestUtil {
|
||||||
for (int i = 0; i < end; i++) {
|
for (int i = 0; i < end; i++) {
|
||||||
int t = r.nextInt(5);
|
int t = r.nextInt(5);
|
||||||
|
|
||||||
// nocommit
|
|
||||||
//buffer[i] = (char) nextInt(r, 0x41, 0x61);
|
|
||||||
|
|
||||||
if (0 == t && i < end - 1) {
|
if (0 == t && i < end - 1) {
|
||||||
// Make a surrogate pair
|
// Make a surrogate pair
|
||||||
// High surrogate
|
// High surrogate
|
||||||
|
|
Loading…
Reference in New Issue