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

Prohibit List<BoxedPrimitive>, Set and Map #6861

Open
leventov opened this issue Jan 15, 2019 · 1 comment
Open

Prohibit List<BoxedPrimitive>, Set and Map #6861

leventov opened this issue Jan 15, 2019 · 1 comment

Comments

@leventov
Copy link
Member

Using custom IntelliJ inspections, prohibit types like List<Integer>, ArrayList<Integer>, ImmutableList<Integer>, Set<Integer>, HashSet<Integer>, ImmutableSet<Integer>, same with other boxed primitive types, same with Maps, HashMaps and ImmutableMaps with primitives in either key or value position. Fastutil should be used instead.

When concurrency is needed, ConcurrentMap and ConcurrentHashMap types should be used, so there is no conflict.

Currently this task is blocked by FasterXML/jackson-datatypes-collections#38.

@github-actions
Copy link

This issue has been marked as stale due to 280 days of inactivity.
It will be closed in 4 weeks if no further activity occurs. If this issue is still
relevant, please simply write any comment. Even if closed, you can still revive the
issue at any time or discuss it on the [email protected] list.
Thank you for your contributions.

@github-actions github-actions bot added the stale label Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant