mirror of
https://github.com/jlengrand/error-prone-support.git
synced 2026-03-10 08:11:25 +00:00
1.0 KiB
1.0 KiB
layout, title, parent, nav_order
| layout | title | parent | nav_order |
|---|---|---|---|
| default | CanonicalAnnotationSyntax | Bug Patterns | 1 |
CanonicalAnnotationSyntax
Simplification
${EXTRA_DOCS}
Samples
```java public static void sample() {} ```
View source code on GitHubCanonicalAnnotationSyntax
Omit redundant syntax from annotation declarations
| Severity | SUGGESTION |
| Tags | Simplification |
Suppression
Suppress false positives by adding the suppression annotation @SuppressWarnings("CanonicalAnnotationSyntax") to the enclosing element.