File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed
driver-core/src/main/java/com/datastax/driver/core Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 33### 3.7.0 (In progress)
44
55- [ improvement] JAVA-2025: Include exception message in Abstract* Codec.accepts(null).
6+ - [ improvement] JAVA-1980: Use covariant return types in RemoteEndpointAwareJdkSSLOptions.Builder methods.
67
78
89### 3.6.0
Original file line number Diff line number Diff line change @@ -84,14 +84,21 @@ protected SSLEngine newSSLEngine(
8484 return engine ;
8585 }
8686
87- /** Helper class to build JDK-based SSL options . */
87+ /** Helper class to build {@link RemoteEndpointAwareJdkSSLOptions} instances . */
8888 public static class Builder extends JdkSSLOptions .Builder {
8989
90- /**
91- * Builds a new instance based on the parameters provided to this builder.
92- *
93- * @return the new instance.
94- */
90+ @ Override
91+ public RemoteEndpointAwareJdkSSLOptions .Builder withSSLContext (SSLContext context ) {
92+ super .withSSLContext (context );
93+ return this ;
94+ }
95+
96+ @ Override
97+ public RemoteEndpointAwareJdkSSLOptions .Builder withCipherSuites (String [] cipherSuites ) {
98+ super .withCipherSuites (cipherSuites );
99+ return this ;
100+ }
101+
95102 @ Override
96103 public RemoteEndpointAwareJdkSSLOptions build () {
97104 return new RemoteEndpointAwareJdkSSLOptions (context , cipherSuites );
You can’t perform that action at this time.
0 commit comments