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

neil_a_wilson
20.31.2007 e9766fe91ad4a7fb706baedc3c9af2d5725d9a83
Fix a problem with the JE import code in which an exception will be thrown if
there are more than 50 entries in the LDIF data that contain one or more
descendants.

OpenDS Issue Number: 2256
1 files modified
4 ■■■ changed files
opends/src/server/org/opends/server/backends/jeb/ImportJob.java 4 ●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/ImportJob.java
@@ -993,7 +993,9 @@
    {
      if (parentIDMap.size() >= PARENT_ID_MAP_SIZE)
      {
        parentIDMap.keySet().iterator().remove();
        Iterator<DN> iterator = parentIDMap.keySet().iterator();
        iterator.next();
        iterator.remove();
      }
      parentIDMap.put(parentDN, parentID);