This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push: new 415359d Complete a Javadoc TODO 415359d is described below commit 415359df48f8011a737ec9dfc9c432b6d4bf8899 Author: Mark Thomas <ma...@apache.org> AuthorDate: Sat Nov 6 22:20:57 2021 +0000 Complete a Javadoc TODO Primarily for testing CI --- java/jakarta/servlet/ServletContext.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/java/jakarta/servlet/ServletContext.java b/java/jakarta/servlet/ServletContext.java index 48e5b87..fca6fca 100644 --- a/java/jakarta/servlet/ServletContext.java +++ b/java/jakarta/servlet/ServletContext.java @@ -623,8 +623,12 @@ public interface ServletContext { public ServletRegistration getServletRegistration(String servletName); /** - * TODO SERVLET3 - Add comments - * @return TODO + * Obtain a Map of servlet names to servlet registrations for all servlets + * registered with this context. + * + * @return A Map of servlet names to servlet registrations for all servlets + * registered with this context + * * @throws UnsupportedOperationException If called from a * {@link ServletContextListener#contextInitialized(ServletContextEvent)} * method of a {@link ServletContextListener} that was not defined in a @@ -632,6 +636,7 @@ public interface ServletContext { * {@link jakarta.servlet.annotation.WebListener}. For example, a * {@link ServletContextListener} defined in a TLD would not be able to * use this method. + * * @since Servlet 3.0 */ public Map<String, ? extends ServletRegistration> getServletRegistrations(); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org