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


##########
src/java/org/apache/cassandra/cql3/statements/ModificationStatement.java:
##########
@@ -316,11 +339,55 @@ public void validateTimestamp(QueryState queryState, 
QueryOptions options)
         Guardrails.minimumAllowableTimestamp.guard(ts, table(), false, 
queryState.getClientState());
     }
 
+    public void validateConstraints()

Review Comment:
   simplify by removing all unncessary braces in ifs or fors



##########
src/java/org/apache/cassandra/cql3/statements/ModificationStatement.java:
##########
@@ -316,11 +339,55 @@ public void validateTimestamp(QueryState queryState, 
QueryOptions options)
         Guardrails.minimumAllowableTimestamp.guard(ts, table(), false, 
queryState.getClientState());
     }
 
+    public void validateConstraints()

Review Comment:
   simplify by removing all unnecessary braces in ifs or fors



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