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 2019/09/07 22:48:47 UTC

[tomcat] branch 7.0.x updated: Fix remaining Javadoc warning in Servlet API

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/7.0.x by this push:
     new bbf45c8  Fix remaining Javadoc warning in Servlet API
bbf45c8 is described below

commit bbf45c86ab9587ac7b240606d2b4caddf835e1e7
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Sat Sep 7 23:48:37 2019 +0100

    Fix remaining Javadoc warning in Servlet API
---
 java/javax/servlet/ServletSecurityElement.java | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/java/javax/servlet/ServletSecurityElement.java b/java/javax/servlet/ServletSecurityElement.java
index 59126e6..caa9a27 100644
--- a/java/javax/servlet/ServletSecurityElement.java
+++ b/java/javax/servlet/ServletSecurityElement.java
@@ -43,6 +43,13 @@ public class ServletSecurityElement extends HttpConstraintElement {
         super();
     }
 
+    /**
+     * Use specified HttpConstraintElement.
+     * @param httpConstraintElement The constraint
+     */
+    public ServletSecurityElement(HttpConstraintElement httpConstraintElement) {
+        this (httpConstraintElement, null);
+    }
 
     /**
      * Use specific constraints for specified methods and default
@@ -57,13 +64,6 @@ public class ServletSecurityElement extends HttpConstraintElement {
         addHttpMethodConstraints(httpMethodConstraints);
     }
 
-    /**
-     * Use specified HttpConstraintElement.
-     * @param httpConstraintElement
-     */
-    public ServletSecurityElement(HttpConstraintElement httpConstraintElement) {
-        this (httpConstraintElement, null);
-    }
 
     /**
      * Use specified HttpConstraintElement as default and specific constraints


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org