Affects PMD Version: 6.22.0
Rule: AbstractClassWithoutAnyMethod
Description:
Empty abstract classes are not detected, if they are nested within a non-empty class.
The same is true, if empty abstract classes are nested together with other non-empty (sibling) nested classes.
Code Sample demonstrating the issue:
public class Foo { public void bar() { System.out.println("baz"); } private abstract class AbstractClass { } }
Expected outcome:
The inner class "AbstractClass" should be flagged by this rule.
Note: This is fixed in #2384
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4