From 702b6351ed3207102d0bf4a152f45cf74452eeb3 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Mon, 12 Dec 2011 17:33:59 +0000
Subject: [PATCH] Additional fixes for OPENDJ-381: Implement LDIF diff, patch, and search API support in the SDK

---
 opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/DN.java |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/DN.java b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/DN.java
index 1176c4e..2cfc0d6 100644
--- a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/DN.java
+++ b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/DN.java
@@ -374,12 +374,18 @@
   /**
    * Returns a DN which is an immediate child of this DN and having the
    * specified RDN.
+   * <p>
+   * <b>Note:</b> the child DN whose RDN is {@link RDN#maxValue()} compares
+   * greater than all other possible child DNs, and may be used to construct
+   * range queries against DN keyed sorted collections such as {@code SortedSet}
+   * and {@code SortedMap}.
    *
    * @param rdn
    *          The RDN for the child DN.
    * @return The child DN.
    * @throws NullPointerException
    *           If {@code rdn} was {@code null}.
+   * @see RDN#maxValue()
    */
   public DN child(final RDN rdn) throws NullPointerException
   {

--
Gitblit v1.10.0