Fix erratic camelcase

This commit is contained in:
Atri Sharma 2019-09-13 18:39:25 +05:30 committed by Michael Sokolov
parent 477c28c38d
commit 815bc10c07
1 changed files with 2 additions and 2 deletions

View File

@ -114,7 +114,7 @@ public class TestTopDocsCollector extends LuceneTestCase {
return tdc; return tdc;
} }
private TopDocs doConcurrentSearchWithThreshold(int numResults, int thresHold) throws IOException { private TopDocs doConcurrentSearchWithThreshold(int numResults, int threshold) throws IOException {
Query q = new MatchAllDocsQuery(); Query q = new MatchAllDocsQuery();
ExecutorService service = new ThreadPoolExecutor(4, 4, 0L, TimeUnit.MILLISECONDS, ExecutorService service = new ThreadPoolExecutor(4, 4, 0L, TimeUnit.MILLISECONDS,
new LinkedBlockingQueue<Runnable>(), new LinkedBlockingQueue<Runnable>(),
@ -122,7 +122,7 @@ public class TestTopDocsCollector extends LuceneTestCase {
IndexSearcher searcher = new IndexSearcher(reader, service); IndexSearcher searcher = new IndexSearcher(reader, service);
CollectorManager collectorManager = TopScoreDocCollector.createSharedManager(numResults, CollectorManager collectorManager = TopScoreDocCollector.createSharedManager(numResults,
null, thresHold); null, threshold);
TopDocs tdc = (TopDocs) searcher.search(q, collectorManager); TopDocs tdc = (TopDocs) searcher.search(q, collectorManager);