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

Ykrad
03.50.2020 b771bdad0ea37f0df96ce37c5f43851526407ea6
opendj-grizzly/src/main/java/org/forgerock/opendj/grizzly/GrizzlyUtils.java
@@ -225,6 +225,15 @@
        }
    }
    static long getLongProperty(final String name, final long defaultValue) {
        final String value = System.getProperty(name);
        try {
            return value != null ? Long.parseLong(value) : defaultValue;
        } catch (final NumberFormatException e) {
            return defaultValue;
        }
    }
    /** Prevent instantiation. */
    private GrizzlyUtils() {
        // No implementation required.