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

Matthew Swift
25.01.2011 2acc9b3468534251048f561600f42d24d0e07bbf
opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/schema/SchemaBuilder.java
@@ -2233,6 +2233,11 @@
      throws ConflictingSchemaElementException, NullPointerException
  {
    Validator.ensureNotNull(schema);
    // All of the schema elements must be duplicated because validation will
    // cause them to update all their internal references which, although
    // unlikely, may be different in the new schema.
    for (final Syntax syntax : schema.getSyntaxes())
    {
      addSyntax(syntax.duplicate(), overwrite);