mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
16.51.2007 9f4fddafaf656395f805c0ae4cfd903faf3d30e1
Update the LDAPSearch class to fix checkstyle errors, and update the RDN class
to fix Javadoc warnings.
2 files modified
15 ■■■■ changed files
opends/src/server/org/opends/server/tools/LDAPSearch.java 7 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/types/RDN.java 8 ●●●● patch | view | raw | blame | history
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));
                          }
                        }
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)