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

@@ -26,7 +26,7 @@ class CLR implements CommandLineRunner {
@Override
public void run(String... args) throws Exception {
WebSocketSession session = this.webSocketClient
.doHandshake(new MyWebsocketHandler(), null,
.execute(new MyWebsocketHandler(), null,
URI.create("ws://localhost:%d/echo".formatted(getServerPort())))
.get(5, TimeUnit.SECONDS);
TextMessage message = new TextMessage("Hello Websocket");