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:38:11 UTC
svn commit: r1784788 -
/tomcat/tc8.5.x/trunk/java/org/apache/catalina/servlet4preview/ServletContext.java
Author: markt
Date: Tue Feb 28 17:38:11 2017
New Revision: 1784788
URL: http://svn.apache.org/viewvc?rev=1784788&view=rev
Log:
Fix Javadoc
Modified:
tomcat/tc8.5.x/trunk/java/org/apache/catalina/servlet4preview/ServletContext.java
Modified: tomcat/tc8.5.x/trunk/java/org/apache/catalina/servlet4preview/ServletContext.java
URL: http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/java/org/apache/catalina/servlet4preview/ServletContext.java?rev=1784788&r1=1784787&r2=1784788&view=diff
==============================================================================
--- tomcat/tc8.5.x/trunk/java/org/apache/catalina/servlet4preview/ServletContext.java (original)
+++ tomcat/tc8.5.x/trunk/java/org/apache/catalina/servlet4preview/ServletContext.java Tue Feb 28 17:38:11 2017
@@ -32,6 +32,8 @@ public interface ServletContext extends
* {@link ServletContextListener} defined in a TLD would not be able to
* use this method.
*
+ * @return The current default session timeout in minutes
+ *
* @since Servlet 4.0
*/
public int getSessionTimeout();
@@ -40,7 +42,7 @@ public interface ServletContext extends
* 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