Make IntelliJ's inspection "ThreadLocal field not declared static final" a error
Open
Area - Automation/Static Analysis
Contributions Welcome
- Dominant language
- Java
- Stars
- 14.1k
- Forks
- 3.8k
- Avg merge
- 2d 58m
- Merged PRs (30d)
- 233
Description
This is often a bug or a code smell that is always possible to refactor into something better: see #8884, #8886, #8887.
Contributor guide
Research direction
Start by reading the related issues #8884, #8886, and #8887 to understand the intended refactoring pattern and locate the IntelliJ inspection configuration. Done means the "ThreadLocal field not declared static final" inspection is treated as an error and the affected code is addressed consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100