This is an automated email from the ASF dual-hosted git repository.

markt 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 db90e53  Fix comment TODO
db90e53 is described below

commit db90e53e3289f8ca19273f20f6ef85e7ca116bea
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/javax/servlet/ServletContext.java | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/java/javax/servlet/ServletContext.java 
b/java/javax/servlet/ServletContext.java
index 590dce1..4785810 100644
--- a/java/javax/servlet/ServletContext.java
+++ b/java/javax/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

Reply via email to