{"action":"closed","number":800,"pull_request":{"url":"https://api.github.com/repos/wocommunity/wonder/pulls/800","id":84832658,"html_url":"https://github.com/wocommunity/wonder/pull/800","diff_url":"https://github.com/wocommunity/wonder/pull/800.diff","patch_url":"https://github.com/wocommunity/wonder/pull/800.patch","issue_url":"https://api.github.com/repos/wocommunity/wonder/issues/800","number":800,"state":"closed","locked":false,"title":"Code cleanup","user":{"login":"darkv","id":582546,"avatar_url":"https://avatars.githubusercontent.com/u/582546?v=3","gravatar_id":"","url":"https://api.github.com/users/darkv","html_url":"https://github.com/darkv","followers_url":"https://api.github.com/users/darkv/followers","following_url":"https://api.github.com/users/darkv/following{/other_user}","gists_url":"https://api.github.com/users/darkv/gists{/gist_id}","starred_url":"https://api.github.com/users/darkv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkv/subscriptions","organizations_url":"https://api.github.com/users/darkv/orgs","repos_url":"https://api.github.com/users/darkv/repos","events_url":"https://api.github.com/users/darkv/events{/privacy}","received_events_url":"https://api.github.com/users/darkv/received_events","type":"User","site_admin":false},"body":"This brings some clean up. The try-with-resource will guarantee that resources are correctly freed.","created_at":"2016-09-12T08:31:30Z","updated_at":"2016-09-14T10:10:28Z","closed_at":"2016-09-14T10:10:28Z","merged_at":"2016-09-14T10:10:28Z","merge_commit_sha":"e1fedcb53d8549bc5857940c90623313eb7cb9be","assignee":{"login":"paulhoadley","id":891519,"avatar_url":"https://avatars.githubusercontent.com/u/891519?v=3","gravatar_id":"","url":"https://api.github.com/users/paulhoadley","html_url":"https://github.com/paulhoadley","followers_url":"https://api.github.com/users/paulhoadley/followers","following_url":"https://api.github.com/users/paulhoadley/following{/other_user}","gists_url":"https://api.github.com/users/paulhoadley/gists{/gist_id}","starred_url":"https://api.github.com/users/paulhoadley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulhoadley/subscriptions","organizations_url":"https://api.github.com/users/paulhoadley/orgs","repos_url":"https://api.github.com/users/paulhoadley/repos","events_url":"https://api.github.com/users/paulhoadley/events{/privacy}","received_events_url":"https://api.github.com/users/paulhoadley/received_events","type":"User","site_admin":false},"assignees":[{"login":"paulhoadley","id":891519,"avatar_url":"https://avatars.githubusercontent.com/u/891519?v=3","gravatar_id":"","url":"https://api.github.com/users/paulhoadley","html_url":"https://github.com/paulhoadley","followers_url":"https://api.github.com/users/paulhoadley/followers","following_url":"https://api.github.com/users/paulhoadley/following{/other_user}","gists_url":"https://api.github.com/users/paulhoadley/gists{/gist_id}","starred_url":"https://api.github.com/users/paulhoadley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulhoadley/subscriptions","organizations_url":"https://api.github.com/users/paulhoadley/orgs","repos_url":"https://api.github.com/users/paulhoadley/repos","events_url":"https://api.github.com/users/paulhoadley/events{/privacy}","received_events_url":"https://api.github.com/users/paulhoadley/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/wocommunity/wonder/pulls/800/commits","review_comments_url":"https://api.github.com/repos/wocommunity/wonder/pulls/800/comments","review_comment_url":"https://api.github.com/repos/wocommunity/wonder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wocommunity/wonder/issues/800/comments","statuses_url":"https://api.github.com/repos/wocommunity/wonder/statuses/c583c33abed8847a294fe4d9a2c00a99f057c759","head":{"label":"darkv:clean_patch","ref":"clean_patch","sha":"c583c33abed8847a294fe4d9a2c00a99f057c759","user":{"login":"darkv","id":582546,"avatar_url":"https://avatars.githubusercontent.com/u/582546?v=3","gravatar_id":"","url":"https://api.github.com/users/darkv","html_url":"https://github.com/darkv","followers_url":"https://api.github.com/users/darkv/followers","following_url":"https://api.github.com/users/darkv/following{/other_user}","gists_url":"https://api.github.com/users/darkv/gists{/gist_id}","starred_url":"https://api.github.com/users/darkv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkv/subscriptions","organizations_url":"https://api.github.com/users/darkv/orgs","repos_url":"https://api.github.com/users/darkv/repos","events_url":"https://api.github.com/users/darkv/events{/privacy}","received_events_url":"https://api.github.com/users/darkv/received_events","type":"User","site_admin":false},"repo":{"id":1643056,"name":"wonder","full_name":"darkv/wonder","owner":{"login":"darkv","id":582546,"avatar_url":"https://avatars.githubusercontent.com/u/582546?v=3","gravatar_id":"","url":"https://api.github.com/users/darkv","html_url":"https://github.com/darkv","followers_url":"https://api.github.com/users/darkv/followers","following_url":"https://api.github.com/users/darkv/following{/other_user}","gists_url":"https://api.github.com/users/darkv/gists{/gist_id}","starred_url":"https://api.github.com/users/darkv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkv/subscriptions","organizations_url":"https://api.github.com/users/darkv/orgs","repos_url":"https://api.github.com/users/darkv/repos","events_url":"https://api.github.com/users/darkv/events{/privacy}","received_events_url":"https://api.github.com/users/darkv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/darkv/wonder","description":"Project Wonder","fork":true,"url":"https://api.github.com/repos/darkv/wonder","forks_url":"https://api.github.com/repos/darkv/wonder/forks","keys_url":"https://api.github.com/repos/darkv/wonder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/darkv/wonder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/darkv/wonder/teams","hooks_url":"https://api.github.com/repos/darkv/wonder/hooks","issue_events_url":"https://api.github.com/repos/darkv/wonder/issues/events{/number}","events_url":"https://api.github.com/repos/darkv/wonder/events","assignees_url":"https://api.github.com/repos/darkv/wonder/assignees{/user}","branches_url":"https://api.github.com/repos/darkv/wonder/branches{/branch}","tags_url":"https://api.github.com/repos/darkv/wonder/tags","blobs_url":"https://api.github.com/repos/darkv/wonder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/darkv/wonder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/darkv/wonder/git/refs{/sha}","trees_url":"https://api.github.com/repos/darkv/wonder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/darkv/wonder/statuses/{sha}","languages_url":"https://api.github.com/repos/darkv/wonder/languages","stargazers_url":"https://api.github.com/repos/darkv/wonder/stargazers","contributors_url":"https://api.github.com/repos/darkv/wonder/contributors","subscribers_url":"https://api.github.com/repos/darkv/wonder/subscribers","subscription_url":"https://api.github.com/repos/darkv/wonder/subscription","commits_url":"https://api.github.com/repos/darkv/wonder/commits{/sha}","git_commits_url":"https://api.github.com/repos/darkv/wonder/git/commits{/sha}","comments_url":"https://api.github.com/repos/darkv/wonder/comments{/number}","issue_comment_url":"https://api.github.com/repos/darkv/wonder/issues/comments{/number}","contents_url":"https://api.github.com/repos/darkv/wonder/contents/{+path}","compare_url":"https://api.github.com/repos/darkv/wonder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/darkv/wonder/merges","archive_url":"https://api.github.com/repos/darkv/wonder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/darkv/wonder/downloads","issues_url":"https://api.github.com/repos/darkv/wonder/issues{/number}","pulls_url":"https://api.github.com/repos/darkv/wonder/pulls{/number}","milestones_url":"https://api.github.com/repos/darkv/wonder/milestones{/number}","notifications_url":"https://api.github.com/repos/darkv/wonder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/darkv/wonder/labels{/name}","releases_url":"https://api.github.com/repos/darkv/wonder/releases{/id}","deployments_url":"https://api.github.com/repos/darkv/wonder/deployments","created_at":"2011-04-20T23:42:09Z","updated_at":"2016-08-30T07:18:54Z","pushed_at":"2016-09-13T09:06:23Z","git_url":"git://github.com/darkv/wonder.git","ssh_url":"git@github.com:darkv/wonder.git","clone_url":"https://github.com/darkv/wonder.git","svn_url":"https://github.com/darkv/wonder","homepage":"http://wiki.wocommunity.org/","size":336617,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":2,"default_branch":"integration"}},"base":{"label":"wocommunity:master","ref":"master","sha":"13ad6a9ff3e6cb7e39aa8c1dc71093c8f2943e4e","user":{"login":"wocommunity","id":690954,"avatar_url":"https://avatars.githubusercontent.com/u/690954?v=3","gravatar_id":"","url":"https://api.github.com/users/wocommunity","html_url":"https://github.com/wocommunity","followers_url":"https://api.github.com/users/wocommunity/followers","following_url":"https://api.github.com/users/wocommunity/following{/other_user}","gists_url":"https://api.github.com/users/wocommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/wocommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wocommunity/subscriptions","organizations_url":"https://api.github.com/users/wocommunity/orgs","repos_url":"https://api.github.com/users/wocommunity/repos","events_url":"https://api.github.com/users/wocommunity/events{/privacy}","received_events_url":"https://api.github.com/users/wocommunity/received_events","type":"Organization","site_admin":false},"repo":{"id":1520916,"name":"wonder","full_name":"wocommunity/wonder","owner":{"login":"wocommunity","id":690954,"avatar_url":"https://avatars.githubusercontent.com/u/690954?v=3","gravatar_id":"","url":"https://api.github.com/users/wocommunity","html_url":"https://github.com/wocommunity","followers_url":"https://api.github.com/users/wocommunity/followers","following_url":"https://api.github.com/users/wocommunity/following{/other_user}","gists_url":"https://api.github.com/users/wocommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/wocommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wocommunity/subscriptions","organizations_url":"https://api.github.com/users/wocommunity/orgs","repos_url":"https://api.github.com/users/wocommunity/repos","events_url":"https://api.github.com/users/wocommunity/events{/privacy}","received_events_url":"https://api.github.com/users/wocommunity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wocommunity/wonder","description":"Project Wonder","fork":false,"url":"https://api.github.com/repos/wocommunity/wonder","forks_url":"https://api.github.com/repos/wocommunity/wonder/forks","keys_url":"https://api.github.com/repos/wocommunity/wonder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wocommunity/wonder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wocommunity/wonder/teams","hooks_url":"https://api.github.com/repos/wocommunity/wonder/hooks","issue_events_url":"https://api.github.com/repos/wocommunity/wonder/issues/events{/number}","events_url":"https://api.github.com/repos/wocommunity/wonder/events","assignees_url":"https://api.github.com/repos/wocommunity/wonder/assignees{/user}","branches_url":"https://api.github.com/repos/wocommunity/wonder/branches{/branch}","tags_url":"https://api.github.com/repos/wocommunity/wonder/tags","blobs_url":"https://api.github.com/repos/wocommunity/wonder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wocommunity/wonder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wocommunity/wonder/git/refs{/sha}","trees_url":"https://api.github.com/repos/wocommunity/wonder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wocommunity/wonder/statuses/{sha}","languages_url":"https://api.github.com/repos/wocommunity/wonder/languages","stargazers_url":"https://api.github.com/repos/wocommunity/wonder/stargazers","contributors_url":"https://api.github.com/repos/wocommunity/wonder/contributors","subscribers_url":"https://api.github.com/repos/wocommunity/wonder/subscribers","subscription_url":"https://api.github.com/repos/wocommunity/wonder/subscription","commits_url":"https://api.github.com/repos/wocommunity/wonder/commits{/sha}","git_commits_url":"https://api.github.com/repos/wocommunity/wonder/git/commits{/sha}","comments_url":"https://api.github.com/repos/wocommunity/wonder/comments{/number}","issue_comment_url":"https://api.github.com/repos/wocommunity/wonder/issues/comments{/number}","contents_url":"https://api.github.com/repos/wocommunity/wonder/contents/{+path}","compare_url":"https://api.github.com/repos/wocommunity/wonder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wocommunity/wonder/merges","archive_url":"https://api.github.com/repos/wocommunity/wonder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wocommunity/wonder/downloads","issues_url":"https://api.github.com/repos/wocommunity/wonder/issues{/number}","pulls_url":"https://api.github.com/repos/wocommunity/wonder/pulls{/number}","milestones_url":"https://api.github.com/repos/wocommunity/wonder/milestones{/number}","notifications_url":"https://api.github.com/repos/wocommunity/wonder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wocommunity/wonder/labels{/name}","releases_url":"https://api.github.com/repos/wocommunity/wonder/releases{/id}","deployments_url":"https://api.github.com/repos/wocommunity/wonder/deployments","created_at":"2011-03-24T13:30:25Z","updated_at":"2016-08-29T09:19:10Z","pushed_at":"2016-09-14T10:10:28Z","git_url":"git://github.com/wocommunity/wonder.git","ssh_url":"git@github.com:wocommunity/wonder.git","clone_url":"https://github.com/wocommunity/wonder.git","svn_url":"https://github.com/wocommunity/wonder","homepage":"http://wiki.wocommunity.org/","size":346417,"stargazers_count":197,"watchers_count":197,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":156,"mirror_url":null,"open_issues_count":34,"forks":156,"open_issues":34,"watchers":197,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wocommunity/wonder/pulls/800"},"html":{"href":"https://github.com/wocommunity/wonder/pull/800"},"issue":{"href":"https://api.github.com/repos/wocommunity/wonder/issues/800"},"comments":{"href":"https://api.github.com/repos/wocommunity/wonder/issues/800/comments"},"review_comments":{"href":"https://api.github.com/repos/wocommunity/wonder/pulls/800/comments"},"review_comment":{"href":"https://api.github.com/repos/wocommunity/wonder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wocommunity/wonder/pulls/800/commits"},"statuses":{"href":"https://api.github.com/repos/wocommunity/wonder/statuses/c583c33abed8847a294fe4d9a2c00a99f057c759"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"paulhoadley","id":891519,"avatar_url":"https://avatars.githubusercontent.com/u/891519?v=3","gravatar_id":"","url":"https://api.github.com/users/paulhoadley","html_url":"https://github.com/paulhoadley","followers_url":"https://api.github.com/users/paulhoadley/followers","following_url":"https://api.github.com/users/paulhoadley/following{/other_user}","gists_url":"https://api.github.com/users/paulhoadley/gists{/gist_id}","starred_url":"https://api.github.com/users/paulhoadley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulhoadley/subscriptions","organizations_url":"https://api.github.com/users/paulhoadley/orgs","repos_url":"https://api.github.com/users/paulhoadley/repos","events_url":"https://api.github.com/users/paulhoadley/events{/privacy}","received_events_url":"https://api.github.com/users/paulhoadley/received_events","type":"User","site_admin":false},"comments":4,"review_comments":5,"commits":10,"additions":371,"deletions":683,"changed_files":37}}
{"actor":{"display_login":"paulhoadley"}}