mirror of https://github.com/apache/lucene.git
LUCENE-3969: add whitespace to analyzer description
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3969@1311667 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9e98ec186c
commit
a764c0d021
|
@ -569,9 +569,12 @@ public class TestRandomChains extends BaseTokenStreamTestCase {
|
||||||
private <T> T createComponent(Constructor<T> ctor, Object[] args, StringBuilder descr) {
|
private <T> T createComponent(Constructor<T> ctor, Object[] args, StringBuilder descr) {
|
||||||
try {
|
try {
|
||||||
final T instance = ctor.newInstance(args);
|
final T instance = ctor.newInstance(args);
|
||||||
|
/*
|
||||||
if (descr.length() > 0) {
|
if (descr.length() > 0) {
|
||||||
descr.append(",");
|
descr.append(",");
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
descr.append("\n ");
|
||||||
descr.append(ctor.getDeclaringClass().getName());
|
descr.append(ctor.getDeclaringClass().getName());
|
||||||
String params = Arrays.toString(args);
|
String params = Arrays.toString(args);
|
||||||
params = params.substring(1, params.length()-1);
|
params = params.substring(1, params.length()-1);
|
||||||
|
|
Loading…
Reference in New Issue