Re: [PATCH][4.0] remove spurious casts in ApplicationFilterChain

2001-12-30 Thread Daniel Rall
+1, old code was redundant. Java should find the right method to call based on object--not reference--type. "Christopher K. St. John" <[EMAIL PROTECTED]> writes: > The "fall off the end of the chain" code in > ApplicationFilterChain.internalDoFilter checks if the > passed in request and respon

[PATCH][4.0] remove spurious casts in ApplicationFilterChain

2001-12-28 Thread Christopher K. St. John
The "fall off the end of the chain" code in ApplicationFilterChain.internalDoFilter checks if the passed in request and response are HttpServletRequest/ Response objects. Based on the test, it casts the objects and invokes servlet.service(). However, since the servlet member has a static type o