Skip to content

Commit b482675

Browse files
cushonError Prone Team
authored and
Error Prone Team
committed
Fix some javadoc lint
PiperOrigin-RevId: 530417201
1 parent 80a944b commit b482675

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* <ul>
3737
* <li>For humans: it indicates that the class/interface (and subclasses) is thread-safe
3838
* <li>For machines: it causes the annotated class/interface -- and all of its subtypes -- to be
39-
* validated by the {@link com.google.errorprone.bugpatterns.threadsafety.ThreadSafeChecker}
39+
* validated by the {@code com.google.errorprone.bugpatterns.threadsafety.ThreadSafeChecker}
4040
* {@code BugChecker}.
4141
* </ul>
4242
*
@@ -53,8 +53,8 @@
5353
* keeping it thread-safe is even more so.
5454
*
5555
* <p>The remainder of this javadoc describes the heuristics enforced by {@code ThreadSafeChecker}
56-
* and the related {@link com.google.errorprone.bugpatterns.threadsafety.GuardedByChecker} and
57-
* {@link com.google.errorprone.bugpatterns.threadsafety.ImmutableChecker} on which the former
56+
* and the related {@code com.google.errorprone.bugpatterns.threadsafety.GuardedByChecker} and
57+
* {@code com.google.errorprone.bugpatterns.threadsafety.ImmutableChecker} on which the former
5858
* relies.
5959
*
6060
* <p>The {@code ThreadSafeChecker} heuristics enforce that every field meets at least one of these
@@ -73,10 +73,10 @@
7373
* requirement is that it meets at least one of these four conditions:
7474
*
7575
* <ul>
76-
* <li>it is listed as a well-known immutable type in {@link
76+
* <li>it is listed as a well-known immutable type in {@code
7777
* com.google.errorprone.bugpatterns.threadsafety.WellKnownMutability} (e.g. a field of type
7878
* {@link String}); and/or
79-
* <li>it is listed as a well-known thread-safe type in {@link
79+
* <li>it is listed as a well-known thread-safe type in {@code
8080
* com.google.errorprone.bugpatterns.threadsafety.WellKnownThreadSafety} (e.g. a field of type
8181
* {@link java.util.concurrent.atomic.AtomicBoolean}); and/or
8282
* <li>it is annotated with {@link Immutable}; and/or
@@ -85,7 +85,7 @@
8585
*
8686
* <p>This first requirement means the type is at least inherently shallowly thread-safe.
8787
*
88-
* <p>Fields annotated with {@link javax.annotation.concurrent.GuardedBy} are likely the meat of a
88+
* <p>Fields annotated with {@code javax.annotation.concurrent.GuardedBy} are likely the meat of a
8989
* mutable thread-safe class: these are things that need to be mutated, but should be done so in a
9090
* safe manner -- i.e., (most likely) in critical sections of code that protect their access by
9191
* means of a lock. See more information in that annotation's javadoc.

0 commit comments

Comments
 (0)