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

Jean-Noel Rouvignac
20.11.2014 b30f406570114a5a7de645fd46fc7b4bc619fb09
opendj-config/src/main/java/org/forgerock/opendj/config/DurationPropertyDefinition.java
@@ -403,7 +403,7 @@
            throw PropertyException.illegalPropertyValueException(this, value);
        }
        if ((upperLimit != null) && (nvalue > upperLimit)) {
        if (upperLimit != null && nvalue > upperLimit) {
            throw PropertyException.illegalPropertyValueException(this, value);
        }
    }
@@ -451,7 +451,7 @@
        // Check the unit is in range - values must not be more granular
        // than the base unit.
        if ((ms % baseUnit.getDuration()) != 0) {
        if (ms % baseUnit.getDuration() != 0) {
            throw PropertyException.illegalPropertyValueException(this, value);
        }