diff --git a/sandbox/contributions/highlighter/src/java/org/apache/lucene/search/highlight/QueryTermExtractor.java b/sandbox/contributions/highlighter/src/java/org/apache/lucene/search/highlight/QueryTermExtractor.java index 7f6168f71a2..6488740125e 100644 --- a/sandbox/contributions/highlighter/src/java/org/apache/lucene/search/highlight/QueryTermExtractor.java +++ b/sandbox/contributions/highlighter/src/java/org/apache/lucene/search/highlight/QueryTermExtractor.java @@ -39,7 +39,6 @@ public final class QueryTermExtractor * * @param query Query to extract term texts from * @return an array of the terms used in a query, plus their weights. - * @throws IOException */ public static final WeightedTerm[] getTerms(Query query) { @@ -52,9 +51,8 @@ public final class QueryTermExtractor * * @param query Query to extract term texts from * @param prohibited true to extract "prohibited" terms, too - * @return an array of the terms used in a query, plus their weights. - * @throws IOException - */ + * @return an array of the terms used in a query, plus their weights. + */ public static final WeightedTerm[] getTerms(Query query, boolean prohibited) { HashSet terms=new HashSet();