Skip to content

Apache Lucene open-source search software

LUCENE-3892: fix compilation error

Michael McCandless7afaab458968
diff --git a/lucene/core/src/java/org/apache/lucene/codecs/bulkvint/BulkVIntPostingsFormat.java b/lucene/core/src/java/org/apache/lucene/codecs/bulkvint/BulkVIntPostingsFormat.java
index 9827fd638fc..5461c7bebec 100644
--- a/lucene/core/src/java/org/apache/lucene/codecs/bulkvint/BulkVIntPostingsFormat.java
+++ b/lucene/core/src/java/org/apache/lucene/codecs/bulkvint/BulkVIntPostingsFormat.java
@@ -63,17 +63,15 @@ public final class BulkVIntPostingsFormat extends PostingsFormat {
this(BlockTreeTermsWriter.DEFAULT_MIN_BLOCK_SIZE, BlockTreeTermsWriter.DEFAULT_MAX_BLOCK_SIZE, DEFAULT_BLOCK_SIZE);
}
- // nocommit: can't expose this until we write blockSize
+ // nocommit: can't make this public until we write blockSize
// into index somewhere (where/how? private file? pass through to
// sep somehow?)
- /*
- public BulkVIntPostingsFormat(int minBlockSize, int maxBlockSize, int blockSize) {
+ private BulkVIntPostingsFormat(int minBlockSize, int maxBlockSize, int blockSize) {
super("BulkVInt");
this.blockSize = blockSize;
this.minBlockSize = minBlockSize;
this.maxBlockSize = maxBlockSize;
}
- */
@Override
public String toString() {