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

Jean-Noel Rouvignac
16.57.2015 a41662c1136b2bb4a4198df89e0e87d2be3ef099
opendj-server-legacy/src/main/java/org/opends/server/admin/DurationPropertyDefinition.java
@@ -464,7 +464,7 @@
      throw PropertyException.illegalPropertyValueException(this, value);
    }
    if ((upperLimit != null) && (nvalue > upperLimit)) {
    if (upperLimit != null && nvalue > upperLimit) {
      throw PropertyException.illegalPropertyValueException(this, value);
    }
  }
@@ -508,7 +508,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);
    }