xiangfu0 commented on a change in pull request #7325:
URL: https://github.com/apache/pinot/pull/7325#discussion_r694209044



##########
File path: 
pinot-core/src/main/java/org/apache/pinot/core/util/SortedRangeIntersection.java
##########
@@ -60,27 +62,28 @@
         }
       }
       // move all pointers forward such that range they point to contain 
maxHead
-      for (int i = 0; i < sortedRangeSetList.size(); i++) {
-        if (i == maxHeadIndex) {
+      int j = -1;

Review comment:
       checkstyle doesn't allow modify the for loop value inside the loop block




-- 
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: commits-unsubscr...@pinot.apache.org

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



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

Reply via email to