Skip to content

Apache Lucene open-source search software

fixing some deprecated/see tags in the javadoc comments

Daniel Naber2c43e92e98ab
diff --git a/src/java/org/apache/lucene/index/IndexReader.java b/src/java/org/apache/lucene/index/IndexReader.java
index eece42f0a90..f2a789f2e6f 100644
--- a/src/java/org/apache/lucene/index/IndexReader.java
+++ b/src/java/org/apache/lucene/index/IndexReader.java
@@ -574,7 +574,7 @@ public abstract class IndexReader {
* @return Collection of Strings indicating the names of the fields
* @throws IOException if there is a problem with accessing the index
*
- * @deprecated Replaced by {@link #getFieldNames (IndexReader.FieldOption fldOption)}
+ * @deprecated Replaced by {@link #getFieldNames(IndexReader.FieldOption)}
*/
public abstract Collection getFieldNames() throws IOException;
@@ -587,7 +587,7 @@ public abstract class IndexReader {
* @return Collection of Strings indicating the names of the fields
* @throws IOException if there is a problem with accessing the index
*
- * @deprecated Replaced by {@link #getFieldNames (IndexReader.FieldOption fldOption)}
+ * @deprecated Replaced by {@link #getFieldNames(IndexReader.FieldOption)}
*/
public abstract Collection getFieldNames(boolean indexed) throws IOException;
@@ -597,7 +597,7 @@ public abstract class IndexReader {
* else only indexed fields without term vector info
* @return Collection of Strings indicating the names of the fields
*
- * @deprecated Replaced by {@link #getFieldNames (IndexReader.FieldOption fldOption)}
+ * @deprecated Replaced by {@link #getFieldNames(IndexReader.FieldOption)}
*/
public Collection getIndexedFieldNames(boolean storedTermVector){
if(storedTermVector){
@@ -619,7 +619,7 @@ public abstract class IndexReader {
* @param tvSpec specifies which term vector information should be available for the fields
* @return Collection of Strings indicating the names of the fields
*
- * @deprecated Replaced by {@link #getFieldNames (IndexReader.FieldOption fldOption)}
+ * @deprecated Replaced by {@link #getFieldNames(IndexReader.FieldOption)}
*/
public abstract Collection getIndexedFieldNames(Field.TermVector tvSpec);
diff --git a/src/java/org/apache/lucene/index/MultiReader.java b/src/java/org/apache/lucene/index/MultiReader.java
index 1fd3abfdbec..55772ef98e5 100644
--- a/src/java/org/apache/lucene/index/MultiReader.java
+++ b/src/java/org/apache/lucene/index/MultiReader.java
@@ -247,7 +247,7 @@ public class MultiReader extends IndexReader {
}
/**
- * @see IndexReader#getFieldNames(IndexReader.FieldNames fldOption)
+ * @see IndexReader#getFieldNames(IndexReader.FieldOption)
*/
public Collection getFieldNames (IndexReader.FieldOption fieldNames) {
// maintain a unique set of field names