Make constructor for QueryOffsetRange public (#800)

QueryOffsetRange is a public class and is used in other classes
(e.g. FieldValueHighlighters needs it).
Make it constructor public as well to be used in other packages
This commit is contained in:
Mayya Sharipova 2022-04-14 10:50:22 -04:00 committed by GitHub
parent e6fb74f909
commit 2e941fcfed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ public class MatchHighlighter {
public static class QueryOffsetRange extends OffsetRange {
public final Query query;
QueryOffsetRange(Query query, int from, int to) {
public QueryOffsetRange(Query query, int from, int to) {
super(from, to);
this.query = query;
}