Skip to content
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

Update collection return encapsulation hint. #6090

Merged
merged 1 commit into from
Jul 4, 2023

Conversation

mbien
Copy link
Member

@mbien mbien commented Jun 17, 2023

Small update which adds support for unmodifiable and sequenced collections.

Reduces some false positives. This hint is still of fairly limited use since it produces false positives for fields which are initialized in static blocks or constructors. (hint is off by default I believe)

adds unmodifiable and sequenced collections.
@mbien mbien added Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) hints labels Jun 17, 2023
@mbien mbien added this to the NB19 milestone Jun 17, 2023
@mbien mbien requested a review from jlahoda June 17, 2023 15:19
@mbien
Copy link
Member Author

mbien commented Jul 4, 2023

@BradWalker thanks for reviewing

@mbien mbien merged commit 5f9b451 into apache:master Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hints Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants