Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

avoid warnings with "ant javadocs"

Daniel Nabere0c8c5a46951
diff --git a/src/java/org/apache/lucene/search/PhrasePrefixQuery.java b/src/java/org/apache/lucene/search/PhrasePrefixQuery.java
index 88e0983fe1e..dc6097df051 100644
--- a/src/java/org/apache/lucene/search/PhrasePrefixQuery.java
+++ b/src/java/org/apache/lucene/search/PhrasePrefixQuery.java
@@ -76,7 +76,7 @@ public class PhrasePrefixQuery extends Query {
/**
* Allows to specify the relative position of terms within the phrase.
*
- * @ see PhraseQuery#add(Term, int)
+ * @see PhraseQuery#add(Term, int)
* @param terms
* @param position
*/
@@ -98,7 +98,6 @@ public class PhrasePrefixQuery extends Query {
/**
* Returns the relative positions of terms in this phrase.
- * @return
*/
public int[] getPositions() {
int[] result = new int[positions.size()];
diff --git a/src/java/org/apache/lucene/search/PhraseQuery.java b/src/java/org/apache/lucene/search/PhraseQuery.java
index bf1932c3d20..ac65b818b61 100644
--- a/src/java/org/apache/lucene/search/PhraseQuery.java
+++ b/src/java/org/apache/lucene/search/PhraseQuery.java
@@ -91,7 +91,6 @@ public class PhraseQuery extends Query {
/**
* Returns the relative positions of terms in this phrase.
- * @return
*/
public int[] getPositions() {
int[] result = new int[positions.size()];