Formatting optimization...

This commit is contained in:
zaxar163 2018-12-02 17:02:13 +03:00
parent 2676cd0dde
commit d6d002c2f6
No known key found for this signature in database
GPG key ID: E3B309DD3852DE06
2 changed files with 1 additions and 6 deletions

View file

@ -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();

View file

@ -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);
}
}