Skip to content

Commit 12a8006

Browse files
ArfeyChristoph Büscher
authored andcommitted
Change ExampleRescoreBuilder ctor visibility (#50922)
The existing package private visibility of the serialization ctor isn't enough when copying example code to oder packages or projects when bootstrapping a new project from it.
1 parent 26fed22 commit 12a8006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/examples/rescore/src/main/java/org/elasticsearch/example/rescore/ExampleRescoreBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public ExampleRescoreBuilder(float factor, @Nullable String factorField) {
6464
this.factorField = factorField;
6565
}
6666

67-
ExampleRescoreBuilder(StreamInput in) throws IOException {
67+
public ExampleRescoreBuilder(StreamInput in) throws IOException {
6868
super(in);
6969
factor = in.readFloat();
7070
factorField = in.readOptionalString();

0 commit comments

Comments
 (0)