src/java.base/share/classes/java/net/HttpCookie.java
changeset 52499 768b1c612100
parent 52427 3c6aa484536c
child 53018 8bf9268df0e2
--- a/src/java.base/share/classes/java/net/HttpCookie.java	Tue Nov 13 11:45:16 2018 +0100
+++ b/src/java.base/share/classes/java/net/HttpCookie.java	Tue Nov 13 12:24:34 2018 +0000
@@ -666,7 +666,7 @@
         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 @@
      * 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