fix typo in exception message
This commit is contained in:
parent
66566a1acd
commit
1734f5fd01
@ -182,7 +182,7 @@ public class ClientBootstrap extends Bootstrap {
|
|||||||
*/
|
*/
|
||||||
public ChannelFuture connect(SocketAddress remoteAddress) {
|
public ChannelFuture connect(SocketAddress remoteAddress) {
|
||||||
if (remoteAddress == null) {
|
if (remoteAddress == null) {
|
||||||
throw new NullPointerException("remotedAddress");
|
throw new NullPointerException("remoteAddress");
|
||||||
}
|
}
|
||||||
SocketAddress localAddress = (SocketAddress) getOption("localAddress");
|
SocketAddress localAddress = (SocketAddress) getOption("localAddress");
|
||||||
return connect(remoteAddress, localAddress);
|
return connect(remoteAddress, localAddress);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user