Skip to content

Commit 0d04181

Browse files
committed
Javadoc touch-up
1 parent 6894074 commit 0d04181

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/jvmMain/java/org/jetbrains/annotations/Debug.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ private Debug() {
3535
}
3636

3737
/**
38-
* Allows to change the presentation of an object in debuggers
38+
* Allows changing the presentation of an object in debuggers
3939
*/
4040
@Target(ElementType.TYPE)
4141
@Retention(RetentionPolicy.CLASS)

src/jvmMain/java/org/jetbrains/annotations/NotNullByDefault.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,14 @@
2727
* {@code <T extends @UnknownNullability Object>}.
2828
* <p>
2929
* The type parameter references are not affected by {@code @NotNullByDefault}. For example:
30-
* <pre>{@code
31-
* @NotNullByDefault
30+
* <pre>{@code @NotNullByDefault
3231
* interface Pair<K extends @Nullable Object, V> {
3332
* // Not assumed to be @NotNull; may return null depending on the K instantiation
3433
* K getKey();
3534
* // Returns @NotNull, as implicit upper bound of V is @NotNull Object,
3635
* // so it cannot be instantiated with a nullable type
3736
* V getValue();
38-
* }}</pre>
37+
* } }</pre>
3938
* <p>
4039
* The annotation has no effect on local variables.
4140
*

0 commit comments

Comments
 (0)