mirror of https://github.com/apache/lucene.git
LUCENE-3969: add comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3969@1324777 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
974ea5ee34
commit
5475644b59
|
@ -387,6 +387,10 @@ public abstract class BaseTokenStreamTestCase extends LuceneTestCase {
|
||||||
final boolean useCharFilter;
|
final boolean useCharFilter;
|
||||||
final boolean simple;
|
final boolean simple;
|
||||||
final boolean offsetsAreCorrect;
|
final boolean offsetsAreCorrect;
|
||||||
|
|
||||||
|
// NOTE: not volatile because we don't want the tests to
|
||||||
|
// add memory barriers (ie alter how threads
|
||||||
|
// interact)... so this is just "best effort":
|
||||||
public boolean failed;
|
public boolean failed;
|
||||||
|
|
||||||
AnalysisThread(long seed, Analyzer a, int iterations, int maxWordLength, boolean useCharFilter, boolean simple, boolean offsetsAreCorrect) {
|
AnalysisThread(long seed, Analyzer a, int iterations, int maxWordLength, boolean useCharFilter, boolean simple, boolean offsetsAreCorrect) {
|
||||||
|
|
Loading…
Reference in New Issue