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

Jean-Noel Rouvignac
10.16.2015 a632fbfad0ddbe8b343c6abe8e28dc41e3df9b7e
opendj-server-legacy/src/test/java/org/opends/server/plugins/UniqueAttributePluginTestCase.java
@@ -815,21 +815,8 @@
        Attributes.create(attrName, attrValues)));
  }
  /**
   * Return the attribute type corresponding to the attribute type string.
   *
   * @param attrTypeString  The attribute type string name.
   *
   * @return  An attribute type object pertaining to the string.
   */
  private AttributeType getAttrType(String attrTypeString) {
        AttributeType attrType =
            DirectoryServer.getAttributeType(attrTypeString);
    if (attrType == null)
    {
      attrType = DirectoryServer.getDefaultAttributeType(attrTypeString);
    }
    return attrType;
    return DirectoryServer.getAttributeType(attrTypeString, true);
  }
  /**