Suppress false positives related with utility class inspections.

IntelliJ IDEA inspection for private utility classes seems flawed.
This commit is contained in:
Trustin Lee 2012-11-10 06:53:34 +09:00
parent 958d04a42b
commit b9fbed49bd
2 changed files with 7 additions and 0 deletions

View File

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

View File

@ -17,6 +17,7 @@ package com.sun.nio.sctp;
import java.net.SocketAddress;
@SuppressWarnings("all")
public class SctpStandardSocketOptions {
static {
UnsupportedOperatingSystemException.raise();