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

dugan
25.12.2009 ddd1e9708311dea431b2042757f420c0029ae520
fix performance regression
1 files modified
6 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/importLDIF/Importer.java 6 ●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/importLDIF/Importer.java
@@ -521,7 +521,11 @@
        }
        DN entryDN = entry.getDN();
        EntryID entryID = (EntryID) entry.getAttachment();
        suffix = getMatchSuffix(entryDN, dnSuffixMap);
        //Temporary until multiple suffixes supported.
        if(suffix == null)
        {
             suffix = getMatchSuffix(entryDN, dnSuffixMap);
        }
        if(!suffixMap.containsKey(suffix))
        {
          suffixMap.put(suffix, new HashMap<DatabaseContainer, IndexBuffer>());