From 043733da90a17299362278c0ea90e67ad0bb650c Mon Sep 17 00:00:00 2001
From: lutoff <lutoff@localhost>
Date: Thu, 17 Jan 2008 08:54:44 +0000
Subject: [PATCH] fix for issue #2836 (dsconfig: after failed 1st attempt, 2nd attempt to connect to server exits)

---
 opendj-sdk/opends/src/server/org/opends/server/tools/dsconfig/InternalManagementContextFactory.java |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/tools/dsconfig/InternalManagementContextFactory.java b/opendj-sdk/opends/src/server/org/opends/server/tools/dsconfig/InternalManagementContextFactory.java
index 64b9a82..f2598d0 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/tools/dsconfig/InternalManagementContextFactory.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/tools/dsconfig/InternalManagementContextFactory.java
@@ -22,7 +22,7 @@
  * CDDL HEADER END
  *
  *
- *      Portions Copyright 2007 Sun Microsystems, Inc.
+ *      Portions Copyright 2007-2008 Sun Microsystems, Inc.
  */
 package org.opends.server.tools.dsconfig;
 
@@ -59,7 +59,15 @@
     this.context = context;
   }
 
-
+  /**
+   * {@inheritDoc}
+   */
+  public void close()
+  {
+    // No implementation required.
+    // We let the user of this InternalManagementContextFactory close
+    // his/her context.
+  }
 
   /**
    * {@inheritDoc}

--
Gitblit v1.10.0