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