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

Jean-Noël Rouvignac
06.25.2016 d89c47e7cb1b3c9181e25582539aac1dedb46099
opendj-server-legacy/src/main/java/org/opends/server/tools/BackendToolUtils.java
@@ -118,7 +118,7 @@
   */
  public static String getStringSingleValuedAttribute(Entry entry, String attrName)
  {
    List<Attribute> attributes = entry.getAttribute(attrName);
    List<Attribute> attributes = entry.getAllAttributes(attrName);
    if (!attributes.isEmpty())
    {
      Attribute attribute = attributes.get(0);
@@ -134,7 +134,7 @@
  {
    try
    {
      List<Attribute> attributes = configEntry.getAttribute(ATTR_BACKEND_BASE_DN);
      List<Attribute> attributes = configEntry.getAllAttributes(ATTR_BACKEND_BASE_DN);
      if (!attributes.isEmpty())
      {
        Attribute attribute = attributes.get(0);