remm 2005/08/29 03:38:39 Modified: catalina/src/share/org/apache/catalina/core ApplicationContext.java Log: - Simplify code: no change. Revision Changes Path 1.29 +3 -7 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/ApplicationContext.java Index: ApplicationContext.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/ApplicationContext.java,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- ApplicationContext.java 3 May 2005 17:24:10 -0000 1.28 +++ ApplicationContext.java 29 Aug 2005 10:38:38 -0000 1.29 @@ -335,11 +335,7 @@ if (wrapper == null) return (null); - ApplicationDispatcher dispatcher; - dispatcher = - new ApplicationDispatcher(wrapper, null, null, null, null, name); - - return ((RequestDispatcher) dispatcher); + return new ApplicationDispatcher(wrapper, null, null, null, null, name); } @@ -450,7 +446,7 @@ mappingData.recycle(); // Construct a RequestDispatcher to process this request - return (RequestDispatcher) new ApplicationDispatcher + return new ApplicationDispatcher (wrapper, uriCC.toString(), wrapperPath, pathInfo, queryString, null);
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]