mirror of https://github.com/apache/lucene.git
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:
parent
e6fb74f909
commit
2e941fcfed
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue