From 721ee4c22a52884fb6321a1679411dde3d7a50c9 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/server/src/test/java/org/elasticsearch/common/cache/CacheTests.java b/server/src/test/java/org/elasticsearch/common/cache/CacheTests.java index dd376dd20b4..1ab38dff7eb 100644 --- a/server/src/test/java/org/elasticsearch/common/cache/CacheTests.java +++ b/server/src/test/java/org/elasticsearch/common/cache/CacheTests.java @@ -347,7 +347,8 @@ public class CacheTests extends ESTestCase { @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++) {