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

Jean-Noël Rouvignac
29.14.2016 1b570922c1772fde4fbd44855453dbd86bb9e276
opendj-server-legacy/src/main/java/org/opends/server/util/LDIFReader.java
@@ -933,7 +933,7 @@
    int colonPos = parseColonPosition(lines, line);
    String attrDescr = line.substring(0, colonPos);
    Attribute attribute = parseAttrDescription(attrDescr);
    String attrName = attribute.getName();
    String attrName = attribute.getAttributeDescription().getNameOrOID();
    if (attributeName != null)
    {
@@ -1299,7 +1299,7 @@
    {
      StringBuilder line = lines.remove();
      Attribute attr = readSingleValueAttribute(lines, line, entryDN, null);
      String name = attr.getName();
      String name = attr.getAttributeDescription().getNameOrOID();
      // Get the attribute description
      String attrDescr = attr.iterator().next().toString();