From 9538cce83f839a2c1c2c6ed852e2cef42af1de4d Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Wed, 21 Dec 2011 07:06:09 +0000 Subject: [PATCH] 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 --- .../java/org/apache/lucene/index/SegmentCoreReaders.java | 4 ---- .../src/java/org/apache/lucene/index/SegmentReader.java | 8 -------- 2 files changed, 12 deletions(-) diff --git a/lucene/src/java/org/apache/lucene/index/SegmentCoreReaders.java b/lucene/src/java/org/apache/lucene/index/SegmentCoreReaders.java index 5dacdd3c35c..af20ebeb373 100644 --- a/lucene/src/java/org/apache/lucene/index/SegmentCoreReaders.java +++ b/lucene/src/java/org/apache/lucene/index/SegmentCoreReaders.java @@ -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) { diff --git a/lucene/src/java/org/apache/lucene/index/SegmentReader.java b/lucene/src/java/org/apache/lucene/index/SegmentReader.java index 341939dac27..9a41d127f57 100644 --- a/lucene/src/java/org/apache/lucene/index/SegmentReader.java +++ b/lucene/src/java/org/apache/lucene/index/SegmentReader.java @@ -185,10 +185,6 @@ public final class SegmentReader extends IndexReader { return liveDocs != null; } - List files() throws IOException { - return new ArrayList(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