This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push: new bf81fb034a Fix IDE warnings bf81fb034a is described below commit bf81fb034a3a2c16befd7ad7b18f38b9017bf87c Author: Mark Thomas <ma...@apache.org> AuthorDate: Tue Jun 25 17:19:53 2024 +0100 Fix IDE warnings --- test/org/apache/tomcat/websocket/server/TestWsServerContainer.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/org/apache/tomcat/websocket/server/TestWsServerContainer.java b/test/org/apache/tomcat/websocket/server/TestWsServerContainer.java index da2492b46b..621b3741ba 100644 --- a/test/org/apache/tomcat/websocket/server/TestWsServerContainer.java +++ b/test/org/apache/tomcat/websocket/server/TestWsServerContainer.java @@ -485,13 +485,15 @@ public class TestWsServerContainer extends WebSocketBaseTest { } private static class DummyDecoder implements Decoder { + @SuppressWarnings("unused") DummyDecoder(String ignoredParam) { } } @Test public void testFilterRegistrationFailure() { - new WsServerContainer(new TesterServletContext(){ + @SuppressWarnings("unused") + Object obj = new WsServerContainer(new TesterServletContext(){ @Override public FilterRegistration.Dynamic addFilter(String filterName, Filter filter) { return null; @@ -567,6 +569,7 @@ public class TestWsServerContainer extends WebSocketBaseTest { } private static class DummyConfigurator extends ServerEndpointConfig.Configurator { + @SuppressWarnings("unused") DummyConfigurator(String ignoredParam) { } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org