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
|
@ -123,7 +123,7 @@ enum Alert {
|
|||
}
|
||||
|
||||
SSLException ssle;
|
||||
if ((cause != null) && (cause instanceof IOException)) {
|
||||
if (cause instanceof IOException) {
|
||||
ssle = new SSLException(reason);
|
||||
} else if ((this == UNEXPECTED_MESSAGE)) {
|
||||
ssle = new SSLProtocolException(reason);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue