mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +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
|
@ -666,7 +666,7 @@ public final class HttpCookie implements Cloneable {
|
|||
int domainLength = domain.length();
|
||||
int lengthDiff = host.length() - domainLength;
|
||||
if (lengthDiff == 0) {
|
||||
// if the host name and the domain name are just string-compare euqal
|
||||
// if the host name and the domain name are just string-compare equal
|
||||
return host.equalsIgnoreCase(domain);
|
||||
}
|
||||
else if (lengthDiff > 0) {
|
||||
|
@ -1131,7 +1131,7 @@ public final class HttpCookie implements Cloneable {
|
|||
* Split cookie header string according to rfc 2965:
|
||||
* 1) split where it is a comma;
|
||||
* 2) but not the comma surrounding by double-quotes, which is the comma
|
||||
* inside port list or embeded URIs.
|
||||
* inside port list or embedded URIs.
|
||||
*
|
||||
* @param header
|
||||
* the cookie header string to split
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue