Skip to content

Commit b8387bb

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent d831194 commit b8387bb

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

server/src/test/java/org/elasticsearch/cluster/ClusterInfoTests.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,7 @@ private static Map<String, ShardHeapUsage> randomNodeHeapUsage() {
5252
for (int i = 0; i < numEntries; i++) {
5353
String key = randomAlphaOfLength(32);
5454
final int totalBytes = randomIntBetween(0, Integer.MAX_VALUE);
55-
final ShardHeapUsage shardHeapUsage = new ShardHeapUsage(
56-
randomAlphaOfLength(4),
57-
totalBytes,
58-
randomIntBetween(0, totalBytes)
59-
);
55+
final ShardHeapUsage shardHeapUsage = new ShardHeapUsage(randomAlphaOfLength(4), totalBytes, randomIntBetween(0, totalBytes));
6056
nodeHeapUsage.put(key, shardHeapUsage);
6157
}
6258
return nodeHeapUsage;

0 commit comments

Comments
 (0)