On 2010-02-01, N C <[email protected]> wrote:

> --- On Mon, 2/1/10, Stefan Bodewig <[email protected]> wrote:

>> I'll revisit the remaining classes I have changed to ensure
>> they close the writers now if they didn't do so before.

> If you haven't, you might want to take a look at
> PlainJUnitResultFormatter.  It isn't clear to me that the
> BufferedWriter "wri" is properly flushed under exceptional conditions,
> but I don't know the code well enough.

This was one of several places where I changed the code in the error
case.  Here like in other places the stream wouldn't get flushed if an
exception occured while writing - but the flush will most likely not
succeed in this case anyway, so the change won't have much of an impact.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to