From c66172cf3bc14cac9160d29d70b5f57af3fa1082 Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Fri, 25 Feb 2011 03:44:36 +0000 Subject: [PATCH] fix javadocs warnings git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1074392 13f79535-47bb-0310-9956-ffa450edef68 --- lucene/src/java/org/apache/lucene/search/IndexSearcher.java | 4 ++-- lucene/src/java/org/apache/lucene/util/automaton/fst/FST.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lucene/src/java/org/apache/lucene/search/IndexSearcher.java b/lucene/src/java/org/apache/lucene/search/IndexSearcher.java index e3e0a1b6602..f7619fe3bd1 100644 --- a/lucene/src/java/org/apache/lucene/search/IndexSearcher.java +++ b/lucene/src/java/org/apache/lucene/search/IndexSearcher.java @@ -429,7 +429,7 @@ public class IndexSearcher { *

NOTE: this does not compute scores by default. If you * need scores, create a {@link TopFieldCollector} * instance by calling {@link TopFieldCollector#create} and - * then pass that to {@link #search(Weight, Filter, + * then pass that to {@link #search(IndexReader.AtomicReaderContext[], Weight, Filter, * Collector)}.

*/ protected TopFieldDocs search(Weight weight, Filter filter, int nDocs, @@ -475,7 +475,7 @@ public class IndexSearcher { *

NOTE: this does not compute scores by default. If you * need scores, create a {@link TopFieldCollector} * instance by calling {@link TopFieldCollector#create} and - * then pass that to {@link #search(Weight, Filter, + * then pass that to {@link #search(IndexReader.AtomicReaderContext[], Weight, Filter, * Collector)}.

*/ protected TopFieldDocs search(AtomicReaderContext[] leaves, Weight weight, Filter filter, int nDocs, diff --git a/lucene/src/java/org/apache/lucene/util/automaton/fst/FST.java b/lucene/src/java/org/apache/lucene/util/automaton/fst/FST.java index 60dc55c137c..4af5add0149 100644 --- a/lucene/src/java/org/apache/lucene/util/automaton/fst/FST.java +++ b/lucene/src/java/org/apache/lucene/util/automaton/fst/FST.java @@ -483,7 +483,7 @@ public class FST { * this changes the provided arc (2nd arg) in-place and returns * it. * - * @returns Returns the second argument (arc). + * @return Returns the second argument (arc). */ public Arc readFirstTargetArc(Arc follow, Arc arc) throws IOException { //int pos = address;