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

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


The following commit(s) were added to refs/heads/11.0.x by this push:
     new 1a67aefc29 Prepare for automated formatting
1a67aefc29 is described below

commit 1a67aefc29eac675a3e645a07288a870148ae4a2
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Aug 29 12:20:08 2025 +0100

    Prepare for automated formatting
---
 java/org/apache/jasper/compiler/Generator.java             | 2 +-
 java/org/apache/tomcat/util/http/CookiesWithoutEquals.java | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/java/org/apache/jasper/compiler/Generator.java 
b/java/org/apache/jasper/compiler/Generator.java
index 439d28ad3c..d0f0ccacdf 100644
--- a/java/org/apache/jasper/compiler/Generator.java
+++ b/java/org/apache/jasper/compiler/Generator.java
@@ -3040,7 +3040,7 @@ class Generator {
         /**
          * Determines whether a tag should be handled via nonstandard code 
(typically
          * faster). Considers both configuration and level of support within 
Tomcat.
-         *
+         * <p>
          * Note that Tomcat is free to ignore any case it cannot handle, as 
long as it
          * reports it accurately to the caller by returning false. For 
example, the
          * initial implementation for c:set excludes support for body content. 
c:set
diff --git a/java/org/apache/tomcat/util/http/CookiesWithoutEquals.java 
b/java/org/apache/tomcat/util/http/CookiesWithoutEquals.java
index 5cb86949bb..4eefb7f4b1 100644
--- a/java/org/apache/tomcat/util/http/CookiesWithoutEquals.java
+++ b/java/org/apache/tomcat/util/http/CookiesWithoutEquals.java
@@ -24,6 +24,7 @@ public enum CookiesWithoutEquals {
     IGNORE("ignore"),
     NAME("name");
     /*
+     * @formatter:off
      * There is no VALUE option since the Servlet specification does not 
permit the creation of a Cookie with a name
      * that is either null or the zero length string.
      *
@@ -55,9 +56,9 @@ public enum CookiesWithoutEquals {
      * For the user agent:
      *  - a name-value-pair without an equals sign is treated as the value of 
a cookie with an empty name.
      *  - both empty name and empty value are allowed but if both are empty 
the cookie will be ignored.
+     * @formatter:on
      *
-     * To see how RFC6265 arrived at his behaviour, see:
-     * https://github.com/httpwg/http-extensions/issues/159
+     * To see how RFC6265 arrived at his behaviour, see 
https://github.com/httpwg/http-extensions/issues/159
      *
      * Historically, the users agents settled on using a name-value-pair 
without an equals sign to indicate a cookie
      * with a value but no name. Tomcat did the opposite. That arose from 
addressing this bug:


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

Reply via email to