Suppress false positives related with utility class inspections.
IntelliJ IDEA inspection for private utility classes seems flawed.
This commit is contained in:
parent
958d04a42b
commit
b9fbed49bd
@ -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() { }
|
||||
}
|
||||
}
|
||||
|
@ -17,6 +17,7 @@ package com.sun.nio.sctp;
|
||||
|
||||
import java.net.SocketAddress;
|
||||
|
||||
@SuppressWarnings("all")
|
||||
public class SctpStandardSocketOptions {
|
||||
static {
|
||||
UnsupportedOperatingSystemException.raise();
|
||||
|
Loading…
x
Reference in New Issue
Block a user