Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

removed unnecessary / unused ctor on VarStraightBytesImpl

Simon Willnauer0afcbd762515
diff --git a/lucene/src/java/org/apache/lucene/index/values/VarStraightBytesImpl.java b/lucene/src/java/org/apache/lucene/index/values/VarStraightBytesImpl.java
index 8d0bb19c04e..f736ae7eafa 100644
--- a/lucene/src/java/org/apache/lucene/index/values/VarStraightBytesImpl.java
+++ b/lucene/src/java/org/apache/lucene/index/values/VarStraightBytesImpl.java
@@ -56,10 +56,6 @@ class VarStraightBytesImpl {
bytesUsed.addAndGet(RamUsageEstimator.NUM_BYTES_INT);
}
- public Writer(Directory dir, String id) throws IOException {
- this(dir, id, new AtomicLong());
- }
-
// Fills up to but not including this docID
private void fill(final int docID) {
if (docID >= docToAddress.length) {