| | |
| | | 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) |
| | | { |
| | |
| | | HashSet<DN> children = childDNs.get(parentDN); |
| | | if (children == null) |
| | | { |
| | | children = new HashSet<DN>(); |
| | | children = new HashSet<>(); |
| | | childDNs.put(parentDN, children); |
| | | } |
| | | |
| | |
| | | { |
| | | if (children != null) |
| | | { |
| | | HashSet<DN> childrenCopy = new HashSet<DN>(children); |
| | | HashSet<DN> childrenCopy = new HashSet<>(children); |
| | | for (DN childDN : childrenCopy) |
| | | { |
| | | try |