lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r982084 - in /lucene/dev/trunk/lucene/src/test/org/apache/lucene: index/TestIndexWriter.java util/_TestUtil.java
Date Tue, 03 Aug 2010 23:26:58 GMT
Author: mikemccand
Date: Tue Aug  3 23:26:58 2010
New Revision: 982084

URL: http://svn.apache.org/viewvc?rev=982084&view=rev
Log:
remove commented out nocommits

Modified:
    lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/TestIndexWriter.java
    lucene/dev/trunk/lucene/src/test/org/apache/lucene/util/_TestUtil.java

Modified: lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/TestIndexWriter.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/TestIndexWriter.java?rev=982084&r1=982083&r2=982084&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/TestIndexWriter.java (original)
+++ lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/TestIndexWriter.java Tue Aug
 3 23:26:58 2010
@@ -5073,8 +5073,6 @@ public class TestIndexWriter extends Luc
   public void testRandomStoredFields() throws IOException {
     File index = _TestUtil.getTempDir("lucenerandfields");
     Directory dir = FSDirectory.open(index);
-    // nocommit seed
-    //Random rand = newRandom(1864464794067677128L);
     Random rand = newRandom();
     RandomIndexWriter w = new RandomIndexWriter(rand, dir, newIndexWriterConfig(rand, TEST_VERSION_CURRENT,
new MockAnalyzer()).setMaxBufferedDocs(_TestUtil.nextInt(rand, 5, 20)));
     //w.w.setInfoStream(System.out);

Modified: lucene/dev/trunk/lucene/src/test/org/apache/lucene/util/_TestUtil.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/test/org/apache/lucene/util/_TestUtil.java?rev=982084&r1=982083&r2=982084&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/src/test/org/apache/lucene/util/_TestUtil.java (original)
+++ lucene/dev/trunk/lucene/src/test/org/apache/lucene/util/_TestUtil.java Tue Aug  3 23:26:58
2010
@@ -102,9 +102,6 @@ public class _TestUtil {
     for (int i = 0; i < end; i++) {
       int t = r.nextInt(5);
 
-      // nocommit
-      //buffer[i] = (char) nextInt(r, 0x41, 0x61);
-
       if (0 == t && i < end - 1) {
         // Make a surrogate pair
         // High surrogate



Mime
View raw message