Skip to content

Conversation

@tang-hi
Copy link
Contributor

@tang-hi tang-hi commented Nov 24, 2025

A minor code cleanup

refactored the loop over fieldHash in the flush method to use a for-each loop

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors a loop over the fieldHash array in the flush method from an indexed for-loop to a for-each loop, making the code more concise and idiomatic.

Key changes:

  • Replaced indexed for-loop with for-each loop for iterating over fieldHash array

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 9, 2025

This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the dev@lucene.apache.org list. Thank you for your contribution!

@github-actions github-actions bot added the Stale label Dec 9, 2025
@dweiss dweiss added this to the 11.0.0 milestone Dec 10, 2025
@dweiss dweiss added the skip-changelog Apply to PRs that don't need a changelog entry, stopping the automated changelog check. label Dec 10, 2025
@dweiss dweiss merged commit c47f40b into apache:main Dec 10, 2025
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module:core/index skip-changelog Apply to PRs that don't need a changelog entry, stopping the automated changelog check. Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants