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

Jean-Noel Rouvignac
19.30.2014 377b2709c64b32fe93905b466482216c2cc0581c
opendj3-server-dev/src/server/org/opends/server/admin/Reference.java
@@ -28,7 +28,7 @@
import org.opends.server.types.AttributeValue;
import org.forgerock.opendj.ldap.ByteString;
import org.opends.server.types.DN;
import org.opends.server.types.DirectoryException;
import org.opends.server.types.RDN;
@@ -98,13 +98,13 @@
          + s + "\"");
    }
    AttributeValue av = rdn.getAttributeValue(0);
    ByteString av = rdn.getAttributeValue(0);
    if (av == null) {
      throw new IllegalArgumentException("Unabled to decode the DN string: \""
          + s + "\"");
    }
    String name = av.getValue().toString();
    String name = av.toString();
    // Check that the DN was valid.
    DN expected = p.child(rd, name).toDN();