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 flag same package FQCNs #1199

Closed
jsotuyod opened this Issue Jun 23, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@jsotuyod
Member

jsotuyod commented Jun 23, 2018

Affects PMD Version: 6.4.0

Rule:
category/java/codestyle.xml/UnnecessaryFullyQualifiedName

Description:
Unnecessary FQCN of same package classes are not flagged.

Code Sample demonstrating the issue:

package org.foo;

public class SamePackage {
    public void convert(org.foo.Bar s) { // violation
    }
}

Running PMD through: Any

@jsotuyod jsotuyod self-assigned this Oct 15, 2018

@jsotuyod jsotuyod added this to the 6.9.0 milestone Oct 15, 2018

jsotuyod added a commit to Monits/pmd that referenced this issue Oct 15, 2018

jsotuyod added a commit to Monits/pmd that referenced this issue Oct 15, 2018

jsotuyod added a commit to Monits/pmd that referenced this issue Oct 15, 2018

@jsotuyod jsotuyod added the has:pr label Oct 15, 2018

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