-
Notifications
You must be signed in to change notification settings - Fork 14.5k
MINOR: Make feature lists immutable #20052
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MINOR: Make feature lists immutable #20052
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, LGTM
flaky test |
…ections-immutable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yunchipang: LGTM
Replaces `.collect(Collectors.toList())` with `.toList()` for feature collections, ensuring they are immutable and preventing accidental modification. Reviewers: TaiJuWu <tjwu1217@gmail.com>, Yung <yungyung7654321@gmail.com>, Ken Huang <s7133700@gmail.com>, TengYao Chi <frankvicky@apache.org>
Replaces `.collect(Collectors.toList())` with `.toList()` for feature collections, ensuring they are immutable and preventing accidental modification. Reviewers: TaiJuWu <tjwu1217@gmail.com>, Yung <yungyung7654321@gmail.com>, Ken Huang <s7133700@gmail.com>, TengYao Chi <frankvicky@apache.org>
Replaces
.collect(Collectors.toList())
with.toList()
for featurecollections, ensuring they are immutable and preventing accidental
modification.
Reviewers: TaiJuWu tjwu1217@gmail.com, Yung
yungyung7654321@gmail.com, Ken Huang s7133700@gmail.com, TengYao
Chi frankvicky@apache.org