blerer commented on code in PR #2655:
URL: https://github.com/apache/cassandra/pull/2655#discussion_r1376500108
##########
src/java/org/apache/cassandra/cql3/Sets.java:
##########
@@ -434,9 +311,7 @@ public void execute(DecoratedKey partitionKey,
UpdateParameters params) throws I
return;
// This can be either a set or a single element
- Set<ByteBuffer> toDiscard = value instanceof Sets.Value
- ? ((Sets.Value)value).elements
- : Collections.singleton(value.get());
+ List<ByteBuffer> toDiscard = value.getElements();
Review Comment:
Why do you want to keep 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]