Close 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. Review URL: https://codereview.chromium.org/405403002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284735 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment