mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-17 16:55:02 +00:00
un-deprecate the dependency loader
This commit is contained in:
3 files changed
+2
-11
No files matched your search
-4
@@ -215,14 +215,10 @@ public class DependencyLoaderImpl {
|
||||
Internet.transferAndClose(is, new BufferedOutputStream(Files.newOutputStream(target.toPath())));
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@DeprecationDetails(deprecatedSince = "0.11.0")
|
||||
public static void loadLibraries(Library... libraries) {
|
||||
loadLibrariesAsync(libraries).join();
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@DeprecationDetails(deprecatedSince = "0.11.0")
|
||||
public static CompletableFuture<Void> loadLibrariesAsync(Library... libraries) {
|
||||
val futures = new ArrayList<CompletableFuture<Void>>();
|
||||
for (val library : libraries) {
|
||||
|
||||
Reference in new issue
Block a user