From 5bf91fb051bce74517456a35e798c44c331d7da2 Mon Sep 17 00:00:00 2001 From: Liam Miller-Cushon Date: Wed, 28 Aug 2024 11:03:52 -0700 Subject: [PATCH] Replace `{@link ThreadSafeTypeParameter}` with `{@code ThreadSafeTypeParameter}` The external build puts type annotations in a separate artifact, this fixes: ``` Error: /home/runner/work/error-prone/error-prone/annotations/src/main/java/com/google/errorprone/annotations/ThreadSafe.java:89: error: reference not found Error: * {@link ThreadSafeTypeParameter} javadoc. Error: ^ ``` PiperOrigin-RevId: 668526430 --- .../main/java/com/google/errorprone/annotations/ThreadSafe.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/annotations/src/main/java/com/google/errorprone/annotations/ThreadSafe.java b/annotations/src/main/java/com/google/errorprone/annotations/ThreadSafe.java index 190fe99e4f6..e4714115bb3 100644 --- a/annotations/src/main/java/com/google/errorprone/annotations/ThreadSafe.java +++ b/annotations/src/main/java/com/google/errorprone/annotations/ThreadSafe.java @@ -86,7 +86,7 @@ *

This first requirement means the type is at least inherently shallowly thread-safe. For types * with type parameters to be deemed deeply thread-safe, those of these types that denote * containment must also be deemed thread-safe. A full explanation of this can be found in the - * {@link ThreadSafeTypeParameter} javadoc. + * {@code ThreadSafeTypeParameter} javadoc. * *

Fields annotated with {@code javax.annotation.concurrent.GuardedBy} are likely the meat of a * mutable thread-safe class: these are things that need to be mutated, but should be done so in a