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

Jean-Noel Rouvignac
24.41.2015 e7cac727a9231ff3602e61a4ea678e0463eb0e39
opendj-server-legacy/src/main/java/org/opends/server/admin/Reference.java
@@ -22,7 +22,7 @@
 *
 *
 *      Copyright 2008 Sun Microsystems, Inc.
 *      Portions Copyright 2014 ForgeRock AS
 *      Portions Copyright 2014-2015 ForgeRock AS
 */
package org.opends.server.admin;
@@ -159,19 +159,21 @@
    return new Reference<C, S>(p, rd, s);
  }
  // The name of the referenced managed object.
  /** The name of the referenced managed object. */
  private final String name;
  // The path of the referenced managed object.
  /** The path of the referenced managed object. */
  private final ManagedObjectPath<C, S> path;
  // The instantiable relation in the parent which contains the
  // referenced managed object.
  /**
   * The instantiable relation in the parent which contains the
   * referenced managed object.
   */
  private final InstantiableRelationDefinition<C, S> relation;
  // Private constructor.
  /** Private constructor. */
  private Reference(ManagedObjectPath<?, ?> parent,
      InstantiableRelationDefinition<C, S> relation, String name)
      throws IllegalArgumentException {
@@ -217,17 +219,17 @@
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public String toString() {
    return name;
  }
  // Normalize a value using the specified naming property definition
  // if defined.
  /**
   * Normalize a value using the specified naming property definition
   * if defined.
   */
  private <T> String normalizeName(PropertyDefinition<T> pd) {
    if (pd != null) {
      try {