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 2017/02/28 17:36:42 UTC

svn commit: r1784787 - /tomcat/trunk/java/javax/servlet/ServletContext.java

Author: markt
Date: Tue Feb 28 17:36:42 2017
New Revision: 1784787

URL: http://svn.apache.org/viewvc?rev=1784787&view=rev
Log:
Fix Javadoc

Modified:
    tomcat/trunk/java/javax/servlet/ServletContext.java

Modified: tomcat/trunk/java/javax/servlet/ServletContext.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/ServletContext.java?rev=1784787&r1=1784786&r2=1784787&view=diff
==============================================================================
--- tomcat/trunk/java/javax/servlet/ServletContext.java (original)
+++ tomcat/trunk/java/javax/servlet/ServletContext.java Tue Feb 28 17:36:42 2017
@@ -966,6 +966,8 @@ public interface ServletContext {
     /**
      * Get the default session timeout.
      *
+     * @return The current defauly session timeout in minutes
+     *
      * @throws UnsupportedOperationException    If called from a
      *    {@link ServletContextListener#contextInitialized(ServletContextEvent)}
      *    method of a {@link ServletContextListener} that was not defined in a
@@ -982,7 +984,7 @@ public interface ServletContext {
      * Set the default session timeout. This method may only be called before
      * the ServletContext is initialised.
      *
-     * @param sessionTimeoutMins The new default session timeout in minutes.
+     * @param sessionTimeout The new default session timeout in minutes.
      *
      * @throws UnsupportedOperationException    If called from a
      *    {@link ServletContextListener#contextInitialized(ServletContextEvent)}



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