Skip to content

Commit

Permalink
Remove
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim-Brooks committed Nov 4, 2024
1 parent 1c3466f commit 18b22b2
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -568,8 +568,8 @@ private void checkBulkActionIsProperlyClosed(XContentParser parser, int line) th
if (config.restApiVersion() == RestApiVersion.V_8) {
deprecationLogger.compatibleCritical(
STRICT_ACTION_PARSING_WARNING_KEY,
"A bulk action object contained multiple keys. Additional keys are currently ignored but will be rejected in a "
+ "future version."
"A bulk action object contained multiple keys. Additional keys are currently ignored but will be rejected in a future"
+ " version."
);
return;
} else {
Expand Down Expand Up @@ -607,8 +607,7 @@ private XContentParser createParser(XContent xContent, BytesReference data) thro
}
}

// Create an efficient parser of the given bytes, trying to directly parse a byte array if possible and falling back to stream
// wrapping
// Create an efficient parser of the given bytes, trying to directly parse a byte array if possible and falling back to stream wrapping
// otherwise.
private XContentParser createParser(XContent xContent, BytesReference data, int from, int nextMarker) throws IOException {
if (data.hasArray()) {
Expand Down

0 comments on commit 18b22b2

Please sign in to comment.