From 1651d94328ec8eced7e12ca1ee886f60c09ce4da Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Tue, 11 Sep 2007 23:12:40 +0000
Subject: [PATCH] Handle special case where the requested managed object is the root configuration.

---
 opendj-sdk/opends/src/server/org/opends/server/admin/client/spi/Driver.java |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/admin/client/spi/Driver.java b/opendj-sdk/opends/src/server/org/opends/server/admin/client/spi/Driver.java
index e7b0a19..bc94558 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/admin/client/spi/Driver.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/admin/client/spi/Driver.java
@@ -390,7 +390,9 @@
 
 
   /**
-   * Gets the named managed object.
+   * Gets the named managed object. The path is guaranteed to be
+   * non-empty, so implementations do not need to worry about handling
+   * this special case.
    *
    * @param <C>
    *          The type of client managed object configuration that the
@@ -399,7 +401,7 @@
    *          The type of server managed object configuration that the
    *          path definition refers to.
    * @param path
-   *          The path of the managed object.
+   *          The non-empty path of the managed object.
    * @return Returns the named managed object.
    * @throws DefinitionDecodingException
    *           If the managed object was found but its type could not

--
Gitblit v1.10.0