apache / apache/druid

Prohibit static, non-final fields

Open
#7,227 6 comments 0 reactions 0 assignees View on GitHub
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 can be done with IntelliJ structural search.
1. Open Structural Search.
2. Press gear button -> "Existing Templates...".
3. Choose "static fields that are not final".
4. Choose Scope -> "NonGeneratedFiles".

There are 332 occurrences.

Contributor guide

Open the contributing guide

Research direction

Start with IntelliJ Structural Search, using the existing "static fields that are not final" template and the NonGeneratedFiles scope described in the issue. Review the 332 occurrences and determine the appropriate handling for each; done means the prohibited matches have been addressed and the search no longer finds them.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.