tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core ApplicationContext.java
Date Mon, 29 Aug 2005 10:38:48 GMT
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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message