From 05d16cd361c37de21426e6af053d1bc8a10054af Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Wed, 30 Jan 2013 21:55:10 +0900 Subject: [PATCH] Made Bootstrap and ServerBootstrap copy constructors private as suggested --- transport/src/main/java/io/netty/bootstrap/Bootstrap.java | 2 +- transport/src/main/java/io/netty/bootstrap/ServerBootstrap.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/transport/src/main/java/io/netty/bootstrap/Bootstrap.java b/transport/src/main/java/io/netty/bootstrap/Bootstrap.java index cd06e74286..b1175aaeb7 100644 --- a/transport/src/main/java/io/netty/bootstrap/Bootstrap.java +++ b/transport/src/main/java/io/netty/bootstrap/Bootstrap.java @@ -42,7 +42,7 @@ public final class Bootstrap extends AbstractBootstrap { public Bootstrap() { } - public Bootstrap(Bootstrap bootstrap) { + private Bootstrap(Bootstrap bootstrap) { super(bootstrap); remoteAddress = bootstrap.remoteAddress; } diff --git a/transport/src/main/java/io/netty/bootstrap/ServerBootstrap.java b/transport/src/main/java/io/netty/bootstrap/ServerBootstrap.java index c0e0a3eb89..fd2ea1338a 100644 --- a/transport/src/main/java/io/netty/bootstrap/ServerBootstrap.java +++ b/transport/src/main/java/io/netty/bootstrap/ServerBootstrap.java @@ -61,7 +61,7 @@ public final class ServerBootstrap extends AbstractBootstrap