From 0c06dec3b901ceddec6e5fe8d34ab686182b53a2 Mon Sep 17 00:00:00 2001 From: Tagir Valeev Date: Wed, 2 Oct 2024 11:03:05 +0200 Subject: [PATCH] Fix javadoc links --- src/jvmMain/java/org/jetbrains/annotations/NotNull.java | 2 +- src/jvmMain/java/org/jetbrains/annotations/Nullable.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jvmMain/java/org/jetbrains/annotations/NotNull.java b/src/jvmMain/java/org/jetbrains/annotations/NotNull.java index beeefff..b10698d 100644 --- a/src/jvmMain/java/org/jetbrains/annotations/NotNull.java +++ b/src/jvmMain/java/org/jetbrains/annotations/NotNull.java @@ -30,7 +30,7 @@ *

* If a method overrides a superclass method, and the superclass method specifies the nullability on parameter * or return type, then the subclass method should specify the same nullability, either directly or indirectly - * via {@link @NotNullByDefault}. The only exception is the covariant return type nullability: if the superclass + * via {@link NotNullByDefault}. The only exception is the covariant return type nullability: if the superclass * method is declared to return nullable value, then subclass may declare to return a not-null value. *

* The tools may issue a warning if the nullability for a subclass method contradicts from the specified nullability diff --git a/src/jvmMain/java/org/jetbrains/annotations/Nullable.java b/src/jvmMain/java/org/jetbrains/annotations/Nullable.java index a00a68d..d3649e5 100644 --- a/src/jvmMain/java/org/jetbrains/annotations/Nullable.java +++ b/src/jvmMain/java/org/jetbrains/annotations/Nullable.java @@ -37,7 +37,7 @@ *

* If a method overrides a superclass method, and the superclass method specifies the nullability on parameter * or return type, then the subclass method should specify the same nullability, either directly or indirectly - * via {@link @NotNullByDefault}. The only exception is the covariant return type nullability: if the superclass + * via {@link NotNullByDefault}. The only exception is the covariant return type nullability: if the superclass * method is declared to return nullable value, then subclass may declare to return a not-null value. *

* The tools may issue a warning if the nullability for a subclass method contradicts from the specified nullability