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