apache / apache/druid

Prohibit List<BoxedPrimitive>, Set and Map

Open
#6,861 1 comment 0 reactions 1 assignee Claimed by @leventov View on GitHub
Area - Automation/Static Analysis Performance stale
Dominant language
Java
Stars
14.1k
Forks
3.8k
Avg merge
2d 58m
Merged PRs (30d)
233

Description

Using custom IntelliJ inspections, prohibit *types* like `List`, `ArrayList`, `ImmutableList`, `Set`, `HashSet`, `ImmutableSet`, 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 https://github.com/FasterXML/jackson-datatypes-collections/issues/38.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.