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

Jean-Noël Rouvignac
08.34.2016 a3c93828f847345ed67fda0cddf1089d8fb433d5
opendj-server-legacy/src/main/java/org/opends/server/admin/Reference.java
@@ -18,7 +18,6 @@
import org.forgerock.opendj.ldap.ByteString;
import org.forgerock.opendj.ldap.DN;
import org.opends.server.types.DirectoryException;
import org.forgerock.opendj.ldap.RDN;
import org.opends.server.util.StaticUtils;
@@ -70,14 +69,7 @@
          + "\" is not associated with the definition \"" + d.getName() + "\"");
    }
    DN dn;
    try {
      dn = DN.valueOf(s);
    } catch (DirectoryException e) {
      throw new IllegalArgumentException("Unabled to decode the DN string: \""
          + s + "\"");
    }
    DN dn = DN.valueOf(s);
    RDN rdn = dn.rdn();
    if (rdn == null) {
      throw new IllegalArgumentException("Unabled to decode the DN string: \""