fix silly minor bug in _TestUtil.randomFixedLengthUnicodeString

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1152778 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2011-08-01 13:58:19 +00:00
parent 5fca7fc938
commit ed828e46ff
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ public class _TestUtil {
} else if (t <= 1) {
chars[i++] = (char) random.nextInt(0x80);
} else if (2 == t) {
chars[i++] = (char) nextInt(random, 0x80, 0x800);
chars[i++] = (char) nextInt(random, 0x80, 0x7ff);
} else if (3 == t) {
chars[i++] = (char) nextInt(random, 0x800, 0xd7ff);
} else if (4 == t) {