Copilot commented on code in PR #4499:
URL: https://github.com/apache/cassandra/pull/4499#discussion_r2620429554


##########
tools/stress/src/org/apache/cassandra/stress/settings/SettingsTransport.java:
##########
@@ -54,8 +54,10 @@ public EncryptionOptions.ClientEncryptionOptions 
getEncryptionOptions()
                                         
.withTrustStore(options.trustStore.value())
                                         
.withTrustStorePassword(options.trustStorePw.setByUser() ? 
options.trustStorePw.value() : credentials.transportTruststorePassword)
                                         .withAlgorithm(options.alg.value())
-                                        .withProtocol(options.protocol.value())
-                                        
.withCipherSuites(options.ciphers.value().split(","));
+                                        
.withProtocol(options.protocol.value());
+
+                       if (options.ciphers.value() != null)
+                               
encOptionsBuilder.withCipherSuites(options.ciphers.value().split(","));

Review Comment:
   Mixed tabs and spaces are used for indentation. Line 59 appears to use tabs 
while the surrounding code uses spaces. Ensure consistent indentation 
throughout the file by using only spaces (typically 4 spaces per indent level 
in Java).
   ```suggestion
               if (options.ciphers.value() != null)
                   
encOptionsBuilder.withCipherSuites(options.ciphers.value().split(","));
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to