From f2160f4bd1c8ac67e5a86a6710d431e8932877f9 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 28 May 2010 11:47:51 +0000
Subject: [PATCH] Synchronize SDK on java.net with internal repository.
---
sdk/src/org/opends/sdk/schema/AttributeUsage.java | 32 +++++++++++++++-----------------
1 files changed, 15 insertions(+), 17 deletions(-)
diff --git a/sdk/src/org/opends/sdk/schema/AttributeUsage.java b/sdk/src/org/opends/sdk/schema/AttributeUsage.java
index ac6e3e6..65d2481 100644
--- a/sdk/src/org/opends/sdk/schema/AttributeUsage.java
+++ b/sdk/src/org/opends/sdk/schema/AttributeUsage.java
@@ -30,8 +30,8 @@
/**
- * This enumeration defines the set of possible attribute usage values
- * that may apply to an attribute type, as defined in RFC 2252.
+ * This enumeration defines the set of possible attribute usage values that may
+ * apply to an attribute type, as defined in RFC 2252.
*/
public enum AttributeUsage
{
@@ -46,14 +46,14 @@
DIRECTORY_OPERATION("directoryOperation", true),
/**
- * The attribute usage intended for non-standard operational
- * attributes shared among multiple DSAs.
+ * The attribute usage intended for non-standard operational attributes shared
+ * among multiple DSAs.
*/
DISTRIBUTED_OPERATION("distributedOperation", true),
/**
- * The attribute usage intended for non-standard operational
- * attributes used by a single DSA.
+ * The attribute usage intended for non-standard operational attributes used
+ * by a single DSA.
*/
DSA_OPERATION("dSAOperation", true);
@@ -67,16 +67,15 @@
/**
- * Creates a new attribute usage with the provided string
- * representation.
- *
+ * Creates a new attribute usage with the provided string representation.
+ *
* @param usageString
* The string representation of this attribute usage.
* @param isOperational
- * <code>true</code> if attributes having this attribute
- * usage are operational, or <code>false</code> otherwise.
+ * <code>true</code> if attributes having this attribute usage are
+ * operational, or <code>false</code> otherwise.
*/
- private AttributeUsage(String usageString, boolean isOperational)
+ private AttributeUsage(final String usageString, final boolean isOperational)
{
this.usageString = usageString;
this.isOperational = isOperational;
@@ -87,10 +86,9 @@
/**
* Determine whether or not attributes having this attribute usage are
* operational.
- *
- * @return Returns <code>true</code> if attributes having this
- * attribute usage are operational, or <code>false</code>
- * otherwise.
+ *
+ * @return Returns <code>true</code> if attributes having this attribute usage
+ * are operational, or <code>false</code> otherwise.
*/
public boolean isOperational()
{
@@ -101,7 +99,7 @@
/**
* Retrieves a string representation of this attribute usage.
- *
+ *
* @return A string representation of this attribute usage.
*/
@Override
--
Gitblit v1.10.0