Skip to content

Commit

Permalink
Remove incorrect comment
Browse files Browse the repository at this point in the history
  • Loading branch information
markt-asf committed Mar 15, 2024
1 parent 9cacfc5 commit da84164
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions api/src/main/java/jakarta/servlet/http/Cookie.java
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,7 @@ public String getComment() {
* Specifies the domain within which this cookie should be presented.
*
* <p>
* The form of the domain name is specified by RFC 6265. A domain name begins with a dot (<code>.foo.com</code>) and
* means that the cookie is visible to servers in a specified Domain Name System (DNS) zone (for example,
* <code>www.foo.com</code>, but not <code>a.b.foo.com</code>). By default, cookies are only returned to the server that
* The form of the domain name is specified by RFC 6265. By default, cookies are only returned to the server that
* sent them.
*
* @param domain the domain name within which this cookie is visible; form is according to RFC 6265
Expand Down

0 comments on commit da84164

Please sign in to comment.