Skip to content

Commit

Permalink
Merge pull request #4 from mkhludnev/2.10-fix-double-start
Browse files Browse the repository at this point in the history
2.10 fix double start
  • Loading branch information
macohen authored Jan 3, 2024
2 parents c4e6e3e + 52e17a6 commit a7c1728
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@ public XContentBuilder toXContent(XContentBuilder builder, Params params) throws
return builder;
}

@Override
public boolean isFragment() {
return false;// since toXContent already have enclosing start/endObject braces
}

@Override
public boolean equals(Object o) {
if (this == o) return true;
Expand Down

0 comments on commit a7c1728

Please sign in to comment.