This is an automated email from the ASF dual-hosted git repository. remm 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 9b9e1ad66e Remove override javadoc 9b9e1ad66e is described below commit 9b9e1ad66e5dc6f558bcfbd452f5b85815668f8c Author: remm <r...@apache.org> AuthorDate: Fri Mar 29 11:26:25 2024 +0100 Remove override javadoc Remove very outdated boilerplate override javadoc from the Servlet API. --- .../org/apache/catalina/core/ApplicationContext.java | 10 ---------- .../apache/catalina/core/ApplicationDispatcher.java | 20 -------------------- .../apache/catalina/core/ApplicationFilterChain.java | 10 ---------- .../catalina/core/ApplicationFilterConfig.java | 18 ------------------ java/org/apache/catalina/core/StandardWrapper.java | 15 --------------- 5 files changed, 73 deletions(-) diff --git a/java/org/apache/catalina/core/ApplicationContext.java b/java/org/apache/catalina/core/ApplicationContext.java index 7561bb7172..3f38defb05 100644 --- a/java/org/apache/catalina/core/ApplicationContext.java +++ b/java/org/apache/catalina/core/ApplicationContext.java @@ -331,11 +331,6 @@ public class ApplicationContext implements ServletContext { } - /** - * Return the MIME type of the specified file, or <code>null</code> if the MIME type cannot be determined. - * - * @param file Filename for which to identify a MIME type - */ @Override public String getMimeType(String file) { @@ -355,11 +350,6 @@ public class ApplicationContext implements ServletContext { } - /** - * Return a <code>RequestDispatcher</code> object that acts as a wrapper for the named servlet. - * - * @param name Name of the servlet for which a dispatcher is requested - */ @Override public RequestDispatcher getNamedDispatcher(String name) { diff --git a/java/org/apache/catalina/core/ApplicationDispatcher.java b/java/org/apache/catalina/core/ApplicationDispatcher.java index d50bf7c66f..bd7f3de397 100644 --- a/java/org/apache/catalina/core/ApplicationDispatcher.java +++ b/java/org/apache/catalina/core/ApplicationDispatcher.java @@ -267,16 +267,6 @@ final class ApplicationDispatcher implements AsyncDispatcher, RequestDispatcher // --------------------------------------------------------- Public Methods - /** - * Forward this request and response to another resource for processing. Any runtime exception, IOException, or - * ServletException thrown by the called servlet will be propagated to the caller. - * - * @param request The servlet request to be forwarded - * @param response The servlet response to be forwarded - * - * @exception IOException if an input/output error occurs - * @exception ServletException if a servlet exception occurs - */ @Override public void forward(ServletRequest request, ServletResponse response) throws ServletException, IOException { if (Globals.IS_SECURITY_ENABLED) { @@ -452,16 +442,6 @@ final class ApplicationDispatcher implements AsyncDispatcher, RequestDispatcher } - /** - * Include the response from another resource in the current response. Any runtime exception, IOException, or - * ServletException thrown by the called servlet will be propagated to the caller. - * - * @param request The servlet request that is including this one - * @param response The servlet response to be appended to - * - * @exception IOException if an input/output error occurs - * @exception ServletException if a servlet exception occurs - */ @Override public void include(ServletRequest request, ServletResponse response) throws ServletException, IOException { if (Globals.IS_SECURITY_ENABLED) { diff --git a/java/org/apache/catalina/core/ApplicationFilterChain.java b/java/org/apache/catalina/core/ApplicationFilterChain.java index e6a45a05dc..50f7c3ee98 100644 --- a/java/org/apache/catalina/core/ApplicationFilterChain.java +++ b/java/org/apache/catalina/core/ApplicationFilterChain.java @@ -117,16 +117,6 @@ public final class ApplicationFilterChain implements FilterChain { // ---------------------------------------------------- FilterChain Methods - /** - * Invoke the next filter in this chain, passing the specified request and response. If there are no more filters in - * this chain, invoke the <code>service()</code> method of the servlet itself. - * - * @param request The servlet request we are processing - * @param response The servlet response we are creating - * - * @exception IOException if an input/output error occurs - * @exception ServletException if a servlet exception occurs - */ @Override public void doFilter(ServletRequest request, ServletResponse response) throws IOException, ServletException { diff --git a/java/org/apache/catalina/core/ApplicationFilterConfig.java b/java/org/apache/catalina/core/ApplicationFilterConfig.java index 979557bfff..22f7853423 100644 --- a/java/org/apache/catalina/core/ApplicationFilterConfig.java +++ b/java/org/apache/catalina/core/ApplicationFilterConfig.java @@ -131,9 +131,6 @@ public final class ApplicationFilterConfig implements FilterConfig, Serializable // --------------------------------------------------- FilterConfig Methods - /** - * Return the name of the filter we are configuring. - */ @Override public String getFilterName() { return filterDef.getFilterName(); @@ -146,12 +143,6 @@ public final class ApplicationFilterConfig implements FilterConfig, Serializable return filterDef.getFilterClass(); } - /** - * Return a <code>String</code> containing the value of the named initialization parameter, or <code>null</code> if - * the parameter does not exist. - * - * @param name Name of the requested initialization parameter - */ @Override public String getInitParameter(String name) { @@ -165,9 +156,6 @@ public final class ApplicationFilterConfig implements FilterConfig, Serializable } - /** - * Return an <code>Enumeration</code> of the names of the initialization parameters for this Filter. - */ @Override public Enumeration<String> getInitParameterNames() { Map<String,String> map = filterDef.getParameterMap(); @@ -180,9 +168,6 @@ public final class ApplicationFilterConfig implements FilterConfig, Serializable } - /** - * Return the ServletContext of our associated web application. - */ @Override public ServletContext getServletContext() { @@ -191,9 +176,6 @@ public final class ApplicationFilterConfig implements FilterConfig, Serializable } - /** - * Return a String representation of this object. - */ @Override public String toString() { StringBuilder sb = new StringBuilder("ApplicationFilterConfig["); diff --git a/java/org/apache/catalina/core/StandardWrapper.java b/java/org/apache/catalina/core/StandardWrapper.java index d47079cfe6..ddb8036fa5 100644 --- a/java/org/apache/catalina/core/StandardWrapper.java +++ b/java/org/apache/catalina/core/StandardWrapper.java @@ -1340,21 +1340,12 @@ public class StandardWrapper extends ContainerBase implements ServletConfig, Wra // -------------------------------------------------- ServletConfig Methods - /** - * @return the initialization parameter value for the specified name, if any; otherwise return <code>null</code>. - * - * @param name Name of the initialization parameter to retrieve - */ @Override public String getInitParameter(String name) { return findInitParameter(name); } - /** - * @return the set of initialization parameter names defined for this servlet. If none are defined, an empty - * Enumeration is returned. - */ @Override public Enumeration<String> getInitParameterNames() { @@ -1368,9 +1359,6 @@ public class StandardWrapper extends ContainerBase implements ServletConfig, Wra } - /** - * @return the servlet context with which this servlet is associated. - */ @Override public ServletContext getServletContext() { if (parent == null) { @@ -1383,9 +1371,6 @@ public class StandardWrapper extends ContainerBase implements ServletConfig, Wra } - /** - * @return the name of this servlet. - */ @Override public String getServletName() { return getName(); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org