From e1b0862e7251d4f8ec159d704e8db0d5cf1ba212 Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Mon, 02 Dec 2013 11:13:30 +0000
Subject: [PATCH] OpenDJ 3 : config framework

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

diff --git a/opendj-admin/src/main/java/org/opends/server/admin/client/ldap/LDAPManagementContext.java b/opendj-admin/src/main/java/org/opends/server/admin/client/ldap/LDAPManagementContext.java
index 76052d1..6ae460b 100644
--- a/opendj-admin/src/main/java/org/opends/server/admin/client/ldap/LDAPManagementContext.java
+++ b/opendj-admin/src/main/java/org/opends/server/admin/client/ldap/LDAPManagementContext.java
@@ -27,51 +27,42 @@
 
 package org.opends.server.admin.client.ldap;
 
-
-
 import org.opends.server.admin.LDAPProfile;
 import org.opends.server.admin.client.ManagementContext;
 import org.opends.server.admin.client.spi.Driver;
-import org.opends.server.util.Validator;
 
-
+import com.forgerock.opendj.util.Validator;
 
 /**
  * An LDAP management connection context.
  */
 public final class LDAPManagementContext extends ManagementContext {
 
-  /**
-   * Create a new LDAP management context using the provided LDAP
-   * connection.
-   *
-   * @param connection
-   *          The LDAP connection.
-   * @return Returns the new management context.
-   */
-  public static ManagementContext createFromContext(LDAPConnection connection) {
-    Validator.ensureNotNull(connection);
-    return new LDAPManagementContext(connection, LDAPProfile.getInstance());
-  }
+    /**
+     * Create a new LDAP management context using the provided LDAP connection.
+     *
+     * @param connection
+     *            The LDAP connection.
+     * @return Returns the new management context.
+     */
+    public static ManagementContext createFromContext(LDAPConnection connection) {
+        Validator.ensureNotNull(connection);
+        return new LDAPManagementContext(connection, LDAPProfile.getInstance());
+    }
 
-  // The LDAP management context driver.
-  private final LDAPDriver driver;
+    // The LDAP management context driver.
+    private final LDAPDriver driver;
 
+    // Private constructor.
+    private LDAPManagementContext(LDAPConnection connection, LDAPProfile profile) {
+        this.driver = new LDAPDriver(this, connection, profile);
+    }
 
-
-  // Private constructor.
-  private LDAPManagementContext(LDAPConnection connection,
-      LDAPProfile profile) {
-    this.driver = new LDAPDriver(this, connection, profile);
-  }
-
-
-
-  /**
-   * {@inheritDoc}
-   */
-  @Override
-  protected Driver getDriver() {
-    return driver;
-  }
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Driver getDriver() {
+        return driver;
+    }
 }

--
Gitblit v1.10.0