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

Jean-Noël Rouvignac
14.05.2015 4f6891a8bd4d017a41b5f75748398ff59787501c
opendj-server-legacy/src/main/java/org/opends/server/config/ConfigEntry.java
@@ -214,12 +214,10 @@
  public void putConfigAttribute(ConfigAttribute attribute)
  {
    String name = attribute.getName();
    AttributeType attrType =
         DirectoryServer.getAttributeType(name.toLowerCase());
    AttributeType attrType = DirectoryServer.getAttributeTypeOrNull(name.toLowerCase());
    if (attrType == null)
    {
      attrType =
           DirectoryServer.getDefaultAttributeType(name, attribute.getSyntax());
      attrType = DirectoryServer.getDefaultAttributeType(name, attribute.getSyntax());
    }
    List<Attribute> attrs = new ArrayList<>(2);