Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
amaembo committed Oct 4, 2024
1 parent 61bce51 commit 4f1401a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* <pre>{@code
* @NotNullByDefault
* interface Pair<K extends @Nullable Object, V> {
* // 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
Expand Down

0 comments on commit 4f1401a

Please sign in to comment.