mahout
mahout copied to clipboard
[NO-JIRA] Fix resource leak and other potential bugs
Purpose of PR:
This fixes a number of bugs found by the Muse static analysis platform, which I work on. In particular, this pull request removes a resource leak. This is not a new feature and does not have an associated Jira issue or associated unit tests.
The complete results of the analysis can be found on the Muse console. I recommend enabling the Muse platform on the repository so that new bugs are caught at the pull request stage (see an example) before they are merged. Muse is free forever for open source software.