8216986: Remove unused code from SocksSocketImpl

Reviewed-by: alanb
This commit is contained in:
Michael McMahon 2019-01-24 15:48:05 +00:00
parent 288ebae13c
commit 0fc677a674
6 changed files with 148 additions and 591 deletions

View file

@ -197,14 +197,4 @@ import java.util.Set;
else
return super.getPort();
}
@Override
protected int getLocalPort() {
if (socket != null)
return super.getLocalPort();
if (external_address != null)
return external_address.getPort();
else
return super.getLocalPort();
}
}