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: [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]