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

coulbeck
18.08.2006 c59836d5e2551d9ee8be2869a932487a2de17dab
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.