Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove incorrect comment #581

Merged
merged 1 commit into from
Mar 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions api/src/main/java/jakarta/servlet/http/Cookie.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2023 Oracle and/or its affiliates and others.
* Copyright (c) 1997, 2024 Oracle and/or its affiliates and others.
* All rights reserved.
* Copyright 2004 The Apache Software Foundation
*
Expand Down Expand Up @@ -166,10 +166,8 @@ 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
* sent them.
* 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