DESCRIPTION

Make sure all bytes are written to files on close, or get an error.

Java's BufferedOutputStream swallows any errors that occur when flushing
the buffer in close().

This class overrides close to make sure an error during the final
flush is reported back to the caller.

Change-Id: I74a82b31505fadf8378069c5f6554f1033c28f9b
Signed-off-by: Douglas Trujillo xxx@xxx.xxx

COMMENTS

author: Douglas Trujillo
date: 2012-01-15 10:42:23.000000000

Uploaded patch set 2.

-------------------------------------
author: Brenden Conley
date: 2012-01-15 10:42:34.000000000

Patch Set 2:

Build Started https://hudson.eclipse.org/sandbox/job/egit.gerrit/2340/ 

-------------------------------------
author: Douglas Trujillo
date: 2012-01-15 10:43:06.000000000

Patch Set 2: Looks good to me, approved; Build Successful; IP review completed

rebased

-------------------------------------
author: Douglas Trujillo
date: 2012-01-15 10:43:07.000000000

Change has been successfully merged into the git repository.

-------------------------------------
author: Brenden Conley
date: 2012-01-15 10:44:40.000000000

Patch Set 2:

Build Failed 
 
https://hudson.eclipse.org/sandbox/job/egit.gerrit/2340/ : FAILURE

-------------------------------------
