Skip to content

Commit

Permalink
Javadoc touch-up
Browse files Browse the repository at this point in the history
  • Loading branch information
amaembo committed Oct 8, 2024
1 parent 6894074 commit 0d04181
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/jvmMain/java/org/jetbrains/annotations/Debug.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ private Debug() {
}

/**
* Allows to change the presentation of an object in debuggers
* Allows changing the presentation of an object in debuggers
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.CLASS)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,14 @@
* {@code <T extends @UnknownNullability Object>}.
* <p>
* The type parameter references are not affected by {@code @NotNullByDefault}. For example:
* <pre>{@code
* @NotNullByDefault
* <pre>{@code @NotNullByDefault
* interface Pair<K extends @Nullable Object, V> {
* // 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
* V getValue();
* }}</pre>
* } }</pre>
* <p>
* The annotation has no effect on local variables.
*
Expand Down

0 comments on commit 0d04181

Please sign in to comment.