mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8213490: Networking area typos and inconsistencies cleanup
Reviewed-by: alanb, chegar, dfuchs
This commit is contained in:
parent
56db122656
commit
8c361a3e74
42 changed files with 87 additions and 87 deletions
|
@ -62,7 +62,7 @@ import sun.util.logging.PlatformLogger;
|
|||
* <ul>
|
||||
* <li>
|
||||
* CookieHandler is at the core of cookie management. User can call
|
||||
* CookieHandler.setDefault to set a concrete CookieHanlder implementation
|
||||
* CookieHandler.setDefault to set a concrete CookieHandler implementation
|
||||
* to be used.
|
||||
* </li>
|
||||
* <li>
|
||||
|
@ -354,7 +354,7 @@ public class CookieManager extends CookieHandler
|
|||
private boolean shouldAcceptInternal(URI uri, HttpCookie cookie) {
|
||||
try {
|
||||
return policyCallback.shouldAccept(uri, cookie);
|
||||
} catch (Exception ignored) { // pretect against malicious callback
|
||||
} catch (Exception ignored) { // protect against malicious callback
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue