From c2f1372652ad177eee3d2258937a9c37cc2a8fd3 Mon Sep 17 00:00:00 2001 From: Tomasz Polgrabia Date: Fri, 27 Dec 2024 20:15:55 +0100 Subject: [PATCH] Fixing code issues. --- .../ch/polgrabia/demos/client/WebsocketClientParticle.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2024/08/chat_demo1/chat_demo1_web/src/main/java/ch/polgrabia/demos/client/WebsocketClientParticle.java b/2024/08/chat_demo1/chat_demo1_web/src/main/java/ch/polgrabia/demos/client/WebsocketClientParticle.java index 0909d7a..1852f44 100644 --- a/2024/08/chat_demo1/chat_demo1_web/src/main/java/ch/polgrabia/demos/client/WebsocketClientParticle.java +++ b/2024/08/chat_demo1/chat_demo1_web/src/main/java/ch/polgrabia/demos/client/WebsocketClientParticle.java @@ -30,7 +30,7 @@ public class WebsocketClientParticle extends AbstractVerticle { } @Override - public void start() throws Exception { + public void start() { this.client = getVertx() .createHttpClient(); new WebSocketClientImpl((VertxInternal) getVertx(), new HttpClientOptions(), new CloseFuture()) @@ -67,7 +67,7 @@ public class WebsocketClientParticle extends AbstractVerticle { } @Override - public void stop() throws Exception { + public void stop() { isShuttingDownActivated = true; client.close(); synchronized (runningMonitor) {