mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

gbellato
05.19.2007 03c06cc52e06ff3a31cc8bef61450c709b17eb8e
opends/src/server/org/opends/server/replication/plugin/ReplicationBroker.java
@@ -176,10 +176,8 @@
   * Start the ReplicationBroker.
   *
   * @param servers list of servers used
   * @throws Exception : in case of errors
   */
  public void start(Collection<String> servers)
                    throws Exception
  {
    /*
     * Open Socket to the ReplicationServer
@@ -207,7 +205,7 @@
   * @throws NumberFormatException address was invalid
   * @throws IOException error during connection phase
   */
  private void connect() throws NumberFormatException, IOException
  private void connect()
  {
    ReplServerStartMessage startMsg;
@@ -399,7 +397,13 @@
            {
              if (session != null)
              {
                session.close();
                try
                {
                  session.close();
                } catch (IOException e)
                {
                  // The session was already closed, just ignore.
                }
                session = null;
              }
            }