From e76a5f2e94e38f1bdd67b0afecc151825f401ddd Mon Sep 17 00:00:00 2001 From: crschnick Date: Wed, 24 Jan 2024 04:32:27 +0000 Subject: [PATCH] Fix ssh config NPE --- app/src/main/java/io/xpipe/app/browser/BrowserModel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/xpipe/app/browser/BrowserModel.java b/app/src/main/java/io/xpipe/app/browser/BrowserModel.java index cb7b45ee..5754b777 100644 --- a/app/src/main/java/io/xpipe/app/browser/BrowserModel.java +++ b/app/src/main/java/io/xpipe/app/browser/BrowserModel.java @@ -8,6 +8,7 @@ import io.xpipe.app.util.FileReference; import io.xpipe.app.util.ThreadHelper; import io.xpipe.core.store.FileNames; import io.xpipe.core.store.FileSystemStore; +import io.xpipe.core.util.FailableFunction; import javafx.beans.property.BooleanProperty; import javafx.beans.property.Property; import javafx.beans.property.SimpleBooleanProperty; @@ -20,7 +21,6 @@ import lombok.Setter; import java.util.ArrayList; import java.util.List; import java.util.function.Consumer; -import java.util.function.Function; @Getter public class BrowserModel { @@ -116,7 +116,7 @@ public class BrowserModel { } } - public void openFileSystemAsync(DataStoreEntryRef store, Function path, BooleanProperty externalBusy) { + public void openFileSystemAsync(DataStoreEntryRef store, FailableFunction path, BooleanProperty externalBusy) { if (store == null) { return; }