New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[java] UnnecessaryFullyQualifiedName doesn't detect java.lang FQ names as violations #1186

jsotuyod opened this Issue Jun 11, 2018 · 1 comment


None yet
2 participants

jsotuyod commented Jun 11, 2018

Affects PMD Version: 6.4.0


When the import is implicit rather than explicit, unnecessary FQCN uses are not flagged.

Possibly the same error occurs for same-package classes.

Code Sample demonstrating the issue:

public class JavaLang {
    public void convert(java.lang.String s) {

Running PMD through: Any


This comment has been minimized.


jsotuyod commented Jun 23, 2018

The java.lang issue has been fixed, the same-package hasn't been yet. I'm opening a new issue to track it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment