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] MissingStaticMethodInNonInstantiatableClass: False negative when method in nested class returns null · Issue #6343 · pmd/pmd Closed Labels a:false-negativePMD doesn't flag a problematic piece of code Milestone DescriptionAffects PMD Version: 7.19.0 Rule: MissingStaticMethodInNonInstantiatableClass Description: This is due to currently that Code Sample demonstrating the issue: public class MyClass { private MyClass() { } public static class NotABuilder { private NotABuilder() {} public NotABuilder notABuilder() { return null; } } } Expected outcome: PMD should report a violation at line 1, but doesn't. This is a false-negative. Activity
MetadataMetadataAssigneesLabelsa:false-negativePMD doesn't flag a problematic piece of code 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. |