Marked some classes as final in the http tunneling socket transport

This commit is contained in:
Trustin Lee 2009-02-21 19:21:12 +00:00
parent 3d7214ba61
commit b56bdd89dd
3 changed files with 4 additions and 3 deletions

View File

@ -34,7 +34,8 @@ import org.jboss.netty.channel.ChannelFuture;
* @author Andy Taylor (andy.taylor@jboss.org)
* @version $Rev$, $Date$
*/
class HttpTunnelWorker implements Runnable {
final class HttpTunnelWorker implements Runnable {
private final HttpTunnelingClientSocketChannel channel;
HttpTunnelWorker(HttpTunnelingClientSocketChannel channel) {

View File

@ -42,7 +42,7 @@ import org.jboss.netty.util.ThreadRenamingRunnable;
* @author Andy Taylor (andy.taylor@jboss.org)
* @version $Rev$, $Date$
*/
class HttpTunnelingClientSocketPipelineSink extends AbstractChannelSink {
final class HttpTunnelingClientSocketPipelineSink extends AbstractChannelSink {
static String LINE_TERMINATOR = "\r\n";
private final Executor workerExecutor;

View File

@ -35,7 +35,7 @@ import org.jboss.netty.util.ConversionUtil;
* @author Andy Taylor (andy.taylor@jboss.org)
* @version $Rev$, $Date$
*/
class HttpTunnelingSocketChannelConfig extends DefaultChannelConfig
final class HttpTunnelingSocketChannelConfig extends DefaultChannelConfig
implements SocketChannelConfig {
final Socket socket;