EditLogFileInputStream: be more careful about closing streams when we're done with them.

Details

Type: Bug

Status:Resolved

Priority: Minor

Resolution:
Won't Fix

Affects Version/s:
None

Fix Version/s:
None

Component/s:
None

Labels:

None

Description

EditLogFileInputStream#EditLogFileInputStream should be more careful about closing streams when there is an exception thrown. Also, EditLogFileInputStream#close should close all of the streams we opened in the constructor, not just one of them (although the file-backed one is probably the most important).