MINOR: add missing java.util.Collections import - #23319
Conversation
m1a2st
left a comment
There was a problem hiding this comment.
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 one thing though looking at the #23285 I don't see where it was removed and the build was passing for the merge |
@harmadasg do you want to pick this up? |
|
@harmadasg thanks for quick fix |
@bbejeck thanks for checking the PR. Sure I will open a new MINOR PR shortly to cover the change to |
|
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 |
@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 |
fix missing import
Reviewers: Bill Bejeck bbejeck@apache.org, Ken Huang s7133700@gmail.com, Chia-Ping Tsai chia7712@gmail.com