A RetroSearch Logo

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

Search Query:

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

[java] False Alarm of JUnit4TestShouldUseTestAnnotation on Predicates · Issue #572 · pmd/pmd · GitHub

Rule Set:
JUnit4TestShouldUseTestAnnotation

Description:
This rule will falsely report a missing @Test annotation on classes implementing the test method of the java.util.Predicate interface.

Code Sample demonstrating the issue:

public final class Whatever<T> implements Predicate<T> {
    @Override
    public boolean test(T t) {
        return false;
    }
}

Running PMD through: any


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