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

Nicolas Capponi
19.50.2016 d035014ad8b0d2d4a0465f6c6dfcfa8e03f7ab84
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java
@@ -2831,9 +2831,9 @@
  public static SchemaElement updateSchemaElementExtraPropertyMultiplesValues(ServerContext serverContext,
      SchemaElement element, String property, List<String> values)
  {
    org.forgerock.opendj.ldap.schema.Schema schemaNG = serverContext != null ?
        serverContext.getSchemaNG() : org.forgerock.opendj.ldap.schema.Schema.getDefaultSchema();
    SchemaBuilder schemaBuilder = new SchemaBuilder(schemaNG);
    org.forgerock.opendj.ldap.schema.Schema schema = serverContext != null ?
        serverContext.getSchema() : org.forgerock.opendj.ldap.schema.Schema.getDefaultSchema();
    SchemaBuilder schemaBuilder = new SchemaBuilder(schema);
    if (element instanceof AttributeType)
    {
      AttributeType attr = (AttributeType) element;