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 10:46:45 UTC
[tomcat] branch 8.5.x updated: Fix comment TODO
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 3ec8a47 Fix comment TODO
3ec8a47 is described below
commit 3ec8a479a0956fc9f528e13699185cdc50d10d66
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 a86a428..811ea7d 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org