From fb72ce39dabb8a6146b1e70f3e6b8d5f88d994e9 Mon Sep 17 00:00:00 2001
From: abobrov <abobrov@localhost>
Date: Wed, 30 Jan 2008 13:32:24 +0000
Subject: [PATCH] - comment the logic of isDescendantOf method for equal DNs case.
---
opends/src/server/org/opends/server/types/DN.java | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/opends/src/server/org/opends/server/types/DN.java b/opends/src/server/org/opends/server/types/DN.java
index 0e5ec70..f884f42 100644
--- a/opends/src/server/org/opends/server/types/DN.java
+++ b/opends/src/server/org/opends/server/types/DN.java
@@ -405,8 +405,11 @@
/**
* Indicates whether this DN is a descendant of the provided DN
- * (i.e., that the RDN components of the provided DN are the same as
- * the last RDN components for this DN).
+ * (i.e., that the RDN components of the provided DN are the
+ * same as the last RDN components for this DN). Note that if
+ * this DN equals the provided DN it is still considered to be
+ * a descendant of the provided DN by this method as both then
+ * reside within the same subtree.
*
* @param dn The DN for which to make the determination.
*
--
Gitblit v1.10.0