mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-02-04 13:19:13 +00:00
Fix incorrect shadowing
This commit is contained in:
parent
f36f532c63
commit
e02ccdcb1a
@ -47,8 +47,8 @@ public class CheckUrl extends Resource<CheckUrl>
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
InetSocketAddress address = NetworkUtils.getAddress( host, 80, false );
|
InetSocketAddress netAddress = NetworkUtils.getAddress( host, 80, false );
|
||||||
NetworkUtils.getOptions( host, address );
|
NetworkUtils.getOptions( host, netAddress );
|
||||||
|
|
||||||
if( tryClose() ) environment.queueEvent( EVENT, address, true );
|
if( tryClose() ) environment.queueEvent( EVENT, address, true );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user