RFR [9] 8038821: Fix typo; consructed to constructed
Chris Hegarty
chris.hegarty at oracle.com
Mon Mar 31 13:42:42 UTC 2014
Trivial typo fix.
diff --git a/src/share/classes/java/net/HttpCookie.java
b/src/share/classes/java/net/HttpCookie.java
--- a/src/share/classes/java/net/HttpCookie.java
+++ b/src/share/classes/java/net/HttpCookie.java
@@ -74,7 +74,7 @@
private boolean httpOnly; // HttpOnly ... i.e. not accessible to
scripts
private int version = 1; // Version=1 ... RFC 2965 style
- // The original header this cookie was consructed from, if it was
+ // The original header this cookie was constructed from, if it was
// constructed by parsing a header, otherwise null.
private final String header;
@@ -985,7 +985,7 @@
}
/*
- * Returns the original header this cookie was consructed from, if
it was
+ * Returns the original header this cookie was constructed from, if
it was
* constructed by parsing a header, otherwise null.
*/
private String header() {
diff --git a/src/share/classes/sun/misc/JavaNetHttpCookieAccess.java
b/src/share/classes/sun/misc/JavaNetHttpCookieAccess.java
--- a/src/share/classes/sun/misc/JavaNetHttpCookieAccess.java
+++ b/src/share/classes/sun/misc/JavaNetHttpCookieAccess.java
@@ -36,7 +36,7 @@
public List<HttpCookie> parse(String header);
/*
- * Returns the original header this cookie was consructed from, if
it was
+ * Returns the original header this cookie was constructed from, if
it was
* constructed by parsing a header, otherwise null.
*/
public String header(HttpCookie cookie);
More information about the net-dev
mailing list