[java] UnnecessaryFullyQualifiedName false positive with similar package name #2299
Labels
a:false-positive
PMD flags a piece of code that is not problematic
Milestone
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
The text was updated successfully, but these errors were encountered: