From d8d159da77ff83d5104dfb40dc0855d27ecb675a Mon Sep 17 00:00:00 2001 From: Daniel Naber Date: Fri, 5 May 2006 21:47:58 +0000 Subject: [PATCH] fix links in javadoc (LUCENE-563); clean up import statements git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@400187 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/lucene/index/IndexReader.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/java/org/apache/lucene/index/IndexReader.java b/src/java/org/apache/lucene/index/IndexReader.java index 7bb3acfed52..07e39f0bc14 100644 --- a/src/java/org/apache/lucene/index/IndexReader.java +++ b/src/java/org/apache/lucene/index/IndexReader.java @@ -29,8 +29,6 @@ import java.io.FileOutputStream; import java.io.IOException; import java.util.Arrays; import java.util.Collection; -import java.util.HashSet; -import java.util.Set; /** IndexReader is an abstract class, providing an interface for accessing an index. Search of an index is done entirely through this abstract interface, @@ -520,7 +518,7 @@ public abstract class IndexReader { /** Implements deletion of the document numbered docNum. - * Applications should call {@link #delete(int)} or {@link #delete(Term)}. + * Applications should call {@link #deleteDocument(int)} or {@link #deleteDocuments(Term)}. */ protected abstract void doDelete(int docNum) throws IOException; @@ -530,7 +528,7 @@ public abstract class IndexReader { * the document. Then to delete such a document, one merely constructs a * term with the appropriate field and the unique ID string as its text and * passes it to this method. - * See {@link #delete(int)} for information about when this deletion will + * See {@link #deleteDocument(int)} for information about when this deletion will * become effective. * @return the number of documents deleted */