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

lutoff
21.00.2006 37481f6efa0f769145b86f446328bc47345a4f97
opends/src/server/org/opends/server/protocols/jmx/RmiConnector.java
@@ -27,12 +27,10 @@
package org.opends.server.protocols.jmx;
import java.io.IOException;
import java.rmi.NoSuchObjectException;
import java.rmi.RemoteException;
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;
import java.rmi.server.RMISocketFactory;
import java.rmi.server.UnicastRemoteObject;
import java.util.HashMap;
import javax.net.ssl.SSLSocketFactory;
@@ -479,19 +477,6 @@
    }
    //
    // Stop the RMI registry
    try
    {
      UnicastRemoteObject.unexportObject(registry, true);
    }
    catch (NoSuchObjectException e)
    {
      // TODO Log an error message
      assert debugException(CLASS_NAME, "finalizeConnectionHandler", e);
    }
    registry = null;
    //
    // Close the socket
    try
    {
@@ -502,6 +487,6 @@
      // TODO Log an error message
      assert debugException(CLASS_NAME, "finalizeConnectionHandler", e);
    }
    registry = null;
  }
}