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


##########
src/java/org/apache/cassandra/config/YamlConfigurationLoader.java:
##########
@@ -218,7 +222,7 @@ public static <T> T fromMap(Map<String,Object> map, boolean 
shouldCheck, Class<T
         verifyReplacements(replacements, map);
         YamlConfigurationLoader.PropertiesChecker propertiesChecker = new 
YamlConfigurationLoader.PropertiesChecker(replacements);
         constructor.setPropertyUtils(propertiesChecker);
-        Yaml yaml = new Yaml(constructor);
+        Yaml yaml = YamlFactory.getInstance().newYamlInstance(constructor, 
propertiesChecker);

Review Comment:
   You're right. 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: pr-unsubscr...@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org
For additional commands, e-mail: pr-h...@cassandra.apache.org

Reply via email to