Skip to content

Commit bdf9a97

Browse files
JarvisCraftError Prone Team
authored andcommitted
Fix invalid javadoc of @IncompatibleModifiers
# Description This simply adds missing parts of `@IncompatibleModifiers` Javadoc which currently is broken. Fixes #5655 FUTURE_COPYBARA_INTEGRATE_REVIEW=#5655 from JarvisCraft:IncompatibleModifiers-javadoc 9240b8f PiperOrigin-RevId: 889152424
1 parent ef81093 commit bdf9a97

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

annotations/src/main/java/com/google/errorprone/annotations/IncompatibleModifiers.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@
2929
* <pre>{@code
3030
* @IncompatibleModifiers(modifier = Modifier.PUBLIC)
3131
* @interface MyAnnotation {}
32-
* </pre>
32+
* }</pre>
3333
*
3434
* <p>will be considered illegal when used as:
3535
*
36-
* <pre>
36+
* <pre>{@code
3737
* @MyAnnotation public void foo() {}
3838
* }</pre>
3939
*

0 commit comments

Comments
 (0)