fix typo in exception message

This commit is contained in:
Will 2011-03-03 21:59:57 +09:00 committed by Trustin Lee
parent 98db0d3908
commit e00e9bb8fa

View File

@ -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);