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

Nicolas Capponi
27.14.2016 0149a25c5a0aea9d63e409cb7a9492eaaa09d956
opendj-server-legacy/src/main/java/org/opends/server/backends/SchemaBackend.java
@@ -1161,12 +1161,9 @@
    }
    else
    {
      schema.deregisterAttributeType(existingType);
      String schemaFile = replaceExistingSchemaElement(
          modifiedSchemaFiles, new SomeSchemaElement(attributeType), new SomeSchemaElement(existingType));
      schema.registerAttributeType(attributeType, schemaFile, false);
      schema.rebuildDependentElements(existingType);
      schema.replaceAttributeType(attributeType, existingType, schemaFile);
    }
  }