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

Ludovic Poitou
22.52.2010 97491bcdb796a35879477018ea768c1be2c989e4
sdk/src/com/sun/opends/sdk/ldap/LDAPConnectionFactoryImpl.java
@@ -253,17 +253,15 @@
  public LDAPConnectionFactoryImpl(final SocketAddress address,
      final LDAPOptions options)
  {
    TCPNIOTransport tmpTransport = null;
    if (options instanceof GrizzlyLDAPOptions)
    if (options.getTCPNIOTransport() == null)
    {
      tmpTransport = ((GrizzlyLDAPOptions) options).getTCPNIOTransport();
      this.transport = GlobalTransportFactory.getInstance()
          .createTCPTransport();
    }
    if (tmpTransport == null)
    else
    {
      tmpTransport = GlobalTransportFactory.getInstance().createTCPTransport();
      this.transport = options.getTCPNIOTransport();
    }
    this.transport = tmpTransport;
    this.socketAddress = address;
    this.options = new LDAPOptions(options);
    this.clientFilter = new LDAPClientFilter(new LDAPReader(