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

Jean-Noel Rouvignac
07.12.2015 90a6ab6c63699343acf3adcd4346bce2f5665bdd
opendj-server-legacy/src/main/java/org/opends/server/backends/MemoryBackend.java
@@ -176,14 +176,14 @@
      throw new ConfigException(message);
    }
    baseDNSet = new HashSet<DN>();
    baseDNSet = new HashSet<>();
    for (DN dn : baseDNs)
    {
      baseDNSet.add(dn);
    }
    entryMap = new LinkedHashMap<DN,Entry>();
    childDNs = new HashMap<DN,HashSet<DN>>();
    entryMap = new LinkedHashMap<>();
    childDNs = new HashMap<>();
    for (DN dn : baseDNs)
    {
@@ -374,7 +374,7 @@
    HashSet<DN> children = childDNs.get(parentDN);
    if (children == null)
    {
      children = new HashSet<DN>();
      children = new HashSet<>();
      childDNs.put(parentDN, children);
    }
@@ -404,7 +404,7 @@
    {
      if (children != null)
      {
        HashSet<DN> childrenCopy = new HashSet<DN>(children);
        HashSet<DN> childrenCopy = new HashSet<>(children);
        for (DN childDN : childrenCopy)
        {
          try