mirror of https://github.com/apache/lucene.git
LUCENE-3631: Remove dead code (thanks to Clover)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1221632 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
45f5e829eb
commit
9538cce83f
|
@ -164,10 +164,6 @@ final class SegmentCoreReaders {
|
|||
ref.incrementAndGet();
|
||||
}
|
||||
|
||||
Directory getCFSReader() {
|
||||
return cfsReader;
|
||||
}
|
||||
|
||||
void decRef() throws IOException {
|
||||
//System.out.println("core.decRef seg=" + owner.getSegmentInfo() + " rc=" + ref);
|
||||
if (ref.decrementAndGet() == 0) {
|
||||
|
|
|
@ -185,10 +185,6 @@ public final class SegmentReader extends IndexReader {
|
|||
return liveDocs != null;
|
||||
}
|
||||
|
||||
List<String> files() throws IOException {
|
||||
return new ArrayList<String>(si.files());
|
||||
}
|
||||
|
||||
FieldInfos fieldInfos() {
|
||||
return core.fieldInfos;
|
||||
}
|
||||
|
@ -307,10 +303,6 @@ public final class SegmentReader extends IndexReader {
|
|||
return tvReader;
|
||||
}
|
||||
|
||||
TermVectorsReader getTermVectorsReaderOrig() {
|
||||
return core.getTermVectorsReaderOrig();
|
||||
}
|
||||
|
||||
/** Return a term frequency vector for the specified document and field. The
|
||||
* vector returned contains term numbers and frequencies for all terms in
|
||||
* the specified field of this document, if the field had storeTermVector
|
||||
|
|
Loading…
Reference in New Issue