From 3901159093b8f873049da516a93c50dbb683c25c Mon Sep 17 00:00:00 2001 From: Lachlan Roberts Date: Thu, 9 Jun 2022 08:12:06 +1000 Subject: [PATCH] remove IOException from Extension.close() interface. Signed-off-by: Lachlan Roberts --- .../main/java/org/eclipse/jetty/websocket/core/Extension.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jetty-websocket/websocket-core-common/src/main/java/org/eclipse/jetty/websocket/core/Extension.java b/jetty-websocket/websocket-core-common/src/main/java/org/eclipse/jetty/websocket/core/Extension.java index 4d918e25ffe0..33f0f05e04e0 100644 --- a/jetty-websocket/websocket-core-common/src/main/java/org/eclipse/jetty/websocket/core/Extension.java +++ b/jetty-websocket/websocket-core-common/src/main/java/org/eclipse/jetty/websocket/core/Extension.java @@ -14,7 +14,6 @@ package org.eclipse.jetty.websocket.core; import java.io.Closeable; -import java.io.IOException; /** * Interface for WebSocket Extensions. @@ -29,7 +28,7 @@ public interface Extension extends IncomingFrames, OutgoingFrames, Closeable /** * Used to clean up any resources after connection close. */ - default void close() throws IOException + default void close() { }