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 2025/02/07 15:48:40 UTC
(tomcat) branch 9.0.x updated: Improve Javadoc format
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 1b59044fb0 Improve Javadoc format
1b59044fb0 is described below
commit 1b59044fb0d69cbaa32f47532084ea649fe00e5f
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 e10247605a..15f88986d7 100644
--- a/java/org/apache/jasper/compiler/Node.java
+++ b/java/org/apache/jasper/compiler/Node.java
@@ -1683,8 +1683,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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org