This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.1.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push: new 8a4b028d54 Fix IDE warnings 8a4b028d54 is described below commit 8a4b028d5479095b15361ce0dfa07a3389ab84dd 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