This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push: new d2827524c2 Fix IDE warnings d2827524c2 is described below commit d2827524c25ce5141330bf4ac2b5e90398707666 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 a78894a6a1..3965c6e4b9 100644 --- a/test/org/apache/tomcat/websocket/server/TestWsServerContainer.java +++ b/test/org/apache/tomcat/websocket/server/TestWsServerContainer.java @@ -490,6 +490,7 @@ public class TestWsServerContainer extends WebSocketBaseTest { } private static class DummyDecoder implements Decoder { + @SuppressWarnings("unused") DummyDecoder(String ignoredParam) { } @@ -504,7 +505,8 @@ public class TestWsServerContainer extends WebSocketBaseTest { @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; @@ -580,6 +582,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