Fix spotless in netty stream class

Spotless broke during a rebase. Fixing in this commit.
This commit is contained in:
Tim Brooks 2024-09-18 13:55:08 -06:00
parent 92daeeba11
commit 529d349a25
2 changed files with 1 additions and 2 deletions

View file

@ -40,7 +40,6 @@ public class Netty4HttpRequestBodyStream implements HttpBody.Stream {
private boolean closing = false;
private HttpBody.ChunkHandler handler;
public Netty4HttpRequestBodyStream(Channel channel) {
this.channel = channel;
Netty4Utils.addListener(channel.closeFuture(), closeListener);

View file

@ -438,7 +438,7 @@ final class BulkOperation extends ActionRunnable<BulkResponse> {
private void executeBulkShardRequest(BulkShardRequest bulkShardRequest, Releasable releaseOnFinish) {
ShardId shardId = bulkShardRequest.shardId();
// Short circuit the shark level request with the existing shard failure.
// Short circuit the shard level request with the existing shard failure.
if (shortCircuitShardFailures.containsKey(shardId)) {
handleShardFailure(bulkShardRequest, clusterService.state(), shortCircuitShardFailures.get(shardId));
releaseOnFinish.close();