smiklosovic commented on code in PR #2297:
URL: https://github.com/apache/cassandra/pull/2297#discussion_r1180754742


##########
src/java/org/apache/cassandra/hints/HintsDescriptor.java:
##########
@@ -78,8 +78,9 @@
         
Pattern.compile("^[a-fA-F0-9]{8}\\-[a-fA-F0-9]{4}\\-[a-fA-F0-9]{4}\\-[a-fA-F0-9]{4}\\-[a-fA-F0-9]{12}\\-(\\d+)\\-(\\d+)\\.hints$");
 
     private static final ObjectReader jsonMapReader;
-    static {
-        jsonMapReader = Json.JSON_OBJECT_MAPPER.readerFor(Map.class);
+    static
+    {
+        jsonMapReader = JsonUtils.JSON_OBJECT_MAPPER.readerFor(Map.class);

Review Comment:
   this is probably not necessary and may be replaced with 
`JsonUtils.fromJsonMap`



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