Skip to content

Commit

Permalink
fix: Remove Nullable annotation from type parameter for GWT
Browse files Browse the repository at this point in the history
compatibility.
  • Loading branch information
crykn committed Mar 5, 2024
1 parent 0bb0df6 commit fe7a002
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/de/eskalon/commons/screen/ScreenManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@
* "https://github.com/crykn/libgdx-screenmanager/wiki/Screen-Lifecycle">The
* wiki entry detailing a screen's life-cycle</a>
*/
public class ScreenManager<S extends ManagedScreen, @Nullable T extends ScreenTransition>
public class ScreenManager<S extends ManagedScreen, /* @Nullable */ T extends ScreenTransition>
implements Disposable {
// On GWT, @Nullable can't be used in type parameters yet; see
// https://github.com/jspecify/jspecify/issues/184

private Logger LOG = LoggerService.getLogger(ScreenManager.class);

Expand Down

0 comments on commit fe7a002

Please sign in to comment.