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

Nicolas Capponi
30.14.2016 40c232bb1ea09338ddbc93f2be3db6b340575fba
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/task/ModifyAttributeTask.java
@@ -16,6 +16,8 @@
 */
package org.opends.guitools.controlpanel.task;
import static org.opends.guitools.controlpanel.util.Utilities.getNewAttributeTypeWithNewSuperiorType;
import static org.opends.messages.AdminToolMessages.*;
import static org.opends.server.util.CollectionUtils.*;
import static org.opends.server.util.SchemaUtils.*;
@@ -148,7 +150,7 @@
    else if (oldAttribute.equals(attrToDelete.getSuperiorType()))
    {
      // get a new attribute with the new superior type
      return Utilities.updateAttributeTypeWithNewSuperiorType(attrToDelete, newAttribute);
      return getNewAttributeTypeWithNewSuperiorType(attrToDelete, newAttribute);
    }
    else
    {