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:30:00 UTC

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

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

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

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