run should not be empty
6public class AppRunner {
7
8 // @Test
9 public void run() {10 }11
12}
Description
This method is empty and does not appear to have any explanation regarding why. This may confuse future readers of this code. Additionally, such code produces needless, avoidable clutter.
Bad Practice
void method() {
}
Recommended
If the method overrides a parent implementation and is left empty to prevent default behavior, consider documenting why with a comment:
@Override
void method() {
// left empty because of ...
}