aweisberg commented on code in PR #2049:
URL: https://github.com/apache/cassandra/pull/2049#discussion_r1063717351
##########
src/java/org/apache/cassandra/cql3/conditions/ColumnCondition.java:
##########
@@ -687,16 +957,21 @@ public static final class MultiCellUdtBound extends Bound
/**
* The conditions values.
*/
+ @Nonnull
private final List<ByteBuffer> values;
/**
* The protocol version
*/
+ @Nonnull
private final ProtocolVersion protocolVersion;
public MultiCellUdtBound(ColumnMetadata column, Operator op,
List<ByteBuffer> values, ProtocolVersion protocolVersion)
{
super(column, op);
+ checkNotNull(values);
+ checkNotNull(protocolVersion);
+ checkForUnsetValues(values);
assert column.type.isMultiCell();
this.values = values;
this.protocolVersion = protocolVersion;
Review Comment:
Removed it
--
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]