Affects PMD Version:
6.20.0, at least.
Rule:
UnnecessaryFullyQualifiedName
Description:
If a FQN starts (but continues with further identifier symbols) with the current package name, there's a false positive `Unnecessary use of fully qualified name 'a.b.car.Car' due to existing same package import 'a.b.c.*'
Code Sample demonstrating the issue:
package a.b.c;
class A {
a.b.car.Car c;
}
Running PMD through:
CLI/Gradle
Affects PMD Version:
6.20.0, at least.
Rule:
UnnecessaryFullyQualifiedName
Description:
If a FQN starts (but continues with further identifier symbols) with the current package name, there's a false positive `Unnecessary use of fully qualified name 'a.b.car.Car' due to existing same package import 'a.b.c.*'
Code Sample demonstrating the issue:
Running PMD through:
CLI/Gradle