mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-20 21:27:35 -04:00
Fix spotless in netty stream class
Spotless broke during a rebase. Fixing in this commit.
This commit is contained in:
parent
92daeeba11
commit
529d349a25
2 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue