Affects PMD Version:
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.8</version>
Rule: UnusedFormalParameter
<rule ref="rulesets/java/unusedcode.xml/UnusedFormalParameter">
Description:
Rule "UnusedFormalParameter" failed to discover problems which should be this case.
The code is as followings:
Code Sample demonstrating the issue:
public RemotingContext setTimeoutDiscard(boolean failFastEnabled) {
this.timeoutDiscard = timeoutDiscard;
return this;
}
Running PMD through: [CLI | Ant | Maven | Gradle | Designer | Other]
maven, jdk7 and jdk8, mac os
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