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

neil_a_wilson
16.56.2006 1169217487ede3436ceb7dd62aab0dd7ca1a140d
Update the internal connection handler to perform initialization in the
constructor rather than the initializeConnectionHandler method, since it is not
initialized in the same way as other connection handlers.

OpenDS Issue Number: 663
1 files modified
10 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalConnectionHandler.java 10 ●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalConnectionHandler.java
@@ -77,6 +77,11 @@
    super("Internal Connection Handler Thread");
    assert debugConstructor(CLASS_NAME);
    // Since we can't guarantee that the initializeConnectionHandler method will
    // always be called for this method, we'll do the necessary "initialization"
    // here.
    connectionList = new LinkedList<ClientConnection>();
  }
@@ -117,11 +122,6 @@
  {
    assert debugEnter(CLASS_NAME, "initializeConnectionHandler",
                      String.valueOf(configEntry));
    // Create an empty connection list that will be returned by the
    // getClientConnections method.
    connectionList = new LinkedList<ClientConnection>();
  }