This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push: new b5d84e4 Fix typo (#433) b5d84e4 is described below commit b5d84e4299668795fac658aa64ea151cf653684c Author: Shi.Kun <34267068+pachul...@users.noreply.github.com> AuthorDate: Tue Jul 13 15:21:42 2021 +0800 Fix typo (#433) * Fix typo add missing words --- java/jakarta/servlet/ServletSecurityElement.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/java/jakarta/servlet/ServletSecurityElement.java b/java/jakarta/servlet/ServletSecurityElement.java index 4f8d469..549f199 100644 --- a/java/jakarta/servlet/ServletSecurityElement.java +++ b/java/jakarta/servlet/ServletSecurityElement.java @@ -71,6 +71,7 @@ public class ServletSecurityElement extends HttpConstraintElement { * @param httpConstraintElement Default constraint * @param httpMethodConstraints Method constraints * @throws IllegalArgumentException if a method name is specified more than + * once */ public ServletSecurityElement(HttpConstraintElement httpConstraintElement, Collection<HttpMethodConstraintElement> httpMethodConstraints) { @@ -83,7 +84,8 @@ public class ServletSecurityElement extends HttpConstraintElement { /** * Create from an annotation. * @param annotation Annotation to use as the basis for the new instance - * @throws IllegalArgumentException if a method name is specified more than + * @throws IllegalArgumentException if a method name is specified more than + * once */ public ServletSecurityElement(ServletSecurity annotation) { this(new HttpConstraintElement(annotation.value().value(), --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org