{"action":"closed","number":247,"pull_request":{"url":"https://api.github.com/repos/apache/tika/pulls/247","id":210442210,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwNDQyMjEw","html_url":"https://github.com/apache/tika/pull/247","diff_url":"https://github.com/apache/tika/pull/247.diff","patch_url":"https://github.com/apache/tika/pull/247.patch","issue_url":"https://api.github.com/repos/apache/tika/issues/247","number":247,"state":"closed","locked":false,"title":"Use try-with-resources","user":{"login":"diffblue-assistant","id":42613982,"node_id":"MDQ6VXNlcjQyNjEzOTgy","avatar_url":"https://avatars3.githubusercontent.com/u/42613982?v=4","gravatar_id":"","url":"https://api.github.com/users/diffblue-assistant","html_url":"https://github.com/diffblue-assistant","followers_url":"https://api.github.com/users/diffblue-assistant/followers","following_url":"https://api.github.com/users/diffblue-assistant/following{/other_user}","gists_url":"https://api.github.com/users/diffblue-assistant/gists{/gist_id}","starred_url":"https://api.github.com/users/diffblue-assistant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diffblue-assistant/subscriptions","organizations_url":"https://api.github.com/users/diffblue-assistant/orgs","repos_url":"https://api.github.com/users/diffblue-assistant/repos","events_url":"https://api.github.com/users/diffblue-assistant/events{/privacy}","received_events_url":"https://api.github.com/users/diffblue-assistant/received_events","type":"User","site_admin":false},"body":"This pull request was created automatically as part of our ongoing efforts\r\nat https://diffblue.com to implement refactorings. Feel free to leave feedback\r\nhere or contact us directly for any enquiries.\r\n\r\nThe developer in charge is @krobelus.\r\n\r\n**Changes**:\r\n\r\n- Replace try statements that close a resource in the finally block with a\r\ntry-with-resources statement [1].\r\n\r\n[1] https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html\r\n","created_at":"2018-08-23T13:08:57Z","updated_at":"2018-11-02T15:00:19Z","closed_at":"2018-11-02T15:00:19Z","merged_at":"2018-11-02T15:00:19Z","merge_commit_sha":"c723878ff15fc3b75f1a57fd1a91cf1d9f2577d3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/tika/pulls/247/commits","review_comments_url":"https://api.github.com/repos/apache/tika/pulls/247/comments","review_comment_url":"https://api.github.com/repos/apache/tika/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/tika/issues/247/comments","statuses_url":"https://api.github.com/repos/apache/tika/statuses/69555a98e56f4fef62abb91bee48bad27c58a6ce","head":{"label":"diffblue-assistant:finallyclosetotrywithresources","ref":"finallyclosetotrywithresources","sha":"69555a98e56f4fef62abb91bee48bad27c58a6ce","user":{"login":"diffblue-assistant","id":42613982,"node_id":"MDQ6VXNlcjQyNjEzOTgy","avatar_url":"https://avatars3.githubusercontent.com/u/42613982?v=4","gravatar_id":"","url":"https://api.github.com/users/diffblue-assistant","html_url":"https://github.com/diffblue-assistant","followers_url":"https://api.github.com/users/diffblue-assistant/followers","following_url":"https://api.github.com/users/diffblue-assistant/following{/other_user}","gists_url":"https://api.github.com/users/diffblue-assistant/gists{/gist_id}","starred_url":"https://api.github.com/users/diffblue-assistant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diffblue-assistant/subscriptions","organizations_url":"https://api.github.com/users/diffblue-assistant/orgs","repos_url":"https://api.github.com/users/diffblue-assistant/repos","events_url":"https://api.github.com/users/diffblue-assistant/events{/privacy}","received_events_url":"https://api.github.com/users/diffblue-assistant/received_events","type":"User","site_admin":false},"repo":{"id":145837167,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU4MzcxNjc=","name":"tika","full_name":"diffblue-assistant/tika","private":false,"owner":{"login":"diffblue-assistant","id":42613982,"node_id":"MDQ6VXNlcjQyNjEzOTgy","avatar_url":"https://avatars3.githubusercontent.com/u/42613982?v=4","gravatar_id":"","url":"https://api.github.com/users/diffblue-assistant","html_url":"https://github.com/diffblue-assistant","followers_url":"https://api.github.com/users/diffblue-assistant/followers","following_url":"https://api.github.com/users/diffblue-assistant/following{/other_user}","gists_url":"https://api.github.com/users/diffblue-assistant/gists{/gist_id}","starred_url":"https://api.github.com/users/diffblue-assistant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diffblue-assistant/subscriptions","organizations_url":"https://api.github.com/users/diffblue-assistant/orgs","repos_url":"https://api.github.com/users/diffblue-assistant/repos","events_url":"https://api.github.com/users/diffblue-assistant/events{/privacy}","received_events_url":"https://api.github.com/users/diffblue-assistant/received_events","type":"User","site_admin":false},"html_url":"https://github.com/diffblue-assistant/tika","description":"Mirror of Apache Tika","fork":true,"url":"https://api.github.com/repos/diffblue-assistant/tika","forks_url":"https://api.github.com/repos/diffblue-assistant/tika/forks","keys_url":"https://api.github.com/repos/diffblue-assistant/tika/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diffblue-assistant/tika/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diffblue-assistant/tika/teams","hooks_url":"https://api.github.com/repos/diffblue-assistant/tika/hooks","issue_events_url":"https://api.github.com/repos/diffblue-assistant/tika/issues/events{/number}","events_url":"https://api.github.com/repos/diffblue-assistant/tika/events","assignees_url":"https://api.github.com/repos/diffblue-assistant/tika/assignees{/user}","branches_url":"https://api.github.com/repos/diffblue-assistant/tika/branches{/branch}","tags_url":"https://api.github.com/repos/diffblue-assistant/tika/tags","blobs_url":"https://api.github.com/repos/diffblue-assistant/tika/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diffblue-assistant/tika/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diffblue-assistant/tika/git/refs{/sha}","trees_url":"https://api.github.com/repos/diffblue-assistant/tika/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diffblue-assistant/tika/statuses/{sha}","languages_url":"https://api.github.com/repos/diffblue-assistant/tika/languages","stargazers_url":"https://api.github.com/repos/diffblue-assistant/tika/stargazers","contributors_url":"https://api.github.com/repos/diffblue-assistant/tika/contributors","subscribers_url":"https://api.github.com/repos/diffblue-assistant/tika/subscribers","subscription_url":"https://api.github.com/repos/diffblue-assistant/tika/subscription","commits_url":"https://api.github.com/repos/diffblue-assistant/tika/commits{/sha}","git_commits_url":"https://api.github.com/repos/diffblue-assistant/tika/git/commits{/sha}","comments_url":"https://api.github.com/repos/diffblue-assistant/tika/comments{/number}","issue_comment_url":"https://api.github.com/repos/diffblue-assistant/tika/issues/comments{/number}","contents_url":"https://api.github.com/repos/diffblue-assistant/tika/contents/{+path}","compare_url":"https://api.github.com/repos/diffblue-assistant/tika/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diffblue-assistant/tika/merges","archive_url":"https://api.github.com/repos/diffblue-assistant/tika/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diffblue-assistant/tika/downloads","issues_url":"https://api.github.com/repos/diffblue-assistant/tika/issues{/number}","pulls_url":"https://api.github.com/repos/diffblue-assistant/tika/pulls{/number}","milestones_url":"https://api.github.com/repos/diffblue-assistant/tika/milestones{/number}","notifications_url":"https://api.github.com/repos/diffblue-assistant/tika/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diffblue-assistant/tika/labels{/name}","releases_url":"https://api.github.com/repos/diffblue-assistant/tika/releases{/id}","deployments_url":"https://api.github.com/repos/diffblue-assistant/tika/deployments","created_at":"2018-08-23T10:16:56Z","updated_at":"2018-08-23T10:17:04Z","pushed_at":"2018-08-23T12:44:42Z","git_url":"git://github.com/diffblue-assistant/tika.git","ssh_url":"git@github.com:diffblue-assistant/tika.git","clone_url":"https://github.com/diffblue-assistant/tika.git","svn_url":"https://github.com/diffblue-assistant/tika","homepage":null,"size":121278,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"711112cc78f0f270dbc66c619d9387ab260aee25","user":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":206427,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY0Mjc=","name":"tika","full_name":"apache/tika","private":false,"owner":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/apache/tika","description":"Mirror of Apache Tika","fork":false,"url":"https://api.github.com/repos/apache/tika","forks_url":"https://api.github.com/repos/apache/tika/forks","keys_url":"https://api.github.com/repos/apache/tika/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/tika/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/tika/teams","hooks_url":"https://api.github.com/repos/apache/tika/hooks","issue_events_url":"https://api.github.com/repos/apache/tika/issues/events{/number}","events_url":"https://api.github.com/repos/apache/tika/events","assignees_url":"https://api.github.com/repos/apache/tika/assignees{/user}","branches_url":"https://api.github.com/repos/apache/tika/branches{/branch}","tags_url":"https://api.github.com/repos/apache/tika/tags","blobs_url":"https://api.github.com/repos/apache/tika/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/tika/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/tika/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/tika/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/tika/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/tika/languages","stargazers_url":"https://api.github.com/repos/apache/tika/stargazers","contributors_url":"https://api.github.com/repos/apache/tika/contributors","subscribers_url":"https://api.github.com/repos/apache/tika/subscribers","subscription_url":"https://api.github.com/repos/apache/tika/subscription","commits_url":"https://api.github.com/repos/apache/tika/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/tika/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/tika/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/tika/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/tika/contents/{+path}","compare_url":"https://api.github.com/repos/apache/tika/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/tika/merges","archive_url":"https://api.github.com/repos/apache/tika/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/tika/downloads","issues_url":"https://api.github.com/repos/apache/tika/issues{/number}","pulls_url":"https://api.github.com/repos/apache/tika/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/tika/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/tika/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/tika/labels{/name}","releases_url":"https://api.github.com/repos/apache/tika/releases{/id}","deployments_url":"https://api.github.com/repos/apache/tika/deployments","created_at":"2009-05-21T02:12:11Z","updated_at":"2018-11-01T12:08:50Z","pushed_at":"2018-11-02T15:00:19Z","git_url":"git://github.com/apache/tika.git","ssh_url":"git@github.com:apache/tika.git","clone_url":"https://github.com/apache/tika.git","svn_url":"https://github.com/apache/tika","homepage":null,"size":121938,"stargazers_count":712,"watchers_count":712,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":407,"mirror_url":null,"archived":false,"open_issues_count":26,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":407,"open_issues":26,"watchers":712,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/tika/pulls/247"},"html":{"href":"https://github.com/apache/tika/pull/247"},"issue":{"href":"https://api.github.com/repos/apache/tika/issues/247"},"comments":{"href":"https://api.github.com/repos/apache/tika/issues/247/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/tika/pulls/247/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/tika/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/tika/pulls/247/commits"},"statuses":{"href":"https://api.github.com/repos/apache/tika/statuses/69555a98e56f4fef62abb91bee48bad27c58a6ce"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"lewismc","id":1165719,"node_id":"MDQ6VXNlcjExNjU3MTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1165719?v=4","gravatar_id":"","url":"https://api.github.com/users/lewismc","html_url":"https://github.com/lewismc","followers_url":"https://api.github.com/users/lewismc/followers","following_url":"https://api.github.com/users/lewismc/following{/other_user}","gists_url":"https://api.github.com/users/lewismc/gists{/gist_id}","starred_url":"https://api.github.com/users/lewismc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lewismc/subscriptions","organizations_url":"https://api.github.com/users/lewismc/orgs","repos_url":"https://api.github.com/users/lewismc/repos","events_url":"https://api.github.com/users/lewismc/events{/privacy}","received_events_url":"https://api.github.com/users/lewismc/received_events","type":"User","site_admin":false},"comments":6,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":18,"deletions":80,"changed_files":7}}
{"actor":{"display_login":"lewismc"}}