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

neil_a_wilson
16.56.2006 5b91f507f1db027eff34b793444d44dba52b3fc1
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
opends/src/server/org/opends/server/protocols/internal/InternalConnectionHandler.java 10 ●●●● patch | view | raw | blame | history
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>();
  }