Hi
> Compile, run, and view the output from this program.
> I think you'll see the difference :o)
Sorry, but did you actually read the code it posted?
I KNOW that there CAN be a difference in semantics.
YOUR code has different semantics.
BUT in the code I POSTED there is NONE !
So, please read
Hi
> The rewritten while{} patch you suggested definitely changed behavior
significantly, as I and others pointed out ;)
Ähm, no.
Sorry to say that, but I think, you didn't review the code for that
statement:
One example taken from DefaultServlet.java, lines 2030 to 2054:
IOException e
Hi
> That's definitely why I am not interested by code cleanups done by folks
who might not know all the small tricks: the risk of breaking stuff is far
greater than the gain.
Why are you soo hostile?
I am just trying to get into the code and if I understand it, I will
propably start to contribu
Hi
I am reviewing the source code of the DefaultServlet.
I do not understand the following:
// slightly modified from source of "serveResource".
ServletOutputStream ostream = null;
PrintWriter writer = null;
try {
ostream = response.getOutputStream();
} catch (Ille