Indentation
Made HttpTunnelingSocketChannelConfig invisible to a user
This commit is contained in:
parent
3922fb8a44
commit
6671cd34fa
@ -47,7 +47,7 @@ public class HttpTunnelingClientSocketChannelFactory implements ClientSocketChan
|
||||
*/
|
||||
public HttpTunnelingClientSocketChannelFactory(ClientSocketChannelFactory clientSocketChannelFactory, Executor workerExecutor) {
|
||||
this(workerExecutor, Runtime.getRuntime().availableProcessors());
|
||||
this.clientSocketChannelFactory = clientSocketChannelFactory;
|
||||
this.clientSocketChannelFactory = clientSocketChannelFactory;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -58,9 +58,7 @@ public class HttpTunnelingClientSocketChannelFactory implements ClientSocketChan
|
||||
* the {@link java.util.concurrent.Executor} which will execute the I/O worker threads
|
||||
* @param workerCount
|
||||
*/
|
||||
public HttpTunnelingClientSocketChannelFactory(
|
||||
Executor workerExecutor,
|
||||
int workerCount) {
|
||||
public HttpTunnelingClientSocketChannelFactory(Executor workerExecutor, int workerCount) {
|
||||
if (workerExecutor == null) {
|
||||
throw new NullPointerException("workerExecutor");
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ import org.jboss.netty.util.ConversionUtil;
|
||||
* @author Andy Taylor (andy.taylor@jboss.org)
|
||||
* @version $Rev$, $Date$
|
||||
*/
|
||||
public class HttpTunnelingSocketChannelConfig implements SocketChannelConfig {
|
||||
class HttpTunnelingSocketChannelConfig implements SocketChannelConfig {
|
||||
|
||||
final Socket socket;
|
||||
|
||||
@ -70,7 +70,7 @@ public class HttpTunnelingSocketChannelConfig implements SocketChannelConfig {
|
||||
/**
|
||||
* Creates a new instance.
|
||||
*/
|
||||
public HttpTunnelingSocketChannelConfig(Socket socket) {
|
||||
HttpTunnelingSocketChannelConfig(Socket socket) {
|
||||
this.socket = socket;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user