From f835fadac4064f8c1ea4577c04ef8d0098eeda5e Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Mon, 7 May 2018 14:12:04 -0400 Subject: [PATCH] Fix line length violation in cache tests This commit fixes a line-length violation in the cache tests that was hidden by the IDE folding the generics. --- .../test/java/org/elasticsearch/common/cache/CacheTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/test/java/org/elasticsearch/common/cache/CacheTests.java b/core/src/test/java/org/elasticsearch/common/cache/CacheTests.java index d7fba7dcaea2d..334dae22500ed 100644 --- a/core/src/test/java/org/elasticsearch/common/cache/CacheTests.java +++ b/core/src/test/java/org/elasticsearch/common/cache/CacheTests.java @@ -346,7 +346,8 @@ protected long now() { @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/30428") public void testComputeIfAbsentDeadlock() throws BrokenBarrierException, InterruptedException { final int numberOfThreads = randomIntBetween(2, 32); - final Cache cache = CacheBuilder.builder().setExpireAfterAccess(TimeValue.timeValueNanos(1)).build(); + final Cache cache = + CacheBuilder.builder().setExpireAfterAccess(TimeValue.timeValueNanos(1)).build(); final CyclicBarrier barrier = new CyclicBarrier(1 + numberOfThreads); for (int i = 0; i < numberOfThreads; i++) {