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:25:47 UTC
[tomcat] branch 10.0.x updated: Fix typo (#433)
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.0.x by this push:
new 054c3d1 Fix typo (#433)
054c3d1 is described below
commit 054c3d10940db59d3a96b8bc7ecc0933811c6b62
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 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/java/jakarta/servlet/ServletSecurityElement.java b/java/jakarta/servlet/ServletSecurityElement.java
index 4f8d469..25a98d0c 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) {
@@ -84,6 +85,7 @@ 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
+ * 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