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

Jean-Noël Rouvignac
04.50.2016 21e3fcd4de85588c55c838f3e22bbba74e2f35d7
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/task/ModifyAttributeTask.java
@@ -167,7 +167,7 @@
      Map<String, List<String>> extraProperties =
        DeleteSchemaElementsTask.cloneExtraProperties(ocToDelete);
      Set<AttributeType> required = new HashSet<>(ocToDelete.getDeclaredRequiredAttributes());
      Set<AttributeType> optional = new HashSet<>(ocToDelete.getOptionalAttributes());
      Set<AttributeType> optional = new HashSet<>(ocToDelete.getDeclaredOptionalAttributes());
      if (required.contains(oldAttribute))
      {
        required.remove(oldAttribute);