Skip to content

Commit 3f90889

Browse files
committed
Pedantry
1 parent 4e0fd1d commit 3f90889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/cluster/routing/WriteLoadPerShardSimulator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public WriteLoadPerShardSimulator(RoutingAllocation routingAllocation) {
4141
}
4242

4343
public void simulateShardStarted(ShardRouting shardRouting) {
44-
float writeLoadForShard = writeLoadsPerShard.get(shardRouting.shardId());
44+
final float writeLoadForShard = writeLoadsPerShard.get(shardRouting.shardId());
4545
if (writeLoadForShard > 0.0) {
4646
if (shardRouting.relocatingNodeId() != null) {
4747
// relocating

0 commit comments

Comments
 (0)