mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8257448: Clean duplicated non-null check in the SunJSSE provider implementation
Reviewed-by: mullan
This commit is contained in:
parent
41dbc139ab
commit
ae5b5268f3
2 changed files with 2 additions and 2 deletions
|
@ -370,7 +370,7 @@ final class X509TrustManagerImpl extends X509ExtendedTrustManager
|
|||
|
||||
private static List<SNIServerName> getRequestedServerNames(
|
||||
SSLSession session) {
|
||||
if (session != null && (session instanceof ExtendedSSLSession)) {
|
||||
if (session instanceof ExtendedSSLSession) {
|
||||
return ((ExtendedSSLSession)session).getRequestedServerNames();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue