From 4f1401ae7974623303c9db16d62f239eef9110ac Mon Sep 17 00:00:00 2001 From: Tagir Valeev Date: Fri, 4 Oct 2024 13:08:37 +0200 Subject: [PATCH] Fix typo --- .../java/org/jetbrains/annotations/NotNullByDefault.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jvmMain/java/org/jetbrains/annotations/NotNullByDefault.java b/src/jvmMain/java/org/jetbrains/annotations/NotNullByDefault.java index 833a9c7..dc1cf67 100644 --- a/src/jvmMain/java/org/jetbrains/annotations/NotNullByDefault.java +++ b/src/jvmMain/java/org/jetbrains/annotations/NotNullByDefault.java @@ -30,7 +30,7 @@ *
{@code
  * @NotNullByDefault
  * interface Pair {
- *   // Not assumed to be @NotNull; may return null depending on the T instantiation
+ *   // Not assumed to be @NotNull; may return null depending on the K instantiation
  *   K getKey();
  *   // Returns @NotNull, as implicit upper bound of V is @NotNull Object,
  *   // so it cannot be instantiated with a nullable type