Skip to content

Commit 50c1d1b

Browse files
{@code null}
1 parent 11c08b2 commit 50c1d1b

File tree

1 file changed

+2
-2
lines changed
  • enigma/src/main/java/org/quiltmc/enigma/util

1 file changed

+2
-2
lines changed

enigma/src/main/java/org/quiltmc/enigma/util/Result.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public sealed interface Result<T, E> {
1717
/**
1818
* Creates a successful result holding the passed {@code value}.
1919
*
20-
* @param value the value held by the returned result; must not be null
20+
* @param value the value held by the returned result; must not be {@code null}
2121
*
2222
* @param <T> the value type held by a successful result
2323
* @param <E> the error type held by an unsuccessful result
@@ -33,7 +33,7 @@ static <T, E> Result<T, E> ok(T value) {
3333
/**
3434
* Creates an error result holding the passed {@code error}.
3535
*
36-
* @param error the error held by the returned result; must not be null
36+
* @param error the error held by the returned result; must not be {@code null}
3737
*
3838
* @param <T> the value type held by a successful result
3939
* @param <E> the error type held by an unsuccessful result

0 commit comments

Comments
 (0)