----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, July 25, 2004 5:41 AM Subject: org.apache.catalina.core.StandardWrapper.java : allocate() : Redundant check on singleThreadModel variable
> > > > > File Name : org.apache.catalina.core.StandardWrapper.java > CVS Revision : 1.44 > Function Name : public Servlet allocate() throws ServletException > Line No's : 677 - 705 > > Explanation: > > The allocate() function checks on singleThreadModel varibale within the > scope of if(!singleThreadModel), which is not needed. > The snippet is attached herewith. The nested "if(!singleThreadModel)" is > redundant as it lies in the scope if external if > and shall get executed only when the Servlet is not STM. > Except that loadServlet() may change the value of 'singleThreadModel', hence the need for the second check. >
This message is intended only for the use of the person(s) listed above as the intended recipient(s), and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not an intended recipient, you may not read, copy, or distribute this message or any attachment. If you received this communication in error, please notify us immediately by e-mail and then delete all copies of this message and any attachments. In addition you should be aware that ordinary (unencrypted) e-mail sent through the Internet is not secure. Do not send confidential or sensitive information, such as social security numbers, account numbers, personal identification numbers and passwords, to us via ordinary (unencrypted) e-mail.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]