This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push:
new 7f975d8 Complete some Javadoc
7f975d8 is described below
commit 7f975d8242351726317685a9c8adb0578a76270c
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/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 811ea7d..2aea8ea 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: [email protected]
For additional commands, e-mail: [email protected]