mirror of
https://github.com/jlengrand/error-prone-support.git
synced 2026-03-10 08:11:25 +00:00
967 B
967 B
layout, title, parent, nav_order
| layout | title | parent | nav_order |
|---|---|---|---|
| default | EmptyMethod | Bug Patterns | 1 |
EmptyMethod
Simplification
${EXTRA_DOCS}
Samples
```java public static void sample() {} ```
View source code on GitHubEmptyMethod
Empty method can likely be deleted
| Severity | SUGGESTION |
| Tags | Simplification |
Suppression
Suppress false positives by adding the suppression annotation @SuppressWarnings("EmptyMethod") to the enclosing element.