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

matthew_swift
28.47.2007 b08bd4dd4b0d4d17d4907c605dba11020cf11922
opends/src/server/org/opends/server/admin/AbstractManagedObjectDefinition.java
@@ -752,6 +752,10 @@
      pd.initialize();
      pd.getDefaultBehaviorProvider().initialize();
    }
    for (Constraint constraint : getAllConstraints()) {
      constraint.initialize();
    }
  }
@@ -830,7 +834,9 @@
   *          The constraint to be deregistered.
   */
  final void deregisterConstraint(Constraint constraint) {
    constraints.remove(constraint);
    if (!constraints.remove(constraint)) {
      throw new RuntimeException("Failed to deregister a constraint");
    }
  }