LUCENE-4140: make this getter/setter pkg-private as it has pkg-private parameters

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368991 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2012-08-03 14:44:13 +00:00
parent 7465266b20
commit 91833f0bc8
2 changed files with 3 additions and 4 deletions

View File

@ -392,7 +392,7 @@ public final class IndexWriterConfig extends LiveIndexWriterConfig implements Cl
* @see #setMaxBufferedDocs(int)
* @see #setRAMBufferSizeMB(double)
*/
public IndexWriterConfig setFlushPolicy(FlushPolicy flushPolicy) {
IndexWriterConfig setFlushPolicy(FlushPolicy flushPolicy) {
this.flushPolicy = flushPolicy;
return this;
}
@ -422,7 +422,7 @@ public final class IndexWriterConfig extends LiveIndexWriterConfig implements Cl
}
@Override
public FlushPolicy getFlushPolicy() {
FlushPolicy getFlushPolicy() {
return flushPolicy;
}

View File

@ -462,7 +462,7 @@ public class LiveIndexWriterConfig {
/**
* @see IndexWriterConfig#setFlushPolicy(FlushPolicy)
*/
public FlushPolicy getFlushPolicy() {
FlushPolicy getFlushPolicy() {
return flushPolicy;
}
@ -497,7 +497,6 @@ public class LiveIndexWriterConfig {
sb.append("mergePolicy=").append(getMergePolicy()).append("\n");
sb.append("indexerThreadPool=").append(getIndexerThreadPool()).append("\n");
sb.append("readerPooling=").append(getReaderPooling()).append("\n");
sb.append("flushPolicy=").append(getFlushPolicy()).append("\n");
sb.append("perThreadHardLimitMB=").append(getRAMPerThreadHardLimitMB()).append("\n");
return sb.toString();
}