From 2569921d099db074424cb7fa39127f5a201f5fa0 Mon Sep 17 00:00:00 2001 From: Mark Thomas Date: Fri, 15 Mar 2024 19:49:24 +0000 Subject: [PATCH] Remove incorrect comment --- api/src/main/java/jakarta/servlet/http/Cookie.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/api/src/main/java/jakarta/servlet/http/Cookie.java b/api/src/main/java/jakarta/servlet/http/Cookie.java index 798919f1b..38f81d807 100644 --- a/api/src/main/java/jakarta/servlet/http/Cookie.java +++ b/api/src/main/java/jakarta/servlet/http/Cookie.java @@ -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 * @@ -166,10 +166,8 @@ public String getComment() { * Specifies the domain within which this cookie should be presented. * *

- * The form of the domain name is specified by RFC 6265. A domain name begins with a dot (.foo.com) and - * means that the cookie is visible to servers in a specified Domain Name System (DNS) zone (for example, - * www.foo.com, but not a.b.foo.com). 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 *