Skip to content

Commit

Permalink
rename the parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
doleyzi committed Apr 15, 2024
1 parent 67541f0 commit 9be92f2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ protected XContentBuilder generateBuilder() throws IOException {
return builder;
}

private void doBuild(XContentBuilder builder, String builderName, String value) throws IOException {
builder.startObject(builderName);
private void doBuild(XContentBuilder builder, String name, String value) throws IOException {
builder.startObject(name);
builder.field(X_CONTENT_BUILDER_TYPE, value);
builder.endObject();
}
Expand Down

0 comments on commit 9be92f2

Please sign in to comment.