This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new 1062cf4  Fix typo
1062cf4 is described below

commit 1062cf4527f15c8c4cd679b3fa2bbe57adcf3441
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Nov 18 19:22:39 2021 +0000

    Fix typo
---
 java/jakarta/servlet/http/Cookie.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/jakarta/servlet/http/Cookie.java 
b/java/jakarta/servlet/http/Cookie.java
index de184f2..2e7bb98 100644
--- a/java/jakarta/servlet/http/Cookie.java
+++ b/java/jakarta/servlet/http/Cookie.java
@@ -334,7 +334,7 @@ public class Cookie implements Cloneable, Serializable {
      * using any protocol.
      *
      * @return <code>true</code> if the browser uses a secure protocol;
-     *         otherwise, <code>true</code>
+     *         otherwise, <code>false</code>
      * @see #setSecure
      */
     public boolean getSecure() {

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to