DescriptionClose FileOutputStream in finally block in WebAppAuthenticator class method.
FileOutStream should be closed in finally block in writeKeyToFile() method,
as closing in try{} will not close and release system resources when an
exeption is thrown.
Also, catch relavant exception instead of catching generic exception.
BUG=None.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284735
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|