Mmuzaf commented on code in PR #2046:
URL: https://github.com/apache/cassandra/pull/2046#discussion_r1058448596


##########
src/java/org/apache/cassandra/tracing/Tracing.java:
##########
@@ -110,13 +111,13 @@ public int getTTL()
     static
     {
         Tracing tracing = null;
-        String customTracingClass = 
System.getProperty("cassandra.custom_tracing_class");
+        String customTracingClass = CUSTOM_TRACING_CLASS.getString();
         if (null != customTracingClass)
         {
             try
             {
                 tracing = FBUtilities.construct(customTracingClass, "Tracing");
-                logger.info("Using {} as tracing queries (as requested with 
-Dcassandra.custom_tracing_class)", customTracingClass);
+                logger.info("Using {} as tracing queries (as requested with 
-D" + CUSTOM_TRACING_CLASS.getKey() + ')', customTracingClass);

Review Comment:
   Fixed.



##########
src/java/org/apache/cassandra/utils/JMXServerUtils.java:
##########
@@ -224,15 +229,15 @@ private static Map<String, Object> 
configureJmxSocketFactories(InetAddress serve
             String protocolList = 
COM_SUN_MANAGEMENT_JMXREMOTE_SSL_ENABLED_PROTOCOLS.getString();
             if (protocolList != null)
             {
-                System.setProperty("javax.rmi.ssl.client.enabledProtocols", 
protocolList);
+                JAVAX_RMI_SSL_CLIENT_ENABLEDPROTOCOLS.setString(protocolList);

Review Comment:
   Fixed.



-- 
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