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 4a8603dd8c Improve Javadoc format 4a8603dd8c is described below commit 4a8603dd8c887244163b912c97703dd34137c0f1 Author: Mark Thomas <ma...@apache.org> AuthorDate: Fri Feb 7 15:47:53 2025 +0000 Improve Javadoc format --- java/org/apache/jasper/compiler/Node.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/java/org/apache/jasper/compiler/Node.java b/java/org/apache/jasper/compiler/Node.java index fa8d56f69a..c7f9296f8d 100644 --- a/java/org/apache/jasper/compiler/Node.java +++ b/java/org/apache/jasper/compiler/Node.java @@ -1607,8 +1607,12 @@ abstract class Node implements TagConstants { } /** - * A custom action is considered to have an empty body if the following holds true: - getBody() returns null, or - * - all immediate children are jsp:attribute actions, or - the action's jsp:body is empty. + * A custom action is considered to have an empty body if any of the following hold true: + * <ul> + * <li>getBody() returns null</li> + * <li>all immediate children are jsp:attribute actions</li> + * <li>the action's jsp:body is empty</li> + * </ul> * * @return {@code true} if this custom action has an empty body, and {@code false} otherwise. */ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org