This rule is Obsolete | |
Synopsis: | Document empty method |
Language: | Java |
Severity Level: | 3 |
Category: | Design |
Description: |
Uncommented Empty Method finds instances where a method does not contain
statements, but there is no comment. By explicitly commenting empty methods
it is easier to distinguish between intentional (commented) and unintentional
empty methods.public void doSomething() { } |