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

matthew_swift
03.37.2007 02d3bf611bd9d4c33d8ae74d320790cfb0495d8e
opends/src/server/org/opends/server/admin/server/DNBuilder.java
@@ -29,6 +29,9 @@
import org.opends.server.admin.AbstractManagedObjectDefinition;
import org.opends.server.admin.Configuration;
import org.opends.server.admin.ConfigurationClient;
import org.opends.server.admin.InstantiableRelationDefinition;
import org.opends.server.admin.LDAPProfile;
import org.opends.server.admin.ManagedObjectPath;
@@ -120,8 +123,10 @@
  /**
   * {@inheritDoc}
   */
  public void appendManagedObjectPathElement(
      InstantiableRelationDefinition<?, ?> r, String name) {
  public <C extends ConfigurationClient, S extends Configuration>
      void appendManagedObjectPathElement(
          InstantiableRelationDefinition<? super C, ? super S> r,
          AbstractManagedObjectDefinition<C, S> d, String name) {
    // Add the RDN sequence representing the relation.
    appendManagedObjectPathElement((RelationDefinition) r);
@@ -155,8 +160,10 @@
  /**
   * {@inheritDoc}
   */
  public void appendManagedObjectPathElement(
      OptionalRelationDefinition<?, ?> r) {
  public <C extends ConfigurationClient, S extends Configuration>
      void appendManagedObjectPathElement(
          OptionalRelationDefinition<? super C, ? super S> r,
          AbstractManagedObjectDefinition<C, S> d) {
    // Add the RDN sequence representing the relation.
    appendManagedObjectPathElement((RelationDefinition) r);
  }
@@ -166,8 +173,10 @@
  /**
   * {@inheritDoc}
   */
  public void appendManagedObjectPathElement(
      SingletonRelationDefinition<?, ?> r) {
  public <C extends ConfigurationClient, S extends Configuration>
      void appendManagedObjectPathElement(
          SingletonRelationDefinition<? super C, ? super S> r,
          AbstractManagedObjectDefinition<C, S> d) {
    // Add the RDN sequence representing the relation.
    appendManagedObjectPathElement((RelationDefinition) r);
  }