From 567150121840af35c215b2a4323cee149fc5802a Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Thu, 12 Jul 2007 22:48:25 +0000
Subject: [PATCH] Commit missed files from previous revision.

---
 opends/src/server/org/opends/server/admin/client/ldap/LDAPManagementContext.java |   25 +------------------------
 1 files changed, 1 insertions(+), 24 deletions(-)

diff --git a/opends/src/server/org/opends/server/admin/client/ldap/LDAPManagementContext.java b/opends/src/server/org/opends/server/admin/client/ldap/LDAPManagementContext.java
index 6b191f0..6828bc9 100644
--- a/opends/src/server/org/opends/server/admin/client/ldap/LDAPManagementContext.java
+++ b/opends/src/server/org/opends/server/admin/client/ldap/LDAPManagementContext.java
@@ -47,7 +47,7 @@
    * connection.
    *
    * @param connection
-   *          The LDAP connectin.
+   *          The LDAP connection.
    * @return Returns the new management context.
    */
   public static ManagementContext createFromContext(LDAPConnection connection) {
@@ -55,29 +55,6 @@
     return new LDAPManagementContext(connection, LDAPProfile.getInstance());
   }
 
-
-
-  /**
-   * Create a new LDAP management context using the provided LDAP
-   * connection and LDAP profile.
-   * <p>
-   * This constructor is primarily intended for testing purposes so
-   * that unit tests can provide mock LDAP connections and LDAP
-   * profiles.
-   *
-   * @param connection
-   *          The LDAP connection.
-   * @param profile
-   *          The LDAP profile which should be used to construct LDAP
-   *          requests and decode LDAP responses.
-   * @return Returns the new management context.
-   */
-  public static ManagementContext createFromContext(LDAPConnection connection,
-      LDAPProfile profile) {
-    Validator.ensureNotNull(connection, profile);
-    return new LDAPManagementContext(connection, profile);
-  }
-
   // The LDAP connection.
   private final LDAPConnection connection;
 

--
Gitblit v1.10.0