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