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 e61a39c Fix comment TODO e61a39c is described below commit e61a39c9daaa9b29dd628c0888cc35fea2ad3c7f 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 c4ff7db..d3c4032 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