From 4039d272d6b944e41bc9cb68ce5cad331ae44c1b Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Fri, 16 Feb 2007 05:51:14 +0000
Subject: [PATCH] Update the LDAPSearch class to fix checkstyle errors, and update the RDN class to fix Javadoc warnings.
---
opendj-sdk/opends/src/server/org/opends/server/tools/LDAPSearch.java | 7 ++++---
opendj-sdk/opends/src/server/org/opends/server/types/RDN.java | 8 ++++----
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/tools/LDAPSearch.java b/opendj-sdk/opends/src/server/org/opends/server/tools/LDAPSearch.java
index 93f1536..0a47f41 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/tools/LDAPSearch.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/tools/LDAPSearch.java
@@ -224,10 +224,10 @@
out.println(getMessage(msgID));
if (acrc.getSecondsBeforeExpiration() > 0)
{
- int timeToExp = acrc.getSecondsBeforeExpiration();
+ int timeToExp = acrc.getSecondsBeforeExpiration();
String timeToExpStr = secondsToTimeString(timeToExp);
msgID =
- MSGID_LDAPSEARCH_ACCTUSABLE_TIME_UNTIL_EXPIRATION;
+ MSGID_LDAPSEARCH_ACCTUSABLE_TIME_UNTIL_EXPIRATION;
out.println(getMessage(msgID, timeToExpStr));
}
}
@@ -266,7 +266,8 @@
int timeToUnlock = acrc.getSecondsBeforeUnlock();
String timeToUnlockStr =
secondsToTimeString(timeToUnlock);
- msgID = MSGID_LDAPSEARCH_ACCTUSABLE_TIME_UNTIL_UNLOCK;
+ msgID =
+ MSGID_LDAPSEARCH_ACCTUSABLE_TIME_UNTIL_UNLOCK;
out.println(getMessage(msgID, timeToUnlockStr));
}
}
diff --git a/opendj-sdk/opends/src/server/org/opends/server/types/RDN.java b/opendj-sdk/opends/src/server/org/opends/server/types/RDN.java
index 3bbff0b..9e2f8aa 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/types/RDN.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/types/RDN.java
@@ -141,11 +141,11 @@
* It must not be empty or {@code null}.
* @param attributeNames The set of user-provided names for this
* RDN. It must have the same number of
- * elements as the {@attributeTypes}
+ * elements as the {@code attributeTypes}
* argument.
* @param attributeValues The set of values for this RDN. It must
* have the same number of elements as the
- * {@attributeTypes} argument.
+ * {@code attributeTypes} argument.
*/
public RDN(List<AttributeType> attributeTypes,
List<String> attributeNames,
@@ -179,11 +179,11 @@
* It must not be empty or {@code null}.
* @param attributeNames The set of user-provided names for this
* RDN. It must have the same number of
- * elements as the {@attributeTypes}
+ * elements as the {@code attributeTypes}
* argument.
* @param attributeValues The set of values for this RDN. It must
* have the same number of elements as the
- * {@attributeTypes} argument.
+ * {@code attributeTypes} argument.
*/
public RDN(AttributeType[] attributeTypes, String[] attributeNames,
AttributeValue[] attributeValues)
--
Gitblit v1.10.0