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:26:16 UTC
[tomcat] branch 9.0.x updated: Fix typo (#433)
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 0dffb1d Fix typo (#433)
0dffb1d is described below
commit 0dffb1d93d6df01dfa62606ea536b0ef6aaf459c
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/javax/servlet/ServletSecurityElement.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/java/javax/servlet/ServletSecurityElement.java b/java/javax/servlet/ServletSecurityElement.java
index 875d103..d7e0116 100644
--- a/java/javax/servlet/ServletSecurityElement.java
+++ b/java/javax/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