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/StringPropertyDefinition.java | 56 ++++++++++++++++++++++++++------------------------------
1 files changed, 26 insertions(+), 30 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/admin/StringPropertyDefinition.java b/opendj-server-legacy/src/main/java/org/opends/server/admin/StringPropertyDefinition.java
index d29bf53..eaafbae 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/admin/StringPropertyDefinition.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/admin/StringPropertyDefinition.java
@@ -53,20 +53,24 @@
public static class Builder extends
AbstractBuilder<String, StringPropertyDefinition> {
- // Flag indicating whether values of this property are
- // case-insensitive.
+ /**
+ * Flag indicating whether values of this property are
+ * case-insensitive.
+ */
private boolean isCaseInsensitive = true;
- // Optional pattern which values of this property must match.
+ /** Optional pattern which values of this property must match. */
private Pattern pattern;
- // Pattern usage which provides a user-friendly summary of the
- // pattern if present.
+ /**
+ * Pattern usage which provides a user-friendly summary of the
+ * pattern if present.
+ */
private String patternUsage;
- // Private constructor
+ /** Private constructor. */
private Builder(AbstractManagedObjectDefinition<?, ?> d,
String propertyName) {
super(d, propertyName);
@@ -117,9 +121,7 @@
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
protected StringPropertyDefinition buildInstance(
AbstractManagedObjectDefinition<?, ?> d, String propertyName,
@@ -150,20 +152,24 @@
return new Builder(d, propertyName);
}
- // Flag indicating whether values of this property are
- // case-insensitive.
+ /**
+ * Flag indicating whether values of this property are
+ * case-insensitive.
+ */
private final boolean isCaseInsensitive;
- // Optional pattern which values of this property must match.
+ /** Optional pattern which values of this property must match. */
private final Pattern pattern;
- // Pattern usage which provides a user-friendly summary of the
- // pattern if present.
+ /**
+ * Pattern usage which provides a user-friendly summary of the
+ * pattern if present.
+ */
private final String patternUsage;
- // Private constructor.
+ /** Private constructor. */
private StringPropertyDefinition(AbstractManagedObjectDefinition<?, ?> d,
String propertyName, EnumSet<PropertyOption> options,
AdministratorAction adminAction,
@@ -178,9 +184,7 @@
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public <R, P> R accept(PropertyDefinitionVisitor<R, P> v, P p) {
return v.visitString(this, p);
@@ -188,9 +192,7 @@
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public <R, P> R accept(PropertyValueVisitor<R, P> v, String value, P p) {
return v.visitString(this, value, p);
@@ -198,9 +200,7 @@
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public String decodeValue(String value)
throws PropertyException {
@@ -301,9 +301,7 @@
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public String normalizeValue(String value)
throws PropertyException {
@@ -318,9 +316,7 @@
- /**
- * {@inheritDoc}
- */
+ /** {@inheritDoc} */
@Override
public void validateValue(String value) throws PropertyException {
ifNull(value);
--
Gitblit v1.10.0