mirror of https://github.com/apache/lucene.git
LUCENE-4013: make getAndLock pkg-private, as DW is pkg-private so its effectively already pkg-private, but without broken javadocs links
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329024 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a17404983b
commit
2bfe659f8f
|
@ -242,7 +242,9 @@ public abstract class DocumentsWriterPerThreadPool {
|
|||
// don't recycle DWPT by default
|
||||
}
|
||||
|
||||
public abstract ThreadState getAndLock(Thread requestingThread, DocumentsWriter documentsWriter);
|
||||
// you cannot subclass this without being in o.a.l.index package anyway, so
|
||||
// the class is already pkg-private... fix me: see LUCENE-4013
|
||||
abstract ThreadState getAndLock(Thread requestingThread, DocumentsWriter documentsWriter);
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -40,7 +40,7 @@ public class RandomDocumentsWriterPerThreadPool extends
|
|||
}
|
||||
|
||||
@Override
|
||||
public ThreadState getAndLock(Thread requestingThread,
|
||||
ThreadState getAndLock(Thread requestingThread,
|
||||
DocumentsWriter documentsWriter) {
|
||||
ThreadState threadState = null;
|
||||
if (getActiveThreadState() == 0) {
|
||||
|
|
Loading…
Reference in New Issue