mirror of https://github.com/apache/lucene.git
revert bogus fix (assault against a police officer)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1311113 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
00c2246e44
commit
27dbcaefdc
|
@ -190,7 +190,7 @@ public class TestRandomChains extends BaseTokenStreamTestCase {
|
||||||
// TODO: also look for other variants and handle them special
|
// TODO: also look for other variants and handle them special
|
||||||
int idx = random.nextInt(charfilters.size());
|
int idx = random.nextInt(charfilters.size());
|
||||||
try {
|
try {
|
||||||
Constructor<? extends Reader> c = charfilters.get(idx).getConstructor(Reader.class);
|
Constructor<? extends CharStream> c = charfilters.get(idx).getConstructor(Reader.class);
|
||||||
spec.reader = c.newInstance(spec.reader);
|
spec.reader = c.newInstance(spec.reader);
|
||||||
} catch (NoSuchMethodException e) {
|
} catch (NoSuchMethodException e) {
|
||||||
Constructor<? extends CharStream> c = charfilters.get(idx).getConstructor(CharStream.class);
|
Constructor<? extends CharStream> c = charfilters.get(idx).getConstructor(CharStream.class);
|
||||||
|
|
Loading…
Reference in New Issue