This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.0.x by this push: new c904f41 Fix comment TODO c904f41 is described below commit c904f41f04d932ce196b519d011c9d1dfa25646e Author: Mark Thomas <ma...@apache.org> AuthorDate: Fri Nov 5 10:31:44 2021 +0000 Fix comment TODO While this needed fixing, this commit has primarily been made to trigger a CI build to --- java/jakarta/servlet/ServletContext.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/java/jakarta/servlet/ServletContext.java b/java/jakarta/servlet/ServletContext.java index c238e75..8752af2 100644 --- a/java/jakarta/servlet/ServletContext.java +++ b/java/jakarta/servlet/ServletContext.java @@ -116,7 +116,11 @@ public interface ServletContext { public int getMinorVersion(); /** - * @return TODO + * Obtain the major version of the servlet specification for which this web + * application is implemented. + * + * @return The major version declared in web.xml + * * @throws UnsupportedOperationException If called from a * {@link ServletContextListener#contextInitialized(ServletContextEvent)} * method of a {@link ServletContextListener} that was not defined in a @@ -125,7 +129,7 @@ public interface ServletContext { * {@link ServletContextListener} defined in a TLD would not be able to * use this method. * - * @since Servlet 3.0 TODO SERVLET3 - Add comments + * @since Servlet 3.0 */ public int getEffectiveMajorVersion(); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org