cloud-fan commented on code in PR #50338:
URL: https://github.com/apache/spark/pull/50338#discussion_r2005686781


##########
common/unsafe/src/main/java/org/apache/spark/unsafe/types/ByteArray.java:
##########
@@ -171,7 +171,7 @@ public static byte[] concatWS(byte[] delimiter, byte[]... 
inputs) {
     // Allocate a new byte array, and copy the inputs one by one into it
     final byte[] result = new byte[Ints.checkedCast(totalLength)];
     int offset = 0;
-    for (int i = 0; i < inputs.length; i++) {
+    for (int i = 0; i < inputs.length; ++i) {

Review Comment:
   does this make a difference? my impression is that legacy trick like `++i` 
shouldn't be used in modern java anymore.



-- 
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: reviews-unsubscr...@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to