This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push: new 54b3d520e3 Prepare for automated formatting 54b3d520e3 is described below commit 54b3d520e3739523aef33facc4ee108b7077621c 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 47de5cf089..f427265ac1 100644 --- a/java/org/apache/jasper/compiler/Generator.java +++ b/java/org/apache/jasper/compiler/Generator.java @@ -3275,7 +3275,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