A RetroSearch Logo

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

Search Query:

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

[java] LinguisticNaming should ignore overriden methods · Issue #1543 · pmd/pmd · GitHub

Affects PMD Version: 6.10.0

Rule: LinguisticNaming

Description:

Code Sample demonstrating the issue:

Class from a library:

public class Foo {
    private int value;

    public int setValue(int value) {
        this.value = value;
        return value;
    }
}

Class in my project that fails with LinguisticNaming:

public class Bar extends Foo {
    private int value;

    @Override
    public int setValue(int value) {
        this.value = value;
        return value;
    }
}

Running PMD through: Maven


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