lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r1304826 - /lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/_TestUtil.java
Date Sat, 24 Mar 2012 15:41:02 GMT
Author: rmuir
Date: Sat Mar 24 15:41:01 2012
New Revision: 1304826

URL: http://svn.apache.org/viewvc?rev=1304826&view=rev
Log:
use a-z rather than only a-f in randomSimpleString

Modified:
    lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/_TestUtil.java

Modified: lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/_TestUtil.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/_TestUtil.java?rev=1304826&r1=1304825&r2=1304826&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/_TestUtil.java
(original)
+++ lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/_TestUtil.java
Sat Mar 24 15:41:01 2012
@@ -204,7 +204,7 @@ public class _TestUtil {
     }
     final char[] buffer = new char[end];
     for (int i = 0; i < end; i++) {
-      buffer[i] = (char) _TestUtil.nextInt(r, 97, 102);
+      buffer[i] = (char) _TestUtil.nextInt(r, 'a', 'z');
     }
     return new String(buffer, 0, end);
   }



Mime
View raw message