From 9f9478577d6e552b65f0f0ffb0403397b12b4ff1 Mon Sep 17 00:00:00 2001 From: Anuraag Agrawal Date: Fri, 2 Jun 2017 16:09:03 +0900 Subject: [PATCH] Fix checkstyle. --- .../linecorp/armeria/common/RequestContextTest.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core/src/test/java/com/linecorp/armeria/common/RequestContextTest.java b/core/src/test/java/com/linecorp/armeria/common/RequestContextTest.java index 5dc3f7512d8..14a4ea2bad1 100644 --- a/core/src/test/java/com/linecorp/armeria/common/RequestContextTest.java +++ b/core/src/test/java/com/linecorp/armeria/common/RequestContextTest.java @@ -364,11 +364,11 @@ public void timedOut() { ((AbstractRequestContext) ctx).setTimedOut(); - assertThatThrownBy(() -> executorService.submit(() -> {})) + assertThatThrownBy(() -> executorService.submit(() -> { })) .isInstanceOf(RejectedExecutionException.class); - assertThatThrownBy(() -> executorService.execute(() -> {})) + assertThatThrownBy(() -> executorService.execute(() -> { })) .isInstanceOf(RejectedExecutionException.class); - assertThatThrownBy(() -> executorService.submit(() -> {}, "foo")) + assertThatThrownBy(() -> executorService.submit(() -> { }, "foo")) .isInstanceOf(RejectedExecutionException.class); assertThatThrownBy(() -> executorService.submit(() -> "foo")) .isInstanceOf(RejectedExecutionException.class); @@ -381,15 +381,15 @@ public void timedOut() { assertThatThrownBy(() -> executorService.invokeAny(ImmutableList.of(() -> "foo"), 10, TimeUnit.SECONDS)) .isInstanceOf(RejectedExecutionException.class); - assertThatThrownBy(() -> eventLoop.schedule(() -> {}, 0, TimeUnit.SECONDS)) + assertThatThrownBy(() -> eventLoop.schedule(() -> { }, 0, TimeUnit.SECONDS)) .isInstanceOf(RejectedExecutionException.class); assertThatThrownBy(() -> eventLoop.schedule(() -> "foo", 0, TimeUnit.SECONDS)) .isInstanceOf(RejectedExecutionException.class); assertThatThrownBy(() -> eventLoop.scheduleAtFixedRate( - () -> {}, 0, 1, TimeUnit.SECONDS)) + () -> { }, 0, 1, TimeUnit.SECONDS)) .isInstanceOf(RejectedExecutionException.class); assertThatThrownBy(() -> eventLoop.scheduleWithFixedDelay( - () -> {}, 0, 1, TimeUnit.SECONDS)) + () -> { }, 0, 1, TimeUnit.SECONDS)) .isInstanceOf(RejectedExecutionException.class); AtomicBoolean callbackRun = new AtomicBoolean();