dcapwell commented on code in PR #4556:
URL: https://github.com/apache/cassandra/pull/4556#discussion_r2748573424


##########
src/java/org/apache/cassandra/service/WriteResponseHandler.java:
##########
@@ -58,6 +61,14 @@ public WriteResponseHandler(ReplicaPlan.ForWrite 
replicaPlan, WriteType writeTyp
 
     public void onResponse(Message<T> m)
     {
+        if (m != null)
+        {
+            Map<ParamType, Object> params = m.header.params();
+            if (WriteWarningContext.isSupported(params.keySet()))
+            {

Review Comment:
   nit: can remove the `{}` in this case as the block is simple and one line



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