{"action":"closed","issue":{"url":"https://api.github.com/repos/arquivo/pwa-technologies/issues/55","repository_url":"https://api.github.com/repos/arquivo/pwa-technologies","labels_url":"https://api.github.com/repos/arquivo/pwa-technologies/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/arquivo/pwa-technologies/issues/55/comments","events_url":"https://api.github.com/repos/arquivo/pwa-technologies/issues/55/events","html_url":"https://github.com/arquivo/pwa-technologies/issues/55","id":91291058,"number":55,"title":"Bad practice - Method may fail to close stream","user":{"login":"arquivo","id":11682700,"avatar_url":"https://avatars.githubusercontent.com/u/11682700?v=3","gravatar_id":"","url":"https://api.github.com/users/arquivo","html_url":"https://github.com/arquivo","followers_url":"https://api.github.com/users/arquivo/followers","following_url":"https://api.github.com/users/arquivo/following{/other_user}","gists_url":"https://api.github.com/users/arquivo/gists{/gist_id}","starred_url":"https://api.github.com/users/arquivo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arquivo/subscriptions","organizations_url":"https://api.github.com/users/arquivo/orgs","repos_url":"https://api.github.com/users/arquivo/repos","events_url":"https://api.github.com/users/arquivo/events{/privacy}","received_events_url":"https://api.github.com/users/arquivo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/arquivo/pwa-technologies/labels/Component-Hadoop","name":"Component-Hadoop","color":"ededed"},{"url":"https://api.github.com/repos/arquivo/pwa-technologies/labels/Component-Query%20suggestions","name":"Component-Query suggestions","color":"ededed"},{"url":"https://api.github.com/repos/arquivo/pwa-technologies/labels/Component-Wayback","name":"Component-Wayback","color":"ededed"},{"url":"https://api.github.com/repos/arquivo/pwa-technologies/labels/Impact-Medium","name":"Impact-Medium","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"FCCNhviana","id":13100916,"avatar_url":"https://avatars.githubusercontent.com/u/13100916?v=3","gravatar_id":"","url":"https://api.github.com/users/FCCNhviana","html_url":"https://github.com/FCCNhviana","followers_url":"https://api.github.com/users/FCCNhviana/followers","following_url":"https://api.github.com/users/FCCNhviana/following{/other_user}","gists_url":"https://api.github.com/users/FCCNhviana/gists{/gist_id}","starred_url":"https://api.github.com/users/FCCNhviana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FCCNhviana/subscriptions","organizations_url":"https://api.github.com/users/FCCNhviana/orgs","repos_url":"https://api.github.com/users/FCCNhviana/repos","events_url":"https://api.github.com/users/FCCNhviana/events{/privacy}","received_events_url":"https://api.github.com/users/FCCNhviana/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/arquivo/pwa-technologies/milestones/2","html_url":"https://github.com/arquivo/pwa-technologies/milestones/Janus","labels_url":"https://api.github.com/repos/arquivo/pwa-technologies/milestones/2/labels","id":1432632,"number":2,"title":"Janus","description":"Main objectives:\r\n- Integrate PyWB \r\n- Support Memento protocol\r\n- Implement new Replay interface","creator":{"login":"dcgomes","id":13120352,"avatar_url":"https://avatars.githubusercontent.com/u/13120352?v=3","gravatar_id":"","url":"https://api.github.com/users/dcgomes","html_url":"https://github.com/dcgomes","followers_url":"https://api.github.com/users/dcgomes/followers","following_url":"https://api.github.com/users/dcgomes/following{/other_user}","gists_url":"https://api.github.com/users/dcgomes/gists{/gist_id}","starred_url":"https://api.github.com/users/dcgomes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcgomes/subscriptions","organizations_url":"https://api.github.com/users/dcgomes/orgs","repos_url":"https://api.github.com/users/dcgomes/repos","events_url":"https://api.github.com/users/dcgomes/events{/privacy}","received_events_url":"https://api.github.com/users/dcgomes/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":34,"state":"open","created_at":"2015-11-27T15:52:32Z","updated_at":"2016-05-02T10:30:49Z","due_on":"2016-04-29T23:00:00Z","closed_at":null},"comments":2,"created_at":"2015-06-26T16:21:09Z","updated_at":"2016-05-02T10:30:49Z","closed_at":"2016-05-02T10:30:48Z","body":"Originally reported on Google Code with ID 56\n```\nAs reported by findbugs:\r\n\"The method creates an IO stream object, does not assign it to any fields, pass it\nto other methods that might close it, or return it, and does not appear to close the\nstream on all paths out of the method.  This may result in a file descriptor leak.\n It is generally a good idea to use a finally block to ensure that streams are closed.\"\r\n\r\nClasses with the reported issue:\r\n* org.archive.mapred.ArchiveTaskLog\r\n* org.archive.wayback.resourceindex.indexer.hadoop.AlphaPartitioner\r\n* org.archive.wayback.resourceindex.indexer.RemoteSubmitFilter\r\n* pt.arquivo.spellchecker.SpellChecker\r\n* pt.arquivo.spellchecker.tests.TestSpellChecker\r\n\n```\n\nReported by `devel.david@vcruz.net` on 2012-09-25 10:49:51\n"}}