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

Jean-Noel Rouvignac
24.11.2015 8d21db36015f8560d9cd2bcee9817f2c0a07a386
opendj-server-legacy/src/test/java/org/opends/server/protocols/jmx/JmxConnectTest.java
@@ -286,7 +286,6 @@
    // Create a new JMX connector for this test.
    // This will allow to use the old one if this test fails.
    //
    ServerSocket serverJmxSocket = new ServerSocket();
    serverJmxSocket.setReuseAddress(true);
    serverJmxSocket.bind(new InetSocketAddress("127.0.0.1", 0));
@@ -350,7 +349,7 @@
  /**
   * Test changing JMX port through LDAP
   * Test changing JMX port through LDAP.
   */
  @Test(enabled = false)
  public void changePort() throws Exception {
@@ -476,10 +475,6 @@
  /**
   * @param config
   * @throws Exception
   */
  private void configureJmx(Entry entry) throws Exception {
    ArrayList<LocalizableMessage> reasons = new ArrayList<LocalizableMessage>();
@@ -511,7 +506,6 @@
    // Provide the credentials required by the server to successfully
    // perform user authentication
    //
    String[] credentials;
    if ((user == null) && (password == null)) {
      credentials = null;
@@ -523,7 +517,6 @@
    // Create an RMI connector client and
    // connect it to the RMI connector server
    //
    OpendsJmxConnector opendsConnector;
    try {
      opendsConnector = new OpendsJmxConnector("localhost", jmxPort, env);