Skip to content

Commit a2b0f29

Browse files
committed
Fix visibility for private methods
1 parent 7b0ccec commit a2b0f29

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/fulltext/Match.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public Match(Source source, Expression field, Expression matchQuery, QueryBuilde
137137
this.field = field;
138138
}
139139

140-
protected static Match readFrom(StreamInput in) throws IOException {
140+
private static Match readFrom(StreamInput in) throws IOException {
141141
Source source = Source.readFrom((PlanStreamInput) in);
142142
Expression field = in.readNamedWriteable(Expression.class);
143143
Expression query = in.readNamedWriteable(Expression.class);

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/fulltext/MatchOperator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public MatchOperator(
6464
super(source, field, matchQuery);
6565
}
6666

67-
protected static Match readFrom(StreamInput in) throws IOException {
67+
private static Match readFrom(StreamInput in) throws IOException {
6868
Source source = Source.readFrom((PlanStreamInput) in);
6969
Expression field = in.readNamedWriteable(Expression.class);
7070
Expression query = in.readNamedWriteable(Expression.class);

0 commit comments

Comments
 (0)