Skip to content

Commit

Permalink
Replace {@link ThreadSafeTypeParameter} with `{@code ThreadSafeType…
Browse files Browse the repository at this point in the history
…Parameter}`

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
  • Loading branch information
cushon authored and Error Prone Team committed Aug 28, 2024
1 parent a5a7189 commit 5bf91fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
* <p>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.
*
* <p>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
Expand Down

0 comments on commit 5bf91fb

Please sign in to comment.