mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8216986: Remove unused code from SocksSocketImpl
Reviewed-by: alanb
This commit is contained in:
parent
288ebae13c
commit
0fc677a674
6 changed files with 148 additions and 591 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue