summaryrefslogtreecommitdiff
path: root/backend/src
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2017-05-21 16:24:58 +0200
committerJoffrey BION <joffrey.bion@gmail.com>2017-05-21 16:24:58 +0200
commit5fb9da2628df46d113088a268f5ec7d335663986 (patch)
treec73193b05873910cb1b7eb9875c3101e7c2d1c21 /backend/src
parentAdd first integration test (diff)
downloadseven-wonders-5fb9da2628df46d113088a268f5ec7d335663986.tar.gz
seven-wonders-5fb9da2628df46d113088a268f5ec7d335663986.tar.bz2
seven-wonders-5fb9da2628df46d113088a268f5ec7d335663986.zip
Fix code style
Diffstat (limited to 'backend/src')
-rw-r--r--backend/src/test/java/org/luxons/sevenwonders/test/TestUtils.java7
1 files changed, 4 insertions, 3 deletions
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);
}
bgstack15