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

Jean-Noel Rouvignac
08.48.2015 a89f7014aeb71dba5c94404dfea7eb89e7eeee74
opendj-server-legacy/src/main/java/org/opends/server/tools/makeldif/Template.java
@@ -29,6 +29,7 @@
import org.forgerock.i18n.LocalizableMessage;
import java.io.IOException;
import java.util.Collections;
import java.util.HashSet;
import java.util.Map;
@@ -173,12 +174,8 @@
    // Make sure that all of the RDN attributes are defined.
    HashSet<AttributeType> rdnAttrs =
         new HashSet<AttributeType>(rdnAttributes.length);
    for (AttributeType t : rdnAttributes)
    {
      rdnAttrs.add(t);
    }
    HashSet<AttributeType> rdnAttrs = new HashSet<>(rdnAttributes.length);
    Collections.addAll(rdnAttrs, rdnAttributes);
    for (TemplateLine l : templateLines)
    {