From 6870993d12bf8a2b9d5cd103dc5ccabc42f9bf5d Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 15 Oct 2014 15:17:11 +0000
Subject: [PATCH] AutoRefactored comments/javadocs on OpenDJ SDK
---
opendj-config/src/main/java/org/forgerock/opendj/config/InstantiableRelationDefinition.java | 38 +++++++++++++++++---------------------
1 files changed, 17 insertions(+), 21 deletions(-)
diff --git a/opendj-config/src/main/java/org/forgerock/opendj/config/InstantiableRelationDefinition.java b/opendj-config/src/main/java/org/forgerock/opendj/config/InstantiableRelationDefinition.java
index 8058fb1..6d0517d 100644
--- a/opendj-config/src/main/java/org/forgerock/opendj/config/InstantiableRelationDefinition.java
+++ b/opendj-config/src/main/java/org/forgerock/opendj/config/InstantiableRelationDefinition.java
@@ -64,14 +64,16 @@
public static final class Builder<C extends ConfigurationClient, S extends Configuration> extends
AbstractBuilder<C, S, InstantiableRelationDefinition<C, S>> {
- // The optional naming property definition.
+ /** The optional naming property definition. */
private PropertyDefinition<?> namingPropertyDefinition = null;
- // The plural name of the relation.
+ /** The plural name of the relation. */
private final String pluralName;
- // The optional default managed objects associated with this
- // instantiable relation definition.
+ /**
+ * The optional default managed objects associated with this
+ * instantiable relation definition.
+ */
private final Map<String, DefaultManagedObject<? extends C, ? extends S>> defaultManagedObjects =
new HashMap<String, DefaultManagedObject<? extends C, ? extends S>>();
@@ -121,9 +123,7 @@
this.namingPropertyDefinition = namingPropertyDefinition;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
protected InstantiableRelationDefinition<C, S> buildInstance(Common<C, S> common) {
return new InstantiableRelationDefinition<C, S>(common, pluralName, namingPropertyDefinition,
@@ -132,17 +132,19 @@
}
- // The optional naming property definition.
+ /** The optional naming property definition. */
private final PropertyDefinition<?> namingPropertyDefinition;
- // The plural name of the relation.
+ /** The plural name of the relation. */
private final String pluralName;
- // The optional default managed objects associated with this
- // instantiable relation definition.
+ /**
+ * The optional default managed objects associated with this
+ * instantiable relation definition.
+ */
private final Map<String, DefaultManagedObject<? extends C, ? extends S>> defaultManagedObjects;
- // Private constructor.
+ /** Private constructor. */
private InstantiableRelationDefinition(Common<C, S> common, String pluralName,
PropertyDefinition<?> namingPropertyDefinition,
Map<String, DefaultManagedObject<? extends C, ? extends S>> defaultManagedObjects) {
@@ -152,9 +154,7 @@
this.defaultManagedObjects = defaultManagedObjects;
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public <R, P> R accept(RelationDefinitionVisitor<R, P> v, P p) {
return v.visitInstantiable(this, p);
@@ -235,9 +235,7 @@
return ManagedObjectDefinitionI18NResource.getInstance().getMessage(getParentDefinition(), property, locale);
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public void toString(StringBuilder builder) {
builder.append("name=");
@@ -248,9 +246,7 @@
builder.append(getChildDefinition().getName());
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
protected void initialize() throws Exception {
for (DefaultManagedObject<?, ?> dmo : defaultManagedObjects.values()) {
--
Gitblit v1.10.0