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() { }