Enable compile linting and treat warnings as errors

Closes gh-232
This commit is contained in:
Andy Wilkinson
2024-07-25 10:09:33 +01:00
parent 662fcca552
commit 7dbb2cbba8
17 changed files with 42 additions and 27 deletions

View File

@@ -31,7 +31,7 @@ class CLR implements CommandLineRunner {
public void run(String... args) throws Exception {
MyStompHandler handler = new MyStompHandler();
StompSession stompSession = this.webSocketStompClient
.connect("ws://localhost:%d/stomp".formatted(getServerPort()), handler)
.connectAsync("ws://localhost:%d/stomp".formatted(getServerPort()), handler)
.get(5, TimeUnit.SECONDS);
stompSession.subscribe("/topic/greetings", handler);