Skip to content

MINOR: add missing java.util.Collections import - #23319

Merged
bbejeck merged 1 commit into
apache:trunkfrom
harmadasg:fix-missing-import
Aug 31, 2026
Merged

MINOR: add missing java.util.Collections import#23319
bbejeck merged 1 commit into
apache:trunkfrom
harmadasg:fix-missing-import

Conversation

@harmadasg

@harmadasg harmadasg commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

fix missing import

Reviewers: Bill Bejeck bbejeck@apache.org, Ken Huang s7133700@gmail.com, Chia-Ping Tsai chia7712@gmail.com

@bbejeck bbejeck left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @harmadasg apologies for the mixup.

@m1a2st m1a2st left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we should use Set.of() instead of Collections.singleton()

@bbejeck

bbejeck commented Aug 31, 2026

Copy link
Copy Markdown
Member

I think we should use Set.of() instead of Collections.singleton()

Sure, but I think we should do that in a follow-up PR since the build is currently broken

@bbejeck

bbejeck commented Aug 31, 2026

Copy link
Copy Markdown
Member

@harmadasg one thing though looking at the #23285 I don't see where it was removed and the build was passing for the merge

@bbejeck
bbejeck merged commit 29b9ba1 into apache:trunk Aug 31, 2026
17 checks passed
@bbejeck

bbejeck commented Aug 31, 2026

Copy link
Copy Markdown
Member

I think we should use Set.of() instead of Collections.singleton()

Sure, but I think we should do that in a follow-up PR since the build is currently broken

@harmadasg do you want to pick this up?

@chia7712

Copy link
Copy Markdown
Member

@harmadasg thanks for quick fix

@harmadasg

Copy link
Copy Markdown
Contributor Author

I think we should use Set.of() instead of Collections.singleton()

Sure, but I think we should do that in a follow-up PR since the build is currently broken

@harmadasg do you want to pick this up?

@bbejeck thanks for checking the PR. Sure I will open a new MINOR PR shortly to cover the change to Set.of().

@bbejeck

bbejeck commented Aug 31, 2026

Copy link
Copy Markdown
Member

Just to close this out Root cause was a semantic (not textual) merge conflict between two independently-green PRs:

#23285 was squash-rebased onto post-#23242 trunk at merge time. The rebase kept the import deletion (untouched context on #23285's side) and applied the new uses in a different region — no textual conflict, so nothing flagged it

@harmadasg

Copy link
Copy Markdown
Contributor Author

I think we should use Set.of() instead of Collections.singleton()

@m1a2st opened #23320 to cover the review item

@chia7712

Copy link
Copy Markdown
Member

#23285 was squash-rebased onto post-#23242 trunk at merge time. The rebase kept the import deletion (untouched context on #23285 side) and applied the new uses in a different region — no textual conflict, so nothing flagged it

@bbejeck thanks for the thorough cogitation upon the root cause 🧐. Don't worry about the build failure. It is a good-first-issue for everyone

@github-actions github-actions Bot removed the triage PRs from the community label Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants