From a764c0d021cbc35ca035808292ce8d86078783c3 Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Tue, 10 Apr 2012 10:28:24 +0000 Subject: [PATCH] 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 --- .../test/org/apache/lucene/analysis/core/TestRandomChains.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/analysis/common/src/test/org/apache/lucene/analysis/core/TestRandomChains.java b/modules/analysis/common/src/test/org/apache/lucene/analysis/core/TestRandomChains.java index 4f348f57626..4bdd65b9abb 100644 --- a/modules/analysis/common/src/test/org/apache/lucene/analysis/core/TestRandomChains.java +++ b/modules/analysis/common/src/test/org/apache/lucene/analysis/core/TestRandomChains.java @@ -569,9 +569,12 @@ public class TestRandomChains extends BaseTokenStreamTestCase { private T createComponent(Constructor ctor, Object[] args, StringBuilder descr) { try { final T instance = ctor.newInstance(args); + /* if (descr.length() > 0) { descr.append(","); } + */ + descr.append("\n "); descr.append(ctor.getDeclaringClass().getName()); String params = Arrays.toString(args); params = params.substring(1, params.length()-1);