{"action":"closed","number":36,"pull_request":{"url":"https://api.github.com/repos/Unihedro/JavaBot/pulls/36","id":27764838,"html_url":"https://github.com/Unihedro/JavaBot/pull/36","diff_url":"https://github.com/Unihedro/JavaBot/pull/36.diff","patch_url":"https://github.com/Unihedro/JavaBot/pull/36.patch","issue_url":"https://api.github.com/repos/Unihedro/JavaBot/issues/36","number":36,"state":"closed","locked":false,"title":"Merge fix-issue33 with master to fix issue #33.","user":{"login":"Unihedro","id":5595067,"avatar_url":"https://avatars.githubusercontent.com/u/5595067?v=3","gravatar_id":"","url":"https://api.github.com/users/Unihedro","html_url":"https://github.com/Unihedro","followers_url":"https://api.github.com/users/Unihedro/followers","following_url":"https://api.github.com/users/Unihedro/following{/other_user}","gists_url":"https://api.github.com/users/Unihedro/gists{/gist_id}","starred_url":"https://api.github.com/users/Unihedro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unihedro/subscriptions","organizations_url":"https://api.github.com/users/Unihedro/orgs","repos_url":"https://api.github.com/users/Unihedro/repos","events_url":"https://api.github.com/users/Unihedro/events{/privacy}","received_events_url":"https://api.github.com/users/Unihedro/received_events","type":"User","site_admin":false},"body":"I'm not sure if it actually works consistently though, and plus it could sure use a review. I've used HTTP requests instead of using the browser window of HTMLUnit, as the Stack Exchange login page generates a dynamic iframe, which is not possible to handle directly. Since the login method stands out of its own as it doesn't use the browser, I've isolated the code into its own method and called it when necessary.","created_at":"2015-01-21T14:53:07Z","updated_at":"2015-05-09T13:26:10Z","closed_at":"2015-05-09T13:26:10Z","merged_at":null,"merge_commit_sha":"887136259e6945f38dac1557ea06b01203b50a9d","assignee":{"login":"Unihedro","id":5595067,"avatar_url":"https://avatars.githubusercontent.com/u/5595067?v=3","gravatar_id":"","url":"https://api.github.com/users/Unihedro","html_url":"https://github.com/Unihedro","followers_url":"https://api.github.com/users/Unihedro/followers","following_url":"https://api.github.com/users/Unihedro/following{/other_user}","gists_url":"https://api.github.com/users/Unihedro/gists{/gist_id}","starred_url":"https://api.github.com/users/Unihedro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unihedro/subscriptions","organizations_url":"https://api.github.com/users/Unihedro/orgs","repos_url":"https://api.github.com/users/Unihedro/repos","events_url":"https://api.github.com/users/Unihedro/events{/privacy}","received_events_url":"https://api.github.com/users/Unihedro/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Unihedro/JavaBot/pulls/36/commits","review_comments_url":"https://api.github.com/repos/Unihedro/JavaBot/pulls/36/comments","review_comment_url":"https://api.github.com/repos/Unihedro/JavaBot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Unihedro/JavaBot/issues/36/comments","statuses_url":"https://api.github.com/repos/Unihedro/JavaBot/statuses/bc6106200098928ca6e0da780c098532853430b6","head":{"label":"Unihedro:fix-issue33","ref":"fix-issue33","sha":"bc6106200098928ca6e0da780c098532853430b6","user":{"login":"Unihedro","id":5595067,"avatar_url":"https://avatars.githubusercontent.com/u/5595067?v=3","gravatar_id":"","url":"https://api.github.com/users/Unihedro","html_url":"https://github.com/Unihedro","followers_url":"https://api.github.com/users/Unihedro/followers","following_url":"https://api.github.com/users/Unihedro/following{/other_user}","gists_url":"https://api.github.com/users/Unihedro/gists{/gist_id}","starred_url":"https://api.github.com/users/Unihedro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unihedro/subscriptions","organizations_url":"https://api.github.com/users/Unihedro/orgs","repos_url":"https://api.github.com/users/Unihedro/repos","events_url":"https://api.github.com/users/Unihedro/events{/privacy}","received_events_url":"https://api.github.com/users/Unihedro/received_events","type":"User","site_admin":false},"repo":{"id":25425280,"name":"JavaBot","full_name":"Unihedro/JavaBot","owner":{"login":"Unihedro","id":5595067,"avatar_url":"https://avatars.githubusercontent.com/u/5595067?v=3","gravatar_id":"","url":"https://api.github.com/users/Unihedro","html_url":"https://github.com/Unihedro","followers_url":"https://api.github.com/users/Unihedro/followers","following_url":"https://api.github.com/users/Unihedro/following{/other_user}","gists_url":"https://api.github.com/users/Unihedro/gists{/gist_id}","starred_url":"https://api.github.com/users/Unihedro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unihedro/subscriptions","organizations_url":"https://api.github.com/users/Unihedro/orgs","repos_url":"https://api.github.com/users/Unihedro/repos","events_url":"https://api.github.com/users/Unihedro/events{/privacy}","received_events_url":"https://api.github.com/users/Unihedro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Unihedro/JavaBot","description":"Java based chat bot that runs in Java room of Stack Overflow Chat.","fork":false,"url":"https://api.github.com/repos/Unihedro/JavaBot","forks_url":"https://api.github.com/repos/Unihedro/JavaBot/forks","keys_url":"https://api.github.com/repos/Unihedro/JavaBot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Unihedro/JavaBot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Unihedro/JavaBot/teams","hooks_url":"https://api.github.com/repos/Unihedro/JavaBot/hooks","issue_events_url":"https://api.github.com/repos/Unihedro/JavaBot/issues/events{/number}","events_url":"https://api.github.com/repos/Unihedro/JavaBot/events","assignees_url":"https://api.github.com/repos/Unihedro/JavaBot/assignees{/user}","branches_url":"https://api.github.com/repos/Unihedro/JavaBot/branches{/branch}","tags_url":"https://api.github.com/repos/Unihedro/JavaBot/tags","blobs_url":"https://api.github.com/repos/Unihedro/JavaBot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Unihedro/JavaBot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Unihedro/JavaBot/git/refs{/sha}","trees_url":"https://api.github.com/repos/Unihedro/JavaBot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Unihedro/JavaBot/statuses/{sha}","languages_url":"https://api.github.com/repos/Unihedro/JavaBot/languages","stargazers_url":"https://api.github.com/repos/Unihedro/JavaBot/stargazers","contributors_url":"https://api.github.com/repos/Unihedro/JavaBot/contributors","subscribers_url":"https://api.github.com/repos/Unihedro/JavaBot/subscribers","subscription_url":"https://api.github.com/repos/Unihedro/JavaBot/subscription","commits_url":"https://api.github.com/repos/Unihedro/JavaBot/commits{/sha}","git_commits_url":"https://api.github.com/repos/Unihedro/JavaBot/git/commits{/sha}","comments_url":"https://api.github.com/repos/Unihedro/JavaBot/comments{/number}","issue_comment_url":"https://api.github.com/repos/Unihedro/JavaBot/issues/comments{/number}","contents_url":"https://api.github.com/repos/Unihedro/JavaBot/contents/{+path}","compare_url":"https://api.github.com/repos/Unihedro/JavaBot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Unihedro/JavaBot/merges","archive_url":"https://api.github.com/repos/Unihedro/JavaBot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Unihedro/JavaBot/downloads","issues_url":"https://api.github.com/repos/Unihedro/JavaBot/issues{/number}","pulls_url":"https://api.github.com/repos/Unihedro/JavaBot/pulls{/number}","milestones_url":"https://api.github.com/repos/Unihedro/JavaBot/milestones{/number}","notifications_url":"https://api.github.com/repos/Unihedro/JavaBot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Unihedro/JavaBot/labels{/name}","releases_url":"https://api.github.com/repos/Unihedro/JavaBot/releases{/id}","created_at":"2014-10-19T11:40:16Z","updated_at":"2015-05-03T13:43:49Z","pushed_at":"2015-05-09T12:55:25Z","git_url":"git://github.com/Unihedro/JavaBot.git","ssh_url":"git@github.com:Unihedro/JavaBot.git","clone_url":"https://github.com/Unihedro/JavaBot.git","svn_url":"https://github.com/Unihedro/JavaBot","homepage":null,"size":2448,"stargazers_count":11,"watchers_count":11,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":9,"forks":6,"open_issues":9,"watchers":11,"default_branch":"master"}},"base":{"label":"Unihedro:master","ref":"master","sha":"433c06ff066120df0cd638b518ca7cc84edceaa3","user":{"login":"Unihedro","id":5595067,"avatar_url":"https://avatars.githubusercontent.com/u/5595067?v=3","gravatar_id":"","url":"https://api.github.com/users/Unihedro","html_url":"https://github.com/Unihedro","followers_url":"https://api.github.com/users/Unihedro/followers","following_url":"https://api.github.com/users/Unihedro/following{/other_user}","gists_url":"https://api.github.com/users/Unihedro/gists{/gist_id}","starred_url":"https://api.github.com/users/Unihedro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unihedro/subscriptions","organizations_url":"https://api.github.com/users/Unihedro/orgs","repos_url":"https://api.github.com/users/Unihedro/repos","events_url":"https://api.github.com/users/Unihedro/events{/privacy}","received_events_url":"https://api.github.com/users/Unihedro/received_events","type":"User","site_admin":false},"repo":{"id":25425280,"name":"JavaBot","full_name":"Unihedro/JavaBot","owner":{"login":"Unihedro","id":5595067,"avatar_url":"https://avatars.githubusercontent.com/u/5595067?v=3","gravatar_id":"","url":"https://api.github.com/users/Unihedro","html_url":"https://github.com/Unihedro","followers_url":"https://api.github.com/users/Unihedro/followers","following_url":"https://api.github.com/users/Unihedro/following{/other_user}","gists_url":"https://api.github.com/users/Unihedro/gists{/gist_id}","starred_url":"https://api.github.com/users/Unihedro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unihedro/subscriptions","organizations_url":"https://api.github.com/users/Unihedro/orgs","repos_url":"https://api.github.com/users/Unihedro/repos","events_url":"https://api.github.com/users/Unihedro/events{/privacy}","received_events_url":"https://api.github.com/users/Unihedro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Unihedro/JavaBot","description":"Java based chat bot that runs in Java room of Stack Overflow Chat.","fork":false,"url":"https://api.github.com/repos/Unihedro/JavaBot","forks_url":"https://api.github.com/repos/Unihedro/JavaBot/forks","keys_url":"https://api.github.com/repos/Unihedro/JavaBot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Unihedro/JavaBot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Unihedro/JavaBot/teams","hooks_url":"https://api.github.com/repos/Unihedro/JavaBot/hooks","issue_events_url":"https://api.github.com/repos/Unihedro/JavaBot/issues/events{/number}","events_url":"https://api.github.com/repos/Unihedro/JavaBot/events","assignees_url":"https://api.github.com/repos/Unihedro/JavaBot/assignees{/user}","branches_url":"https://api.github.com/repos/Unihedro/JavaBot/branches{/branch}","tags_url":"https://api.github.com/repos/Unihedro/JavaBot/tags","blobs_url":"https://api.github.com/repos/Unihedro/JavaBot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Unihedro/JavaBot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Unihedro/JavaBot/git/refs{/sha}","trees_url":"https://api.github.com/repos/Unihedro/JavaBot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Unihedro/JavaBot/statuses/{sha}","languages_url":"https://api.github.com/repos/Unihedro/JavaBot/languages","stargazers_url":"https://api.github.com/repos/Unihedro/JavaBot/stargazers","contributors_url":"https://api.github.com/repos/Unihedro/JavaBot/contributors","subscribers_url":"https://api.github.com/repos/Unihedro/JavaBot/subscribers","subscription_url":"https://api.github.com/repos/Unihedro/JavaBot/subscription","commits_url":"https://api.github.com/repos/Unihedro/JavaBot/commits{/sha}","git_commits_url":"https://api.github.com/repos/Unihedro/JavaBot/git/commits{/sha}","comments_url":"https://api.github.com/repos/Unihedro/JavaBot/comments{/number}","issue_comment_url":"https://api.github.com/repos/Unihedro/JavaBot/issues/comments{/number}","contents_url":"https://api.github.com/repos/Unihedro/JavaBot/contents/{+path}","compare_url":"https://api.github.com/repos/Unihedro/JavaBot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Unihedro/JavaBot/merges","archive_url":"https://api.github.com/repos/Unihedro/JavaBot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Unihedro/JavaBot/downloads","issues_url":"https://api.github.com/repos/Unihedro/JavaBot/issues{/number}","pulls_url":"https://api.github.com/repos/Unihedro/JavaBot/pulls{/number}","milestones_url":"https://api.github.com/repos/Unihedro/JavaBot/milestones{/number}","notifications_url":"https://api.github.com/repos/Unihedro/JavaBot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Unihedro/JavaBot/labels{/name}","releases_url":"https://api.github.com/repos/Unihedro/JavaBot/releases{/id}","created_at":"2014-10-19T11:40:16Z","updated_at":"2015-05-03T13:43:49Z","pushed_at":"2015-05-09T12:55:25Z","git_url":"git://github.com/Unihedro/JavaBot.git","ssh_url":"git@github.com:Unihedro/JavaBot.git","clone_url":"https://github.com/Unihedro/JavaBot.git","svn_url":"https://github.com/Unihedro/JavaBot","homepage":null,"size":2448,"stargazers_count":11,"watchers_count":11,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":9,"forks":6,"open_issues":9,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Unihedro/JavaBot/pulls/36"},"html":{"href":"https://github.com/Unihedro/JavaBot/pull/36"},"issue":{"href":"https://api.github.com/repos/Unihedro/JavaBot/issues/36"},"comments":{"href":"https://api.github.com/repos/Unihedro/JavaBot/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/Unihedro/JavaBot/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/Unihedro/JavaBot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Unihedro/JavaBot/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/Unihedro/JavaBot/statuses/bc6106200098928ca6e0da780c098532853430b6"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":3,"review_comments":4,"commits":5,"additions":84,"deletions":13,"changed_files":3}}