verifyHDir больше не доступен из runtime

This commit is contained in:
Gravit 2018-10-21 17:25:20 +07:00
parent bc62dc3416
commit c95e3ff232
No known key found for this signature in database
GPG key ID: 061981E1E85D3216

View file

@ -266,7 +266,7 @@ public static boolean isLaunched() {
return Launcher.LAUNCHED.get(); return Launcher.LAUNCHED.get();
} }
@LauncherAPI
public static boolean isUsingWrapper() { public static boolean isUsingWrapper() {
return JVMHelper.OS_TYPE == OS.MUSTDIE && isUsingWrapper; return JVMHelper.OS_TYPE == OS.MUSTDIE && isUsingWrapper;
} }
@ -509,7 +509,6 @@ public static void setProfile(ClientProfile profile) {
LogHelper.debug("New Profile name: %s", profile.getTitle()); LogHelper.debug("New Profile name: %s", profile.getTitle());
} }
@LauncherAPI
public static void verifyHDir(Path dir, HashedDir hdir, FileNameMatcher matcher, boolean digest) throws IOException { public static void verifyHDir(Path dir, HashedDir hdir, FileNameMatcher matcher, boolean digest) throws IOException {
if (matcher != null) if (matcher != null)
matcher = matcher.verifyOnly(); matcher = matcher.verifyOnly();