geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ke...@apache.org
Subject svn commit: r983172 - /geronimo/server/branches/2.2/plugins/tomcat/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/interceptor/InstanceContextBeforeAfter.java
Date Sat, 07 Aug 2010 04:17:59 GMT
Author: kevan
Date: Sat Aug  7 04:17:58 2010
New Revision: 983172

URL: http://svn.apache.org/viewvc?rev=983172&view=rev
Log:
GERONIMO-5189 fix another ClassCastException

Modified:
    geronimo/server/branches/2.2/plugins/tomcat/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/interceptor/InstanceContextBeforeAfter.java

Modified: geronimo/server/branches/2.2/plugins/tomcat/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/interceptor/InstanceContextBeforeAfter.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.2/plugins/tomcat/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/interceptor/InstanceContextBeforeAfter.java?rev=983172&r1=983171&r2=983172&view=diff
==============================================================================
--- geronimo/server/branches/2.2/plugins/tomcat/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/interceptor/InstanceContextBeforeAfter.java
(original)
+++ geronimo/server/branches/2.2/plugins/tomcat/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/interceptor/InstanceContextBeforeAfter.java
Sat Aug  7 04:17:58 2010
@@ -66,7 +66,7 @@ public class InstanceContextBeforeAfter 
             next.after(context, httpRequest, httpResponse, dispatch);
         }
         try {
-            SharedConnectorInstanceContext oldConnectorInstanceContext = (SharedConnectorInstanceContext)
context[oldIndex];
+            ConnectorInstanceContext oldConnectorInstanceContext = context[oldIndex];
             SharedConnectorInstanceContext newConnectorInstanceContext = (SharedConnectorInstanceContext)
context[newIndex];
             if (oldConnectorInstanceContext != null) {
                 newConnectorInstanceContext.hide();



Mime
View raw message