mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
Formatting optimization...
This commit is contained in:
parent
2676cd0dde
commit
d6d002c2f6
2 changed files with 1 additions and 6 deletions
|
@ -4,11 +4,7 @@
|
|||
import java.util.Map;
|
||||
|
||||
public class EnvHelper {
|
||||
public static final String[] toTest;
|
||||
|
||||
static {
|
||||
toTest = new String[]{"_JAVA_OPTIONS", "_JAVA_OPTS", "JAVA_OPTS", "JAVA_OPTIONS"};
|
||||
}
|
||||
public static final String[] toTest = {"_JAVA_OPTIONS", "_JAVA_OPTS", "JAVA_OPTS", "JAVA_OPTIONS"};
|
||||
|
||||
public static void addEnv(ProcessBuilder builder) {
|
||||
Map<String, String> map = builder.environment();
|
||||
|
|
|
@ -64,7 +64,6 @@ public static OS byName(String name) {
|
|||
try {
|
||||
MethodHandles.publicLookup(); // Just to initialize class
|
||||
} catch (Throwable exc) {
|
||||
LogHelper.error("Unsafe field is not initialized");
|
||||
throw new InternalError(exc);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue