diff --git a/testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketSslEchoTest.java b/testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketSslEchoTest.java index 2a963235a3..733da9666b 100644 --- a/testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketSslEchoTest.java +++ b/testsuite/src/test/java/io/netty/testsuite/transport/socket/SocketSslEchoTest.java @@ -252,6 +252,9 @@ public class SocketSslEchoTest extends AbstractSocketTest { CLIENT_CONTEXT = clientContext; } + @SuppressWarnings("all") + private BogusSslContextFactory() { } + public static SSLContext getServerContext() { return SERVER_CONTEXT; } @@ -593,5 +596,8 @@ public class SocketSslEchoTest extends AbstractSocketTest { public static char[] getKeyStorePassword() { return "secret".toCharArray(); } + + @SuppressWarnings("all") + private BogusKeyStore() { } } } diff --git a/transport/src/main/java/com/sun/nio/sctp/SctpStandardSocketOptions.java b/transport/src/main/java/com/sun/nio/sctp/SctpStandardSocketOptions.java index 0cbca3061f..234eb9f58e 100644 --- a/transport/src/main/java/com/sun/nio/sctp/SctpStandardSocketOptions.java +++ b/transport/src/main/java/com/sun/nio/sctp/SctpStandardSocketOptions.java @@ -17,6 +17,7 @@ package com.sun.nio.sctp; import java.net.SocketAddress; +@SuppressWarnings("all") public class SctpStandardSocketOptions { static { UnsupportedOperatingSystemException.raise();