You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2021/11/05 20:29:55 UTC

[tomcat] branch 10.0.x updated: Complete some Javadoc

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 bdb5dd6  Complete some Javadoc
bdb5dd6 is described below

commit bdb5dd679d58c4ae4e142ea969f95f7b4b706bc7
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Nov 5 20:29:28 2021 +0000

    Complete some Javadoc
    
    Needed to be done but primarily committed to trigger CI builds
---
 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 8752af2..a991e05 100644
--- a/java/jakarta/servlet/ServletContext.java
+++ b/java/jakarta/servlet/ServletContext.java
@@ -134,7 +134,11 @@ public interface ServletContext {
     public int getEffectiveMajorVersion();
 
     /**
-     * @return TODO
+     * Obtain the minor version of the servlet specification for which this web
+     * application is implemented.
+     *
+     * @return The minor 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
@@ -142,7 +146,8 @@ 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 TODO SERVLET3 - Add comments
+     *
+     * @since Servlet 3.0
      */
     public int getEffectiveMinorVersion();
 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org