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

matthew_swift
23.55.2007 0a513d14b86d6192e71d1cfeb1b7719fcddd4f74
opendj-sdk/opends/src/server/org/opends/server/admin/client/PropertySet.java
@@ -417,7 +417,10 @@
    }
    if (values.isEmpty() && d.hasOption(PropertyOption.MANDATORY)) {
      throw new PropertyIsMandatoryException(d);
      // But only if there are no default values.
      if (property.getDefaultValues().isEmpty()) {
        throw new PropertyIsMandatoryException(d);
      }
    }
    // Validate each value.