mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8284415: Collapse identical catch branches in security libs
Reviewed-by: coffeys, xuelei, wetmore
This commit is contained in:
parent
4f36229c96
commit
8e58d4a589
32 changed files with 74 additions and 197 deletions
|
@ -157,8 +157,7 @@ public class HostnameChecker {
|
|||
InetAddress.getByName(ipAddress))) {
|
||||
return;
|
||||
}
|
||||
} catch (UnknownHostException e) {
|
||||
} catch (SecurityException e) {}
|
||||
} catch (UnknownHostException | SecurityException e) {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue