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 2021/07/13 07:21:50 UTC

[tomcat] branch main updated: Fix typo (#433)

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 <34...@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org