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/condition/ContainsCondition.java | 40 ++++++++++++++--------------------------
1 files changed, 14 insertions(+), 26 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/admin/condition/ContainsCondition.java b/opendj-server-legacy/src/main/java/org/opends/server/admin/condition/ContainsCondition.java
index 00bc377..160cdbc 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/admin/condition/ContainsCondition.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/admin/condition/ContainsCondition.java
@@ -57,15 +57,15 @@
*/
private static final class Impl<T> implements Condition {
- // The property.
+ /** The property. */
final PropertyDefinition<T> pd;
- // The required property value.
+ /** The required property value. */
final T value;
- // Private constructor.
+ /** Private constructor. */
private Impl(PropertyDefinition<T> pd, T value)
throws PropertyException {
this.pd = pd;
@@ -74,9 +74,7 @@
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public boolean evaluate(ManagementContext context,
ManagedObject<?> managedObject) throws AuthorizationException,
CommunicationException {
@@ -86,9 +84,7 @@
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public boolean evaluate(ServerManagedObject<?> managedObject)
throws ConfigException {
SortedSet<T> values = managedObject.getPropertyValues(pd);
@@ -97,9 +93,7 @@
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public void initialize(AbstractManagedObjectDefinition<?, ?> d)
throws Exception {
// Not used.
@@ -107,20 +101,20 @@
- // Private implementation of fix() method.
+ /** Private implementation of fix() method. */
private void setPropertyValue(ManagedObject<?> managedObject) {
managedObject.setPropertyValue(pd, value);
}
}
- // The strongly typed private implementation.
+ /** The strongly typed private implementation. */
private Impl<?> impl;
- // The property name.
+ /** The property name. */
private final String propertyName;
- // The string representation of the required property value.
+ /** The string representation of the required property value. */
private final String propertyStringValue;
@@ -142,9 +136,7 @@
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public boolean evaluate(ManagementContext context,
ManagedObject<?> managedObject) throws AuthorizationException,
CommunicationException {
@@ -153,9 +145,7 @@
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public boolean evaluate(ServerManagedObject<?> managedObject)
throws ConfigException {
return impl.evaluate(managedObject);
@@ -176,9 +166,7 @@
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
public void initialize(AbstractManagedObjectDefinition<?, ?> d)
throws Exception {
// Decode the property.
@@ -187,7 +175,7 @@
- // Creates the new private implementation.
+ /** Creates the new private implementation. */
private <T> void buildImpl(PropertyDefinition<T> pd)
throws PropertyException {
T value = pd.decodeValue(propertyStringValue);
--
Gitblit v1.10.0