LUCENE-3023: more cleanups

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097169 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Simon Willnauer 2011-04-27 16:25:00 +00:00
parent cf67e6eb58
commit d48400be20
2 changed files with 2 additions and 4 deletions

View File

@ -83,7 +83,7 @@ final class DocumentsWriterDeleteQueue {
this(new BufferedDeletes(false), generation);
}
DocumentsWriterDeleteQueue(BufferedDeletes globalBufferedDeletes,long generation) {
DocumentsWriterDeleteQueue(BufferedDeletes globalBufferedDeletes, long generation) {
this.globalBufferedDeletes = globalBufferedDeletes;
this.generation = generation;
/*

View File

@ -61,7 +61,6 @@ public abstract class DocumentsWriterPerThreadPool {
volatile boolean flushPending = false;
// write access guarded by DocumentsWriterFlushControl
long bytesUsed = 0;
// guarded by Reentrant lock
private boolean isActive = true;
@ -131,8 +130,7 @@ public abstract class DocumentsWriterPerThreadPool {
public DocumentsWriterPerThreadPool(int maxNumPerThreads) {
maxNumPerThreads = (maxNumPerThreads < 1) ? IndexWriterConfig.DEFAULT_MAX_THREAD_STATES : maxNumPerThreads;
this.perThreads = new ThreadState[maxNumPerThreads];
perThreads = new ThreadState[maxNumPerThreads];
numThreadStatesActive = 0;
}