GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [java] UnnecessaryFullyQualifiedName false positive when nested and non-nested classes with the same name and in the same package are used together · Issue #4085 · pmd/pmd Closed Labels a:false-positivePMD flags a piece of code that is not problematic Milestone DescriptionOne can find a project to reproduce this issue here: https://github.com/OlegAndreych/PMDNestedClassFQNTest. package some.pkg; public class Test { } package some.pkg; public class OuterTest { public static class Test{ private final some.pkg.Test test; // line 5 - false positive public Test(some.pkg.Test test){ // line 7 - false positive this.test = test; } } } PMD Reports the following violations: Both are false positives - the fully qualified name is necessary, since the enclosing class has the same name ( Activity
MetadataMetadataAssigneesLabelsa:false-positivePMD flags a piece of code that is not problematic TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |