Skip to content

Commit 2113b7c

Browse files
committed
polish
1 parent d9e2bce commit 2113b7c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

client/src/main/java/io/split/client/SplitFactoryImpl.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -614,10 +614,8 @@ private static SSLContext buildSSLContext(SplitClientConfig config) throws IOExc
614614
_log.warn("Ignoring p12 mTLS config and switching to default context");
615615
sslContext = SSLContexts.createSystemDefault();
616616
} finally {
617-
try {
617+
if (keystoreStream != null) {
618618
keystoreStream.close();
619-
} catch (NullPointerException e) {
620-
_log.error("Exception caught while closing file stream handler: ", e);
621619
}
622620
}
623621
} else {

0 commit comments

Comments
 (0)