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 98361af Complete some Javadoc
98361af is described below
commit 98361af1aa07e839ffb041ffcf4fa3235b91e132
Author: Mark Thomas <[email protected]>
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 d3c4032..457785d 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: [email protected]
For additional commands, e-mail: [email protected]