{"action":"closed","number":17,"pull_request":{"url":"https://api.github.com/repos/teamed/quiz/pulls/17","id":31189341,"html_url":"https://github.com/teamed/quiz/pull/17","diff_url":"https://github.com/teamed/quiz/pull/17.diff","patch_url":"https://github.com/teamed/quiz/pull/17.patch","issue_url":"https://api.github.com/repos/teamed/quiz/issues/17","number":17,"state":"closed","locked":false,"title":"Update Parser.java","user":{"login":"mohamed-ennahdi","id":6767325,"avatar_url":"https://avatars.githubusercontent.com/u/6767325?v=3","gravatar_id":"","url":"https://api.github.com/users/mohamed-ennahdi","html_url":"https://github.com/mohamed-ennahdi","followers_url":"https://api.github.com/users/mohamed-ennahdi/followers","following_url":"https://api.github.com/users/mohamed-ennahdi/following{/other_user}","gists_url":"https://api.github.com/users/mohamed-ennahdi/gists{/gist_id}","starred_url":"https://api.github.com/users/mohamed-ennahdi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohamed-ennahdi/subscriptions","organizations_url":"https://api.github.com/users/mohamed-ennahdi/orgs","repos_url":"https://api.github.com/users/mohamed-ennahdi/repos","events_url":"https://api.github.com/users/mohamed-ennahdi/events{/privacy}","received_events_url":"https://api.github.com/users/mohamed-ennahdi/received_events","type":"User","site_admin":false},"body":"1- File steam objects were not closed everywhere;\r\n2- To enhance performance is by using BufferedReader and BufferedWriter objects instead of FileInputSteam and FileOutputStream (write a string at a time, instead of a character per iteration);\r\n3- Another amelioration is to use StringBuffer instead of String because it's a lot faster. By the way, the former is thread safe as well.","created_at":"2015-03-14T20:12:14Z","updated_at":"2015-03-20T20:10:06Z","closed_at":"2015-03-20T20:10:06Z","merged_at":null,"merge_commit_sha":"035c4684c5bc74d5ec8ac07b7b99246299dfb3c6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/teamed/quiz/pulls/17/commits","review_comments_url":"https://api.github.com/repos/teamed/quiz/pulls/17/comments","review_comment_url":"https://api.github.com/repos/teamed/quiz/pulls/comments{/number}","comments_url":"https://api.github.com/repos/teamed/quiz/issues/17/comments","statuses_url":"https://api.github.com/repos/teamed/quiz/statuses/0fca444cb2038e70476eeb9a076a17af1b9059a7","head":{"label":"mohamed-ennahdi:patch-1","ref":"patch-1","sha":"0fca444cb2038e70476eeb9a076a17af1b9059a7","user":{"login":"mohamed-ennahdi","id":6767325,"avatar_url":"https://avatars.githubusercontent.com/u/6767325?v=3","gravatar_id":"","url":"https://api.github.com/users/mohamed-ennahdi","html_url":"https://github.com/mohamed-ennahdi","followers_url":"https://api.github.com/users/mohamed-ennahdi/followers","following_url":"https://api.github.com/users/mohamed-ennahdi/following{/other_user}","gists_url":"https://api.github.com/users/mohamed-ennahdi/gists{/gist_id}","starred_url":"https://api.github.com/users/mohamed-ennahdi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohamed-ennahdi/subscriptions","organizations_url":"https://api.github.com/users/mohamed-ennahdi/orgs","repos_url":"https://api.github.com/users/mohamed-ennahdi/repos","events_url":"https://api.github.com/users/mohamed-ennahdi/events{/privacy}","received_events_url":"https://api.github.com/users/mohamed-ennahdi/received_events","type":"User","site_admin":false},"repo":{"id":32229902,"name":"quiz","full_name":"mohamed-ennahdi/quiz","owner":{"login":"mohamed-ennahdi","id":6767325,"avatar_url":"https://avatars.githubusercontent.com/u/6767325?v=3","gravatar_id":"","url":"https://api.github.com/users/mohamed-ennahdi","html_url":"https://github.com/mohamed-ennahdi","followers_url":"https://api.github.com/users/mohamed-ennahdi/followers","following_url":"https://api.github.com/users/mohamed-ennahdi/following{/other_user}","gists_url":"https://api.github.com/users/mohamed-ennahdi/gists{/gist_id}","starred_url":"https://api.github.com/users/mohamed-ennahdi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohamed-ennahdi/subscriptions","organizations_url":"https://api.github.com/users/mohamed-ennahdi/orgs","repos_url":"https://api.github.com/users/mohamed-ennahdi/repos","events_url":"https://api.github.com/users/mohamed-ennahdi/events{/privacy}","received_events_url":"https://api.github.com/users/mohamed-ennahdi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mohamed-ennahdi/quiz","description":"Java Quiz","fork":true,"url":"https://api.github.com/repos/mohamed-ennahdi/quiz","forks_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/forks","keys_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/teams","hooks_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/hooks","issue_events_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/issues/events{/number}","events_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/events","assignees_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/assignees{/user}","branches_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/branches{/branch}","tags_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/tags","blobs_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/git/refs{/sha}","trees_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/statuses/{sha}","languages_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/languages","stargazers_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/stargazers","contributors_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/contributors","subscribers_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/subscribers","subscription_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/subscription","commits_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/commits{/sha}","git_commits_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/git/commits{/sha}","comments_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/comments{/number}","issue_comment_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/issues/comments{/number}","contents_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/contents/{+path}","compare_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/merges","archive_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/downloads","issues_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/issues{/number}","pulls_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/pulls{/number}","milestones_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/milestones{/number}","notifications_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/labels{/name}","releases_url":"https://api.github.com/repos/mohamed-ennahdi/quiz/releases{/id}","created_at":"2015-03-14T20:10:37Z","updated_at":"2015-03-14T20:10:39Z","pushed_at":"2015-03-14T20:11:31Z","git_url":"git://github.com/mohamed-ennahdi/quiz.git","ssh_url":"git@github.com:mohamed-ennahdi/quiz.git","clone_url":"https://github.com/mohamed-ennahdi/quiz.git","svn_url":"https://github.com/mohamed-ennahdi/quiz","homepage":null,"size":94,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"teamed:master","ref":"master","sha":"270fc6f0734a3778851751e6b996cadb5a30a4b9","user":{"login":"teamed","id":7436563,"avatar_url":"https://avatars.githubusercontent.com/u/7436563?v=3","gravatar_id":"","url":"https://api.github.com/users/teamed","html_url":"https://github.com/teamed","followers_url":"https://api.github.com/users/teamed/followers","following_url":"https://api.github.com/users/teamed/following{/other_user}","gists_url":"https://api.github.com/users/teamed/gists{/gist_id}","starred_url":"https://api.github.com/users/teamed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamed/subscriptions","organizations_url":"https://api.github.com/users/teamed/orgs","repos_url":"https://api.github.com/users/teamed/repos","events_url":"https://api.github.com/users/teamed/events{/privacy}","received_events_url":"https://api.github.com/users/teamed/received_events","type":"Organization","site_admin":false},"repo":{"id":30189312,"name":"quiz","full_name":"teamed/quiz","owner":{"login":"teamed","id":7436563,"avatar_url":"https://avatars.githubusercontent.com/u/7436563?v=3","gravatar_id":"","url":"https://api.github.com/users/teamed","html_url":"https://github.com/teamed","followers_url":"https://api.github.com/users/teamed/followers","following_url":"https://api.github.com/users/teamed/following{/other_user}","gists_url":"https://api.github.com/users/teamed/gists{/gist_id}","starred_url":"https://api.github.com/users/teamed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamed/subscriptions","organizations_url":"https://api.github.com/users/teamed/orgs","repos_url":"https://api.github.com/users/teamed/repos","events_url":"https://api.github.com/users/teamed/events{/privacy}","received_events_url":"https://api.github.com/users/teamed/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/teamed/quiz","description":"Java Quiz","fork":false,"url":"https://api.github.com/repos/teamed/quiz","forks_url":"https://api.github.com/repos/teamed/quiz/forks","keys_url":"https://api.github.com/repos/teamed/quiz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/teamed/quiz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/teamed/quiz/teams","hooks_url":"https://api.github.com/repos/teamed/quiz/hooks","issue_events_url":"https://api.github.com/repos/teamed/quiz/issues/events{/number}","events_url":"https://api.github.com/repos/teamed/quiz/events","assignees_url":"https://api.github.com/repos/teamed/quiz/assignees{/user}","branches_url":"https://api.github.com/repos/teamed/quiz/branches{/branch}","tags_url":"https://api.github.com/repos/teamed/quiz/tags","blobs_url":"https://api.github.com/repos/teamed/quiz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/teamed/quiz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/teamed/quiz/git/refs{/sha}","trees_url":"https://api.github.com/repos/teamed/quiz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/teamed/quiz/statuses/{sha}","languages_url":"https://api.github.com/repos/teamed/quiz/languages","stargazers_url":"https://api.github.com/repos/teamed/quiz/stargazers","contributors_url":"https://api.github.com/repos/teamed/quiz/contributors","subscribers_url":"https://api.github.com/repos/teamed/quiz/subscribers","subscription_url":"https://api.github.com/repos/teamed/quiz/subscription","commits_url":"https://api.github.com/repos/teamed/quiz/commits{/sha}","git_commits_url":"https://api.github.com/repos/teamed/quiz/git/commits{/sha}","comments_url":"https://api.github.com/repos/teamed/quiz/comments{/number}","issue_comment_url":"https://api.github.com/repos/teamed/quiz/issues/comments{/number}","contents_url":"https://api.github.com/repos/teamed/quiz/contents/{+path}","compare_url":"https://api.github.com/repos/teamed/quiz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/teamed/quiz/merges","archive_url":"https://api.github.com/repos/teamed/quiz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/teamed/quiz/downloads","issues_url":"https://api.github.com/repos/teamed/quiz/issues{/number}","pulls_url":"https://api.github.com/repos/teamed/quiz/pulls{/number}","milestones_url":"https://api.github.com/repos/teamed/quiz/milestones{/number}","notifications_url":"https://api.github.com/repos/teamed/quiz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/teamed/quiz/labels{/name}","releases_url":"https://api.github.com/repos/teamed/quiz/releases{/id}","created_at":"2015-02-02T13:55:45Z","updated_at":"2015-03-13T21:07:56Z","pushed_at":"2015-03-10T00:35:01Z","git_url":"git://github.com/teamed/quiz.git","ssh_url":"git@github.com:teamed/quiz.git","clone_url":"https://github.com/teamed/quiz.git","svn_url":"https://github.com/teamed/quiz","homepage":null,"size":154,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":2,"forks":22,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/teamed/quiz/pulls/17"},"html":{"href":"https://github.com/teamed/quiz/pull/17"},"issue":{"href":"https://api.github.com/repos/teamed/quiz/issues/17"},"comments":{"href":"https://api.github.com/repos/teamed/quiz/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/teamed/quiz/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/teamed/quiz/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/teamed/quiz/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/teamed/quiz/statuses/0fca444cb2038e70476eeb9a076a17af1b9059a7"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":88,"deletions":33,"changed_files":1}}