A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/275 below:

Constant in @interface incorrectly reported as "could be made static" · Issue #275 · pmd/pmd · GitHub

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