You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2020/12/02 14:21:52 UTC

[tomcat] branch master updated: Fix IDE warning

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

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


The following commit(s) were added to refs/heads/master by this push:
     new b2714ba  Fix IDE warning
b2714ba is described below

commit b2714bab61358678fdfa16ec364baa808925c17b
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Dec 2 14:21:04 2020 +0000

    Fix IDE warning
---
 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 1d8e7de..48a621b 100644
--- a/java/jakarta/servlet/http/Cookie.java
+++ b/java/jakarta/servlet/http/Cookie.java
@@ -74,7 +74,7 @@ public class Cookie implements Cloneable, Serializable {
         } else {
             strictServletCompliance = AccessController.doPrivileged(
                     (PrivilegedAction<Boolean>) () -> Boolean.valueOf(System.getProperty(
-                            "org.apache.catalina.STRICT_SERVLET_COMPLIANCE")));
+                            "org.apache.catalina.STRICT_SERVLET_COMPLIANCE"))).booleanValue();
             propStrictNaming = AccessController.doPrivileged(
                     (PrivilegedAction<String>) () -> System.getProperty(
                             "org.apache.tomcat.util.http.ServerCookie.STRICT_NAMING"));


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