diff --git a/core/src/main/java/org/elasticsearch/cluster/block/ClusterBlocks.java b/core/src/main/java/org/elasticsearch/cluster/block/ClusterBlocks.java index 25e9203890c..ab5609ce9ef 100644 --- a/core/src/main/java/org/elasticsearch/cluster/block/ClusterBlocks.java +++ b/core/src/main/java/org/elasticsearch/cluster/block/ClusterBlocks.java @@ -169,7 +169,9 @@ public class ClusterBlocks extends AbstractDiffable { if (!indexBlocked(level, index)) { return null; } - Stream blocks = concat(global(level).stream(), blocksForIndex(level, index).stream()); + Stream blocks = concat( + global(level).stream(), + blocksForIndex(level, index).stream()); return new ClusterBlockException(unmodifiableSet(blocks.collect(toSet()))); }