Skip to content

Commit 21d43be

Browse files
committed
polish
1 parent e53c5d0 commit 21d43be

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ private static CloseableHttpClient buildSSEdHttpClient(String apiToken, SplitCli
597597
return httpClientbuilder.build();
598598
}
599599

600-
private static SSLContext buildSSLContext(SplitClientConfig config) throws IOException {
600+
private static SSLContext buildSSLContext(SplitClientConfig config) throws IOException, NullPointerException {
601601
SSLContext sslContext;
602602
if (config.proxyMTLSAuth() != null) {
603603
_log.debug("Proxy setup using mTLS");

client/src/main/java/io/split/client/dtos/ProxyMTLSAuth.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ public static ProxyMTLSAuth.Builder builder() {
2020
public static class Builder {
2121
private String _p12File;
2222
private String _p12FilePassKey;
23-
24-
public Builder() {
25-
}
26-
23+
2724
public ProxyMTLSAuth.Builder proxyP12File(String p12File) {
2825
_p12File = p12File;
2926
return this;

0 commit comments

Comments
 (0)