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

matthew_swift
18.53.2007 1fed9123be8b183ad5e4c3be8d2d28301f43bcb2
opendj-sdk/opends/src/server/org/opends/server/admin/server/DNBuilder.java
@@ -96,8 +96,23 @@
   * Create a new DN builder.
   */
  public DNBuilder() {
    this(LDAPProfile.getInstance());
  }
  /**
   * Create a new DN builder with the provided LDAP profile.
   * <p>
   * This constructor is package private and only intended for testing
   * purposes against a mock LDAP profile.
   *
   * @param profile
   *          The LDAP profile to use when building the DN.
   */
  DNBuilder(LDAPProfile profile) {
    this.dn = DN.nullDN();
    this.profile = LDAPProfile.getInstance();
    this.profile = profile;
  }