Indentation

Made HttpTunnelingSocketChannelConfig invisible to a user
This commit is contained in:
Trustin Lee 2009-02-17 09:47:28 +00:00
parent 3922fb8a44
commit 6671cd34fa
2 changed files with 4 additions and 6 deletions

View File

@ -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");
}

View File

@ -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;
}