mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-11 23:07:32 +00:00
mark deprecations for removal
This commit is contained in:
1 file changed
+2
@@ -121,6 +121,7 @@ public final class UpdateChecker {
|
||||
@Deprecated
|
||||
@DeprecationDetails(deprecatedSince = "0.11.0",
|
||||
replacement = "fetchUpdatesV2")
|
||||
@DeprecationDetails.RemovedInVersion("0.13")
|
||||
@StableAPI.Expose
|
||||
public static List<ModUpdateInfo> fetchUpdates(String url) throws UpdateCheckException {
|
||||
return UpdateCheckerImpl.fetchUpdates(url);
|
||||
@@ -133,6 +134,7 @@ public final class UpdateChecker {
|
||||
@Deprecated
|
||||
@DeprecationDetails(deprecatedSince = "0.11.0",
|
||||
replacement = "fetchUpdatesAsyncV2")
|
||||
@DeprecationDetails.RemovedInVersion("0.13")
|
||||
public static CompletableFuture<List<ModUpdateInfo>> fetchUpdatesAsync(String url) {
|
||||
return UpdateCheckerImpl.fetchUpdatesAsync(url);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user