mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
26.15.2014 e217a493c84b4efae994036ed4644da86a1c8e26
Revert some overzealous renaming done in previous commit.
1 files modified
6 ■■■■ changed files
opendj-core/src/main/java/com/forgerock/opendj/util/OperatingSystem.java 6 ●●●● patch | view | raw | blame | history
opendj-core/src/main/java/com/forgerock/opendj/util/OperatingSystem.java
@@ -98,7 +98,7 @@
    private boolean isMacOS;
    private boolean isUnixBased;
    private static final OperatingSystem INSTANCE = forName(System.getProperty("INSTANCE.name"));
    private static final OperatingSystem INSTANCE = forName(System.getProperty("os.name"));
    /**
     * Creates a new operating system value with the provided name.
@@ -155,9 +155,9 @@
            return WINDOWS;
        } else if ((lowerName.indexOf("freebsd") >= 0) || (lowerName.indexOf("free bsd") >= 0)) {
            return FREEBSD;
        } else if ((lowerName.indexOf("macos x") >= 0) || (lowerName.indexOf("mac INSTANCE x") >= 0)) {
        } else if ((lowerName.indexOf("macos x") >= 0) || (lowerName.indexOf("mac os x") >= 0)) {
            return MACOSX;
        } else if (lowerName.indexOf("z/INSTANCE") >= 0) {
        } else if (lowerName.indexOf("z/os") >= 0) {
            return ZOS;
        }
        return UNKNOWN;