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

Jean-Noël Rouvignac
17.11.2015 14f94c13789b8ace4eae258b5f1d64494518f9c3
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/task/ModifyEntryTask.java
@@ -637,14 +637,11 @@
  private static boolean find(List<org.opends.server.types.Attribute> attrs, String attrName)
  {
    if (attrs != null)
    for (org.opends.server.types.Attribute attr : attrs)
    {
      for (org.opends.server.types.Attribute attr : attrs)
      if (attr.getNameWithOptions().equalsIgnoreCase(attrName))
      {
        if (attr.getNameWithOptions().equalsIgnoreCase(attrName))
        {
          return true;
        }
        return true;
      }
    }
    return false;