Skip to content

Commit 9405850

Browse files
committed
remove jspecify annotations as they're not in the classpath for older targets
1 parent 1884d9b commit 9405850

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/dev/isxander/yacl3/gui/OptionListWidget.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ protected boolean isValidMouseClick(int button) {
256256
}
257257

258258
@Override
259-
protected @org.jspecify.annotations.Nullable Entry nextEntry(@NotNull ScreenDirection direction, @NotNull Predicate<Entry> predicate, @org.jspecify.annotations.Nullable Entry selected) {
259+
protected Entry nextEntry(@NotNull ScreenDirection direction, @NotNull Predicate<Entry> predicate, Entry selected) {
260260
// ensure we don't focus unviewable entries
261261
return super.nextEntry(direction, entry -> entry.isViewable() && predicate.test(entry), selected);
262262
}

0 commit comments

Comments
 (0)