This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new 139773f288 Improve Javadoc format
139773f288 is described below
commit 139773f288bb0e1ab76ecd5bd9d99f3e7137d20e
Author: Mark Thomas <[email protected]>
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 db17f24a3b..d62ad88520 100644
--- a/java/org/apache/jasper/compiler/Node.java
+++ b/java/org/apache/jasper/compiler/Node.java
@@ -1685,8 +1685,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: [email protected]
For additional commands, e-mail: [email protected]