From e7cac727a9231ff3602e61a4ea678e0463eb0e39 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Tue, 24 Mar 2015 09:41:42 +0000
Subject: [PATCH] Autorefactored javadocs
---
opendj-server-legacy/src/main/java/org/opends/server/admin/client/spi/Driver.java | 45 ++++++++++++++++++---------------------------
1 files changed, 18 insertions(+), 27 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/admin/client/spi/Driver.java b/opendj-server-legacy/src/main/java/org/opends/server/admin/client/spi/Driver.java
index c5b76a7..3d044b3 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/admin/client/spi/Driver.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/admin/client/spi/Driver.java
@@ -89,25 +89,24 @@
private class DefaultValueFinder<T> implements
DefaultBehaviorProviderVisitor<T, Collection<T>, Void> {
- // Any exception that occurred whilst retrieving inherited default
- // values.
+ /** Any exception that occurred whilst retrieving inherited default values. */
private PropertyException exception;
- // The path of the managed object containing the first property.
+ /** The path of the managed object containing the first property. */
private final ManagedObjectPath<?, ?> firstPath;
- // Indicates whether the managed object has been created yet.
+ /** Indicates whether the managed object has been created yet. */
private final boolean isCreate;
- // The path of the managed object containing the next property.
+ /** The path of the managed object containing the next property. */
private ManagedObjectPath<?, ?> nextPath;
- // The next property whose default values were required.
+ /** The next property whose default values were required. */
private PropertyDefinition<T> nextProperty;
- // Private constructor.
+ /** Private constructor. */
private DefaultValueFinder(ManagedObjectPath<?, ?> p, boolean isCreate) {
this.firstPath = p;
this.isCreate = isCreate;
@@ -115,9 +114,7 @@
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public Collection<T> visitAbsoluteInherited(
AbsoluteInheritedDefaultBehaviorProvider<T> d, Void p) {
try {
@@ -131,18 +128,14 @@
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public Collection<T> visitAlias(AliasDefaultBehaviorProvider<T> d, Void p) {
return Collections.emptySet();
}
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public Collection<T> visitDefined(DefinedDefaultBehaviorProvider<T> d,
Void p) {
Collection<String> stringValues = d.getDefaultValues();
@@ -162,9 +155,7 @@
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public Collection<T> visitRelativeInherited(
RelativeInheritedDefaultBehaviorProvider<T> d, Void p) {
try {
@@ -178,9 +169,7 @@
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public Collection<T> visitUndefined(UndefinedDefaultBehaviorProvider<T> d,
Void p) {
return Collections.emptySet();
@@ -188,7 +177,7 @@
- // Find the default values for the next path/property.
+ /** Find the default values for the next path/property. */
private Collection<T> find(ManagedObjectPath<?, ?> p,
PropertyDefinition<T> pd) throws PropertyException {
this.nextPath = p;
@@ -211,7 +200,7 @@
- // Get an inherited property value.
+ /** Get an inherited property value. */
@SuppressWarnings("unchecked")
private Collection<T> getInheritedProperty(ManagedObjectPath target,
AbstractManagedObjectDefinition<?, ?> d, String propertyName)
@@ -757,9 +746,11 @@
- // Remove a managed object, first ensuring that the parent exists,
- // then ensuring that the child exists, before ensuring that any
- // constraints are satisfied.
+ /**
+ * Remove a managed object, first ensuring that the parent exists,
+ * then ensuring that the child exists, before ensuring that any
+ * constraints are satisfied.
+ */
private <C extends ConfigurationClient, S extends Configuration>
boolean doDeleteManagedObject(
ManagedObjectPath<C, S> path) throws ManagedObjectNotFoundException,
--
Gitblit v1.10.0