From 5fb9da2628df46d113088a268f5ec7d335663986 Mon Sep 17 00:00:00 2001 From: Joffrey BION Date: Sun, 21 May 2017 16:24:58 +0200 Subject: Fix code style --- backend/src/test/java/org/luxons/sevenwonders/test/TestUtils.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'backend/src') diff --git a/backend/src/test/java/org/luxons/sevenwonders/test/TestUtils.java b/backend/src/test/java/org/luxons/sevenwonders/test/TestUtils.java index c14147da..bc66b338 100644 --- a/backend/src/test/java/org/luxons/sevenwonders/test/TestUtils.java +++ b/backend/src/test/java/org/luxons/sevenwonders/test/TestUtils.java @@ -73,7 +73,8 @@ public class TestUtils { public static StompSession connect(WebSocketStompClient stompClient, String url) throws InterruptedException, ExecutionException, TimeoutException { - StompSession session = stompClient.connect(url, new TestStompSessionHandler()).get(5, TimeUnit.SECONDS); session.setAutoReceipt(true); + StompSession session = stompClient.connect(url, new TestStompSessionHandler()).get(5, TimeUnit.SECONDS); + session.setAutoReceipt(true); return session; } @@ -95,8 +96,8 @@ public class TestUtils { } @Override - public void handleException(StompSession session, StompCommand command, StompHeaders headers, - byte[] payload, Throwable exception) { + public void handleException(StompSession session, StompCommand command, StompHeaders headers, byte[] payload, + Throwable exception) { logger.error("Exception thrown", exception); } -- cgit