From c72ebba5de040e92d5d8b4dda66abc298e31c8d8 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Tue, 7 Jun 2016 11:05:28 +0200 Subject: [PATCH] checkstyle have your upper L --- .../allocation/decider/DiskThresholdDeciderUnitTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/test/java/org/elasticsearch/cluster/routing/allocation/decider/DiskThresholdDeciderUnitTests.java b/core/src/test/java/org/elasticsearch/cluster/routing/allocation/decider/DiskThresholdDeciderUnitTests.java index aaed025a33e..8966659e63c 100644 --- a/core/src/test/java/org/elasticsearch/cluster/routing/allocation/decider/DiskThresholdDeciderUnitTests.java +++ b/core/src/test/java/org/elasticsearch/cluster/routing/allocation/decider/DiskThresholdDeciderUnitTests.java @@ -347,7 +347,7 @@ public class DiskThresholdDeciderUnitTests extends ESAllocationTestCase { ShardRouting test_3 = ShardRouting.newUnassigned(new ShardId(index, 3), null, true, new UnassignedInfo(UnassignedInfo.Reason.INDEX_CREATED, "foo")); test_3 = ShardRoutingHelper.initialize(test_3, "node1"); - assertEquals(500l, DiskThresholdDecider.getExpectedShardSize(test_3, allocation, 0)); + assertEquals(500L, DiskThresholdDecider.getExpectedShardSize(test_3, allocation, 0)); assertEquals(500L, DiskThresholdDecider.getExpectedShardSize(test_2, allocation, 0)); assertEquals(100L, DiskThresholdDecider.getExpectedShardSize(test_1, allocation, 0)); assertEquals(10L, DiskThresholdDecider.getExpectedShardSize(test_0, allocation, 0));