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

Jean-Noel Rouvignac
07.12.2015 90a6ab6c63699343acf3adcd4346bce2f5665bdd
opendj-server-legacy/src/main/java/org/opends/server/admin/ManagedObjectDefinitionResource.java
@@ -48,14 +48,10 @@
public final class ManagedObjectDefinitionResource {
  /** Mapping from definition to property tables. */
  private final Map<AbstractManagedObjectDefinition<?, ?>,
      Properties> properties;
  private final Map<AbstractManagedObjectDefinition<?, ?>, Properties> properties = new HashMap<>();
  /** The resource name prefix. */
  private final String prefix;
  /**
   * Creates a new resource instance for the named profile.
   *
@@ -63,23 +59,15 @@
   *          The name of the profile.
   * @return Returns the resource instance for the named profile.
   */
  public static ManagedObjectDefinitionResource createForProfile(
      String profile) {
    return new ManagedObjectDefinitionResource("admin.profiles."
        + profile);
  public static ManagedObjectDefinitionResource createForProfile(String profile) {
    return new ManagedObjectDefinitionResource("admin.profiles." + profile);
  }
  /** Private constructor. */
  private ManagedObjectDefinitionResource(String prefix) {
    this.properties =
      new HashMap<AbstractManagedObjectDefinition<?, ?>, Properties>();
    this.prefix = prefix;
  }
  /**
   * Get the resource value associated with the specified key.
   *