vmassol     01/08/19 08:40:38

  Modified:    cactus/src/framework/servlet23/org/apache/commons/cactus/server
                        RequestDispatcherWrapper.java
  Log:
  align with coding conventions
  
  Revision  Changes    Path
  1.3       +13 -7     
jakarta-commons/cactus/src/framework/servlet23/org/apache/commons/cactus/server/RequestDispatcherWrapper.java
  
  Index: RequestDispatcherWrapper.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/cactus/src/framework/servlet23/org/apache/commons/cactus/server/RequestDispatcherWrapper.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- RequestDispatcherWrapper.java     2001/08/19 15:27:49     1.2
  +++ RequestDispatcherWrapper.java     2001/08/19 15:40:38     1.3
  @@ -65,7 +65,7 @@
    *
    * @author <a href="mailto:[EMAIL PROTECTED]";>Vincent Massol</a>
    *
  - * @version $Id: RequestDispatcherWrapper.java,v 1.2 2001/08/19 15:27:49 vmassol 
Exp $
  + * @version $Id: RequestDispatcherWrapper.java,v 1.3 2001/08/19 15:40:38 vmassol 
Exp $
    */
   public class RequestDispatcherWrapper implements RequestDispatcher
   {
  @@ -90,10 +90,13 @@
        * @param theRequest the simulation HTTP request
        * @param theResponse the original HTTP response
        */
  -    public void forward(ServletRequest theRequest, ServletResponse theResponse) 
throws IOException, ServletException
  +    public void forward(ServletRequest theRequest, ServletResponse theResponse)
  +        throws IOException, ServletException
       {
  -        HttpServletRequestWrapper request = (HttpServletRequestWrapper)theRequest;
  -        this.originalDispatcher.forward(request.getOriginalRequest(), theResponse);
  +        HttpServletRequestWrapper request =
  +            (HttpServletRequestWrapper)theRequest;
  +        this.originalDispatcher.forward(request.getOriginalRequest(),
  +            theResponse);
       }
   
       /**
  @@ -104,10 +107,13 @@
        * @param theRequest the simulation HTTP request
        * @param theResponse the original HTTP response
        */
  -    public void include(ServletRequest theRequest, ServletResponse theResponse) 
throws IOException, ServletException
  +    public void include(ServletRequest theRequest, ServletResponse theResponse)
  +        throws IOException, ServletException
       {
  -        HttpServletRequestWrapper request = (HttpServletRequestWrapper)theRequest;
  -        this.originalDispatcher.include(request.getOriginalRequest(), theResponse);
  +        HttpServletRequestWrapper request =
  +            (HttpServletRequestWrapper)theRequest;
  +        this.originalDispatcher.include(request.getOriginalRequest(),
  +            theResponse);
       }
   
   }
  
  
  

Reply via email to