Skip to content

Commit 8239f6e

Browse files
author
Vincent Royer
committed
Change visibility for testing
1 parent 61882de commit 8239f6e

File tree

1 file changed

+5
-2
lines changed
  • common/src/main/java/com/datastax/oss/common/sink/config

1 file changed

+5
-2
lines changed

common/src/main/java/com/datastax/oss/common/sink/config/SslConfig.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import static com.datastax.oss.common.sink.config.ConfigUtil.getFilePath;
2020

2121
import com.datastax.oss.common.sink.ConfigException;
22+
import com.datastax.oss.driver.shaded.guava.common.annotations.VisibleForTesting;
2223
import edu.umd.cs.findbugs.annotations.Nullable;
2324
import io.netty.handler.ssl.SslContext;
2425
import io.netty.handler.ssl.SslContextBuilder;
@@ -243,11 +244,13 @@ public String toString() {
243244
OPENSSL_PRIVATE_KEY_OPT);
244245
}
245246

246-
Path getOpenSslKeyCertChain() {
247+
@VisibleForTesting
248+
public Path getOpenSslKeyCertChain() {
247249
return certFilePath;
248250
}
249251

250-
Path getOpenSslPrivateKey() {
252+
@VisibleForTesting
253+
public Path getOpenSslPrivateKey() {
251254
return privateKeyPath;
252255
}
253256

0 commit comments

Comments
 (0)