When passing in restApiVersion during creation of XContentBuilder it makes it more clear that this field is final. This prevents accidental change of the version during the xcontent creation. The withCompatibleVersion method can also be removed, since the field only needs to be set in constructor. relates #51816 |
||
---|---|---|
.. | ||
cli | ||
core | ||
dissect | ||
geo | ||
grok | ||
nio | ||
plugin-classloader | ||
secure-sm | ||
ssl-config | ||
x-content | ||
build.gradle |