You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by "belliottsmith (via GitHub)" <gi...@apache.org> on 2023/03/21 12:07:33 UTC

[GitHub] [cassandra-accord] belliottsmith commented on a diff in pull request #35: Add range assertions and docs

belliottsmith commented on code in PR #35:
URL: https://github.com/apache/cassandra-accord/pull/35#discussion_r1143276079


##########
accord-core/src/main/java/accord/primitives/AbstractRanges.java:
##########
@@ -41,6 +41,11 @@
 
     AbstractRanges(@Nonnull Range[] ranges)
     {
+        if (ranges.length > 0)

Review Comment:
   We don't usually permit double nesting of no braces, the outer statement is usually braced (esp. when mixing if+for)



-- 
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-unsubscribe@cassandra.apache.org

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


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