Remove outdated comment in UnifiedHighlighter.get(Formatter|Scorer) javadoc. (#820)

This commit is contained in:
Christine Poerschke 2022-06-24 18:00:28 +01:00 committed by GitHub
parent 2ccec3deb7
commit 9199d48e7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -585,17 +585,13 @@ public class UnifiedHighlighter {
return breakIterator.get(); return breakIterator.get();
} }
/** /** Returns the {@link PassageScorer} to use for ranking passages. */
* Returns the {@link PassageScorer} to use for ranking passages. This returns a new {@code
* PassageScorer} by default; subclasses can override to customize.
*/
protected PassageScorer getScorer(String field) { protected PassageScorer getScorer(String field) {
return scorer; return scorer;
} }
/** /**
* Returns the {@link PassageFormatter} to use for formatting passages into highlighted snippets. * Returns the {@link PassageFormatter} to use for formatting passages into highlighted snippets.
* This returns a new {@code PassageFormatter} by default; subclasses can override to customize.
*/ */
protected PassageFormatter getFormatter(String field) { protected PassageFormatter getFormatter(String field) {
return formatter; return formatter;