tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1239136 - /tomcat/trunk/java/org/apache/catalina/session/StandardSession.java
Date Wed, 01 Feb 2012 14:08:24 GMT
Author: markt
Date: Wed Feb  1 14:08:24 2012
New Revision: 1239136

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

Modified:
    tomcat/trunk/java/org/apache/catalina/session/StandardSession.java

Modified: tomcat/trunk/java/org/apache/catalina/session/StandardSession.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/session/StandardSession.java?rev=1239136&r1=1239135&r2=1239136&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/session/StandardSession.java (original)
+++ tomcat/trunk/java/org/apache/catalina/session/StandardSession.java Wed Feb  1 14:08:24
2012
@@ -52,7 +52,6 @@ import org.apache.catalina.Manager;
 import org.apache.catalina.Session;
 import org.apache.catalina.SessionEvent;
 import org.apache.catalina.SessionListener;
-import org.apache.catalina.core.StandardContext;
 import org.apache.catalina.realm.GenericPrincipal;
 import org.apache.catalina.security.SecurityUtil;
 import org.apache.tomcat.util.ExceptionUtils;
@@ -1686,32 +1685,6 @@ public class StandardSession implements 
 
     // ------------------------------------------------------ Protected Methods
 
-
-    /**
-     * Fire container events if the Context implementation is the
-     * <code>org.apache.catalina.core.StandardContext</code>.
-     *
-     * @param context Context for which to fire events
-     * @param type Event type
-     * @param data Event data
-     *
-     * @exception Exception occurred during event firing
-     *
-     * @deprecated  No longer necessary since {@link StandardContext} implements
-     *              the {@link org.apache.catalina.Container} interface.
-     *
-     */
-    @Deprecated
-    protected void fireContainerEvent(Context context,
-                                    String type, Object data)
-        throws Exception {
-
-        if (context instanceof StandardContext) {
-            ((StandardContext) context).fireContainerEvent(type, data);
-        }
-    }
-
-
     /**
      * Notify all session event listeners that a particular event has
      * occurred for this Session.  The default implementation performs



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


Mime
View raw message