Skip to content

Commit f47846c

Browse files
Java: fix formatting
Signed-off-by: Matt <[email protected]>
1 parent 354e9be commit f47846c

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

java/client/src/main/java/glide/api/models/configuration/BaseClientConfiguration.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ public abstract class BaseClientConfiguration {
3939
/**
4040
* True if communication with the cluster should check certificate validity.
4141
*
42-
* <p>If the server/cluster's certificate does not validate, not setting this will cause the connection
43-
* attempt to fail.
42+
* <p>If the server/cluster's certificate does not validate, not setting this will cause the
43+
* connection attempt to fail.
4444
*
45-
* <p>If the server/cluster's certificate does not validate, setting this will cause the connection
46-
* to ignore the certificate's validity and succeed.
45+
* <p>If the server/cluster's certificate does not validate, setting this will cause the
46+
* connection to ignore the certificate's validity and succeed.
4747
*
48-
* This is useful for when CNAMEs are used to point to a server/cluster.
48+
* <p>This is useful for when CNAMEs are used to point to a server/cluster.
4949
*/
5050
@Builder.Default private final boolean useInsecureTLS = false;
5151

java/client/src/test/java/glide/managers/ConnectionManagerTest.java

+1-4
Original file line numberDiff line numberDiff line change
@@ -354,10 +354,7 @@ private void testAzAffinityWithoutClientAzThrowsConfigurationError(ReadFrom read
354354
public void connection_request_protobuf_generation_use_insecure_tls() {
355355
// setup
356356
GlideClusterClientConfiguration glideClusterClientConfiguration =
357-
GlideClusterClientConfiguration.builder()
358-
.useTLS(true)
359-
.useInsecureTLS(true)
360-
.build();
357+
GlideClusterClientConfiguration.builder().useTLS(true).useInsecureTLS(true).build();
361358
ConnectionRequest expectedProtobufConnectionRequest =
362359
ConnectionRequest.newBuilder()
363360
.setTlsMode(TlsMode.InsecureTls)

0 commit comments

Comments
 (0)