From: Matthias Sohn Date: Fri, 30 Aug 2024 20:09:11 +0000 (+0200) Subject: Remove deprecated FS#setAsyncFileStoreAttributes method X-Git-Tag: v7.0.0.202409031743-r~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2a10b416f9468a6c4cc09eca68678131ec7e7db4;p=jgit.git Remove deprecated FS#setAsyncFileStoreAttributes method Change-Id: Iea9f61fd65772ab247b382c93035e3c9974705aa --- diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java index 8e0b93f082..860c1c92fd 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java @@ -897,21 +897,6 @@ public abstract class FS { return detect(null); } - /** - * Whether FileStore attributes should be determined asynchronously - * - * @param asynch - * whether FileStore attributes should be determined - * asynchronously. If false access to cached attributes may block - * for some seconds for the first call per FileStore - * @since 5.1.9 - * @deprecated Use {@link FileStoreAttributes#setBackground} instead - */ - @Deprecated - public static void setAsyncFileStoreAttributes(boolean asynch) { - FileStoreAttributes.setBackground(asynch); - } - /** * Auto-detect the appropriate file system abstraction, taking into account * the presence of a Cygwin installation on the system. Using jgit in