Rule Set: design.html#FinalFieldCouldBeStatic
Code Sample demonstrating the issue:
public @interface MetricType { int CHECKBOX = 0, COUNTER = 1, SPINNER = 2, NOTE = 3, STOPWATCH = 4, HEADER = 5; }
--> but all fields in interfaces/@interfaces are static and final by default
Running PMD through: Gradle
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4