dcapwell commented on a change in pull request #1176:
URL: https://github.com/apache/cassandra/pull/1176#discussion_r698685491
##########
File path: src/java/org/apache/cassandra/db/rows/NativeCell.java
##########
@@ -78,7 +78,7 @@ public NativeCell(NativeAllocator allocator,
assert column.isComplex() == (path != null);
if (path != null)
{
- assert path.size() == 1;
+ assert path.size() == 1 : String.format("Expected path size to be
1 but was not; %s", path);
Review comment:
this is a nit from me; asserts should have messages to help (not needed
for the patch, but is useful)
--
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]