diff --git a/LauncherCore/src/main/java/pro/gravit/utils/helper/JVMHelper.java b/LauncherCore/src/main/java/pro/gravit/utils/helper/JVMHelper.java index ec0c26e1..1ec88240 100644 --- a/LauncherCore/src/main/java/pro/gravit/utils/helper/JVMHelper.java +++ b/LauncherCore/src/main/java/pro/gravit/utils/helper/JVMHelper.java @@ -20,7 +20,6 @@ public final class JVMHelper { public static final OperatingSystemMXBean OPERATING_SYSTEM_MXBEAN = ManagementFactory.getOperatingSystemMXBean(); public static final OS OS_TYPE = OS.byName(OPERATING_SYSTEM_MXBEAN.getName()); - @Deprecated public static final int OS_BITS = getCorrectOSArch(); // System properties public static final String OS_VERSION = OPERATING_SYSTEM_MXBEAN.getVersion(); @@ -138,7 +137,6 @@ public static void checkStackTrace(Class mainClass) { } } - @Deprecated private static int getCorrectOSArch() { // As always, mustdie must die if (OS_TYPE == OS.MUSTDIE) @@ -152,7 +150,6 @@ public static String getEnvPropertyCaseSensitive(String name) { return System.getenv().get(name); } - @Deprecated public static boolean isJVMMatchesSystemArch() { return JVM_BITS == OS_BITS; } diff --git a/LauncherCore/src/main/java11/pro/gravit/utils/helper/JVMHelper.java b/LauncherCore/src/main/java11/pro/gravit/utils/helper/JVMHelper.java index 756e7fc3..e96e532c 100644 --- a/LauncherCore/src/main/java11/pro/gravit/utils/helper/JVMHelper.java +++ b/LauncherCore/src/main/java11/pro/gravit/utils/helper/JVMHelper.java @@ -23,7 +23,6 @@ public final class JVMHelper { // System properties public static final String OS_VERSION = OPERATING_SYSTEM_MXBEAN.getVersion(); - @Deprecated public static final int OS_BITS = getCorrectOSArch(); public static final ARCH ARCH_TYPE = getArch(System.getProperty("os.arch")); @@ -131,7 +130,6 @@ public static void checkStackTrace(Class mainClass) { } } - @Deprecated private static int getCorrectOSArch() { // As always, mustdie must die if (OS_TYPE == OS.MUSTDIE) @@ -147,7 +145,6 @@ public static String getEnvPropertyCaseSensitive(String name) { } - @Deprecated public static boolean isJVMMatchesSystemArch() { return JVM_BITS == OS_BITS; }