jainankitk commented on code in PR #15109:
URL: https://github.com/apache/lucene/pull/15109#discussion_r2294293280


##########
lucene/core/src/test/org/apache/lucene/internal/hppc/TestLongArrayList.java:
##########
@@ -279,7 +279,7 @@ public void testIterable() {
 
     count = 0;
     list.resize(0);
-    for (@SuppressWarnings("unused") LongCursor cursor : list) {
+    for (LongCursor _ : list) {

Review Comment:
   Yeah, I have also been reviewing these changes and noticed the funny loop a 
few times. But, just changed to unnamed variable for consistency as part of 
this PR



-- 
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: issues-unsubscr...@lucene.apache.org

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


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

Reply via email to