This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push: new 84e6aaa Fix a Javadoc TODO 84e6aaa is described below commit 84e6aaaf42d991ec41596079662d448f3d174ec1 Author: Mark Thomas <ma...@apache.org> AuthorDate: Thu Nov 11 09:39:54 2021 +0000 Fix a Javadoc TODO This needed doing but the primary purpose was to trigger a CI build (hence why I only fixed one TODO - I may need to trigger additional builds). --- java/javax/servlet/ServletContext.java | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/java/javax/servlet/ServletContext.java b/java/javax/servlet/ServletContext.java index 301eb1f..8858b8a 100644 --- a/java/javax/servlet/ServletContext.java +++ b/java/javax/servlet/ServletContext.java @@ -758,10 +758,15 @@ public interface ServletContext { Class<? extends Filter> filterClass); /** - * TODO SERVLET3 - Add comments - * @param <T> TODO - * @param c TODO - * @return TODO + * Create a Filter instance using the given class. The instance is just + * created. No initialisation occurs. + * + * @param <T> The type for the given class + * @param c The the class for which an instance should be created + * + * @return The created Filter instance. + * + * @throws ServletException If the Filter instance cannot be created * @throws UnsupportedOperationException If called from a * {@link ServletContextListener#contextInitialized(ServletContextEvent)} * method of a {@link ServletContextListener} that was not defined in a @@ -769,7 +774,7 @@ public interface ServletContext { * {@link javax.servlet.annotation.WebListener}. For example, a * {@link ServletContextListener} defined in a TLD would not be able to * use this method. - * @throws ServletException TODO + * * @since Servlet 3.0 */ public <T extends Filter> T createFilter(Class<T> c) throws ServletException; --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org