From 8a9a92c1efe8dc523583050a09b6399a9a590203 Mon Sep 17 00:00:00 2001 From: Besmir Beqiri Date: Fri, 22 Dec 2023 19:20:55 +0100 Subject: [PATCH] Changes related to the FXFuture API latest updates --- .../one/jpro/platform/auth/example/login/page/SignedInPage.java | 1 - .../src/main/java/one/jpro/platform/routing/popup/PopupAPI.java | 1 - 2 files changed, 2 deletions(-) diff --git a/jpro-auth/example/src/main/java/one/jpro/platform/auth/example/login/page/SignedInPage.java b/jpro-auth/example/src/main/java/one/jpro/platform/auth/example/login/page/SignedInPage.java index 453b92c7..4e10c26a 100644 --- a/jpro-auth/example/src/main/java/one/jpro/platform/auth/example/login/page/SignedInPage.java +++ b/jpro-auth/example/src/main/java/one/jpro/platform/auth/example/login/page/SignedInPage.java @@ -38,7 +38,6 @@ public SignedInPage(LoginApp app, .onSuccess(nothing -> { app.setUser(null); app.getSessionManager().gotoURL("/"); - return nothing; })); signOutButton.setDefaultButton(true); diff --git a/jpro-routing/popup/src/main/java/one/jpro/platform/routing/popup/PopupAPI.java b/jpro-routing/popup/src/main/java/one/jpro/platform/routing/popup/PopupAPI.java index e62d3000..f3dbec7e 100644 --- a/jpro-routing/popup/src/main/java/one/jpro/platform/routing/popup/PopupAPI.java +++ b/jpro-routing/popup/src/main/java/one/jpro/platform/routing/popup/PopupAPI.java @@ -53,7 +53,6 @@ public static FXFuture showLoadingScreen(Pane popupContext, FXFuture f fu.onComplete((v) -> { indicator.setProgress(1.0); closePopup(popup); - return null; }); return fu; }