{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/kevinseim/beanio/pulls/4","id":43353849,"html_url":"https://github.com/kevinseim/beanio/pull/4","diff_url":"https://github.com/kevinseim/beanio/pull/4.diff","patch_url":"https://github.com/kevinseim/beanio/pull/4.patch","issue_url":"https://api.github.com/repos/kevinseim/beanio/issues/4","number":4,"state":"closed","locked":false,"title":"Using AutoCloseable to allow us to use try-with-resources statement","user":{"login":"garcia-jj","id":140387,"avatar_url":"https://avatars.githubusercontent.com/u/140387?v=3","gravatar_id":"","url":"https://api.github.com/users/garcia-jj","html_url":"https://github.com/garcia-jj","followers_url":"https://api.github.com/users/garcia-jj/followers","following_url":"https://api.github.com/users/garcia-jj/following{/other_user}","gists_url":"https://api.github.com/users/garcia-jj/gists{/gist_id}","starred_url":"https://api.github.com/users/garcia-jj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garcia-jj/subscriptions","organizations_url":"https://api.github.com/users/garcia-jj/orgs","repos_url":"https://api.github.com/users/garcia-jj/repos","events_url":"https://api.github.com/users/garcia-jj/events{/privacy}","received_events_url":"https://api.github.com/users/garcia-jj/received_events","type":"User","site_admin":false},"body":"With this pull request we can use `try-with-resources` statement.\r\n\r\nBefore changes:\r\n\r\n```java\r\ntry {\r\n    BeanReader in = factory.createReader(\"stream1\", file);\r\n    [...]\r\n} finally {\r\n    in.close();\r\n}\r\n```\r\n\r\nAnd now:\r\n\r\n\r\n```java\r\ntry (BeanReader in = factory.createReader(\"stream1\", file)) {\r\n    [...]\r\n}\r\n```\r\n","created_at":"2015-08-26T00:53:25Z","updated_at":"2015-08-26T02:19:43Z","closed_at":"2015-08-26T02:19:43Z","merged_at":"2015-08-26T02:19:43Z","merge_commit_sha":"4ff6cf052906a08503146f9cf90bffe052b0f0aa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kevinseim/beanio/pulls/4/commits","review_comments_url":"https://api.github.com/repos/kevinseim/beanio/pulls/4/comments","review_comment_url":"https://api.github.com/repos/kevinseim/beanio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kevinseim/beanio/issues/4/comments","statuses_url":"https://api.github.com/repos/kevinseim/beanio/statuses/61c1e7be0f48d0bde1fc5bd2d6460457763430e2","head":{"label":"garcia-jj:ot-addingcloseable","ref":"ot-addingcloseable","sha":"61c1e7be0f48d0bde1fc5bd2d6460457763430e2","user":{"login":"garcia-jj","id":140387,"avatar_url":"https://avatars.githubusercontent.com/u/140387?v=3","gravatar_id":"","url":"https://api.github.com/users/garcia-jj","html_url":"https://github.com/garcia-jj","followers_url":"https://api.github.com/users/garcia-jj/followers","following_url":"https://api.github.com/users/garcia-jj/following{/other_user}","gists_url":"https://api.github.com/users/garcia-jj/gists{/gist_id}","starred_url":"https://api.github.com/users/garcia-jj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garcia-jj/subscriptions","organizations_url":"https://api.github.com/users/garcia-jj/orgs","repos_url":"https://api.github.com/users/garcia-jj/repos","events_url":"https://api.github.com/users/garcia-jj/events{/privacy}","received_events_url":"https://api.github.com/users/garcia-jj/received_events","type":"User","site_admin":false},"repo":{"id":40903865,"name":"beanio","full_name":"garcia-jj/beanio","owner":{"login":"garcia-jj","id":140387,"avatar_url":"https://avatars.githubusercontent.com/u/140387?v=3","gravatar_id":"","url":"https://api.github.com/users/garcia-jj","html_url":"https://github.com/garcia-jj","followers_url":"https://api.github.com/users/garcia-jj/followers","following_url":"https://api.github.com/users/garcia-jj/following{/other_user}","gists_url":"https://api.github.com/users/garcia-jj/gists{/gist_id}","starred_url":"https://api.github.com/users/garcia-jj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garcia-jj/subscriptions","organizations_url":"https://api.github.com/users/garcia-jj/orgs","repos_url":"https://api.github.com/users/garcia-jj/repos","events_url":"https://api.github.com/users/garcia-jj/events{/privacy}","received_events_url":"https://api.github.com/users/garcia-jj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/garcia-jj/beanio","description":"A Java library for marshalling and unmarshalling bean objects from XML, CSV, delimited and fixed length stream formats.","fork":true,"url":"https://api.github.com/repos/garcia-jj/beanio","forks_url":"https://api.github.com/repos/garcia-jj/beanio/forks","keys_url":"https://api.github.com/repos/garcia-jj/beanio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/garcia-jj/beanio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/garcia-jj/beanio/teams","hooks_url":"https://api.github.com/repos/garcia-jj/beanio/hooks","issue_events_url":"https://api.github.com/repos/garcia-jj/beanio/issues/events{/number}","events_url":"https://api.github.com/repos/garcia-jj/beanio/events","assignees_url":"https://api.github.com/repos/garcia-jj/beanio/assignees{/user}","branches_url":"https://api.github.com/repos/garcia-jj/beanio/branches{/branch}","tags_url":"https://api.github.com/repos/garcia-jj/beanio/tags","blobs_url":"https://api.github.com/repos/garcia-jj/beanio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/garcia-jj/beanio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/garcia-jj/beanio/git/refs{/sha}","trees_url":"https://api.github.com/repos/garcia-jj/beanio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/garcia-jj/beanio/statuses/{sha}","languages_url":"https://api.github.com/repos/garcia-jj/beanio/languages","stargazers_url":"https://api.github.com/repos/garcia-jj/beanio/stargazers","contributors_url":"https://api.github.com/repos/garcia-jj/beanio/contributors","subscribers_url":"https://api.github.com/repos/garcia-jj/beanio/subscribers","subscription_url":"https://api.github.com/repos/garcia-jj/beanio/subscription","commits_url":"https://api.github.com/repos/garcia-jj/beanio/commits{/sha}","git_commits_url":"https://api.github.com/repos/garcia-jj/beanio/git/commits{/sha}","comments_url":"https://api.github.com/repos/garcia-jj/beanio/comments{/number}","issue_comment_url":"https://api.github.com/repos/garcia-jj/beanio/issues/comments{/number}","contents_url":"https://api.github.com/repos/garcia-jj/beanio/contents/{+path}","compare_url":"https://api.github.com/repos/garcia-jj/beanio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/garcia-jj/beanio/merges","archive_url":"https://api.github.com/repos/garcia-jj/beanio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/garcia-jj/beanio/downloads","issues_url":"https://api.github.com/repos/garcia-jj/beanio/issues{/number}","pulls_url":"https://api.github.com/repos/garcia-jj/beanio/pulls{/number}","milestones_url":"https://api.github.com/repos/garcia-jj/beanio/milestones{/number}","notifications_url":"https://api.github.com/repos/garcia-jj/beanio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/garcia-jj/beanio/labels{/name}","releases_url":"https://api.github.com/repos/garcia-jj/beanio/releases{/id}","created_at":"2015-08-17T15:01:42Z","updated_at":"2015-08-17T15:01:43Z","pushed_at":"2015-08-26T00:51:05Z","git_url":"git://github.com/garcia-jj/beanio.git","ssh_url":"git@github.com:garcia-jj/beanio.git","clone_url":"https://github.com/garcia-jj/beanio.git","svn_url":"https://github.com/garcia-jj/beanio","homepage":null,"size":573,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kevinseim:master","ref":"master","sha":"c603758ce6bb2e15ea82f12d8006f2476f57695c","user":{"login":"kevinseim","id":8688351,"avatar_url":"https://avatars.githubusercontent.com/u/8688351?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinseim","html_url":"https://github.com/kevinseim","followers_url":"https://api.github.com/users/kevinseim/followers","following_url":"https://api.github.com/users/kevinseim/following{/other_user}","gists_url":"https://api.github.com/users/kevinseim/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinseim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinseim/subscriptions","organizations_url":"https://api.github.com/users/kevinseim/orgs","repos_url":"https://api.github.com/users/kevinseim/repos","events_url":"https://api.github.com/users/kevinseim/events{/privacy}","received_events_url":"https://api.github.com/users/kevinseim/received_events","type":"User","site_admin":false},"repo":{"id":23767677,"name":"beanio","full_name":"kevinseim/beanio","owner":{"login":"kevinseim","id":8688351,"avatar_url":"https://avatars.githubusercontent.com/u/8688351?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinseim","html_url":"https://github.com/kevinseim","followers_url":"https://api.github.com/users/kevinseim/followers","following_url":"https://api.github.com/users/kevinseim/following{/other_user}","gists_url":"https://api.github.com/users/kevinseim/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinseim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinseim/subscriptions","organizations_url":"https://api.github.com/users/kevinseim/orgs","repos_url":"https://api.github.com/users/kevinseim/repos","events_url":"https://api.github.com/users/kevinseim/events{/privacy}","received_events_url":"https://api.github.com/users/kevinseim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kevinseim/beanio","description":"A Java library for marshalling and unmarshalling bean objects from XML, CSV, delimited and fixed length stream formats.","fork":false,"url":"https://api.github.com/repos/kevinseim/beanio","forks_url":"https://api.github.com/repos/kevinseim/beanio/forks","keys_url":"https://api.github.com/repos/kevinseim/beanio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kevinseim/beanio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kevinseim/beanio/teams","hooks_url":"https://api.github.com/repos/kevinseim/beanio/hooks","issue_events_url":"https://api.github.com/repos/kevinseim/beanio/issues/events{/number}","events_url":"https://api.github.com/repos/kevinseim/beanio/events","assignees_url":"https://api.github.com/repos/kevinseim/beanio/assignees{/user}","branches_url":"https://api.github.com/repos/kevinseim/beanio/branches{/branch}","tags_url":"https://api.github.com/repos/kevinseim/beanio/tags","blobs_url":"https://api.github.com/repos/kevinseim/beanio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kevinseim/beanio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kevinseim/beanio/git/refs{/sha}","trees_url":"https://api.github.com/repos/kevinseim/beanio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kevinseim/beanio/statuses/{sha}","languages_url":"https://api.github.com/repos/kevinseim/beanio/languages","stargazers_url":"https://api.github.com/repos/kevinseim/beanio/stargazers","contributors_url":"https://api.github.com/repos/kevinseim/beanio/contributors","subscribers_url":"https://api.github.com/repos/kevinseim/beanio/subscribers","subscription_url":"https://api.github.com/repos/kevinseim/beanio/subscription","commits_url":"https://api.github.com/repos/kevinseim/beanio/commits{/sha}","git_commits_url":"https://api.github.com/repos/kevinseim/beanio/git/commits{/sha}","comments_url":"https://api.github.com/repos/kevinseim/beanio/comments{/number}","issue_comment_url":"https://api.github.com/repos/kevinseim/beanio/issues/comments{/number}","contents_url":"https://api.github.com/repos/kevinseim/beanio/contents/{+path}","compare_url":"https://api.github.com/repos/kevinseim/beanio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kevinseim/beanio/merges","archive_url":"https://api.github.com/repos/kevinseim/beanio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kevinseim/beanio/downloads","issues_url":"https://api.github.com/repos/kevinseim/beanio/issues{/number}","pulls_url":"https://api.github.com/repos/kevinseim/beanio/pulls{/number}","milestones_url":"https://api.github.com/repos/kevinseim/beanio/milestones{/number}","notifications_url":"https://api.github.com/repos/kevinseim/beanio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kevinseim/beanio/labels{/name}","releases_url":"https://api.github.com/repos/kevinseim/beanio/releases{/id}","created_at":"2014-09-07T18:43:06Z","updated_at":"2015-05-29T10:42:13Z","pushed_at":"2015-08-26T02:19:43Z","git_url":"git://github.com/kevinseim/beanio.git","ssh_url":"git@github.com:kevinseim/beanio.git","clone_url":"https://github.com/kevinseim/beanio.git","svn_url":"https://github.com/kevinseim/beanio","homepage":null,"size":731,"stargazers_count":13,"watchers_count":13,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":3,"forks":8,"open_issues":3,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kevinseim/beanio/pulls/4"},"html":{"href":"https://github.com/kevinseim/beanio/pull/4"},"issue":{"href":"https://api.github.com/repos/kevinseim/beanio/issues/4"},"comments":{"href":"https://api.github.com/repos/kevinseim/beanio/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/kevinseim/beanio/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/kevinseim/beanio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kevinseim/beanio/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/kevinseim/beanio/statuses/61c1e7be0f48d0bde1fc5bd2d6460457763430e2"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"kevinseim","id":8688351,"avatar_url":"https://avatars.githubusercontent.com/u/8688351?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinseim","html_url":"https://github.com/kevinseim","followers_url":"https://api.github.com/users/kevinseim/followers","following_url":"https://api.github.com/users/kevinseim/following{/other_user}","gists_url":"https://api.github.com/users/kevinseim/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinseim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinseim/subscriptions","organizations_url":"https://api.github.com/users/kevinseim/orgs","repos_url":"https://api.github.com/users/kevinseim/repos","events_url":"https://api.github.com/users/kevinseim/events{/privacy}","received_events_url":"https://api.github.com/users/kevinseim/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":9,"changed_files":3}}