Java Mailing List Archive

http://www.junlu.com/

Home » dev.tomcat »

svn commit: r980404 - in /tomcat/trunk/java/org/apache/catalina:
Manager.java session/ManagerBase.java

Mark Thomas

2010-07-29


Author LoginPost Reply
Author: markt
Date: Thu Jul 29 11:16:29 2010
New Revision: 980404

URL: http://svn.apache.org/viewvc?rev=980404&view=rev
Log:
Remove deprecated method

Modified:
  tomcat/trunk/java/org/apache/catalina/Manager.java
  tomcat/trunk/java/org/apache/catalina/session/ManagerBase.java

Modified: tomcat/trunk/java/org/apache/catalina/Manager.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/Manager.java?rev=980404&r1=980403&r2=980404&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/Manager.java (original)
+++ tomcat/trunk/java/org/apache/catalina/Manager.java Thu Jul 29 11:16:29 2010
@@(protected) {
  /**
   * Construct and return a new session object, based on the default
   * settings specified by this Manager's properties. The session
-   * id will be assigned by this method, and available via the getId()
-   * method of the returned session. If a new session cannot be created
-   * for any reason, return <code>null</code>.
-   *
-   * @exception IllegalStateException if a new session cannot be
-   * instantiated for any reason
-   * @deprecated
-   */
-   @Deprecated
-   public Session createSession();
-
-
-   /**
-   * Construct and return a new session object, based on the default
-   * settings specified by this Manager's properties. The session
   * id specified will be used as the session id.
   * If a new session cannot be created for any reason, return
   * <code>null</code>.

Modified: tomcat/trunk/java/org/apache/catalina/session/ManagerBase.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/session/ManagerBase.java?rev=980404&r1=980403&r2=980404&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/session/ManagerBase.java (original)
+++ tomcat/trunk/java/org/apache/catalina/session/ManagerBase.java Thu Jul 29 11:16:29 2010
@@(protected)
  /**
   * Construct and return a new session object, based on the default
   * settings specified by this Manager's properties. The session
-   * id will be assigned by this method, and available via the getId()
-   * method of the returned session. If a new session cannot be created
-   * for any reason, return <code>null</code>.
-   *
-   * @exception IllegalStateException if a new session cannot be
-   * instantiated for any reason
-   * @deprecated
-   */
-   @Deprecated
-   public Session createSession() {
-     return createSession(null);
-   }
-  
-  
-   /**
-   * Construct and return a new session object, based on the default
-   * settings specified by this Manager's properties. The session
   * id specified will be used as the session id.
   * If a new session cannot be created for any reason, return
   * <code>null</code>.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@(protected)
For additional commands, e-mail: dev-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.