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

coulbeck
18.08.2006 d0ec8721f5e2963e994679b185c876de878c5c3d
opendj-sdk/opends/src/server/org/opends/server/util/LDIFReader.java
@@ -241,12 +241,19 @@
           new HashMap<AttributeType,List<Attribute>>();
      HashMap<AttributeType,List<Attribute>> operationalAttributes =
           new HashMap<AttributeType,List<Attribute>>();
      for (StringBuilder line : lines)
      try
      {
        readAttribute(lines, line, entryDN, objectClasses, userAttributes,
                      operationalAttributes);
        for (StringBuilder line : lines)
        {
          readAttribute(lines, line, entryDN, objectClasses, userAttributes,
                        operationalAttributes);
        }
      }
      catch (LDIFException e)
      {
        entriesRejected++;
        throw e;
      }
      // Create the entry and see if it is one that should be included in the
      // import.