netudima commented on code in PR #4538:
URL: https://github.com/apache/cassandra/pull/4538#discussion_r2637187604


##########
src/java/org/apache/cassandra/utils/btree/BTree.java:
##########
@@ -1316,6 +1317,55 @@ public static <I, O> Object[] transform(Object[] tree, 
Function<? super I, ? ext
         return result;
     }
 
+    /**

Review Comment:
   yes, I've attached test results to the ticket. Unfortunately the method 
reference trick which I mentioned in another comment does not work for logic in 
`org.apache.cassandra.db.rows.BTreeRow#clone`.
   BTree functionality is stable and does not change frequently to introduce 
too much maintenance cost here. Also, the same pattern has been already used 
previously in this class for transformAndFilter logic.
   
   



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