{"action":"created","comment":{"url":"https://api.github.com/repos/udamiano/Sweng_Golf/pulls/comments/223207611","pull_request_review_id":162284623,"id":223207611,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMzIwNzYxMQ==","diff_hunk":"@@ -14,34 +14,42 @@\n public class CreateOfferActivity extends AppCompatActivity {\n \n     private String username;\n+\n     @Override\n     protected void onCreate(Bundle savedInstanceState) {\n         super.onCreate(savedInstanceState);\n         setContentView(R.layout.activity_create_offer);\n         Toolbar toolbar = findViewById(R.id.toolbar);\n         setSupportActionBar(toolbar);\n         username = getIntent().getExtras().getString(\"username\");\n+\n+        if (username == null) {\n+            throw new NullPointerException(\"No username given to CreateOfferActivity\");\n+        }\n     }\n \n-    public void createOffer(View view){\n+    /**","path":"app/src/main/java/ch/epfl/sweng/swenggolf/CreateOfferActivity.java","position":25,"original_position":25,"commit_id":"295187d6688bfda659606549eae50b9cf32c3c2e","original_commit_id":"295187d6688bfda659606549eae50b9cf32c3c2e","user":{"login":"codeclimate[bot]","id":36754821,"node_id":"MDM6Qm90MzY3NTQ4MjE=","avatar_url":"https://avatars0.githubusercontent.com/in/9403?v=4","gravatar_id":"","url":"https://api.github.com/users/codeclimate%5Bbot%5D","html_url":"https://github.com/apps/codeclimate","followers_url":"https://api.github.com/users/codeclimate%5Bbot%5D/followers","following_url":"https://api.github.com/users/codeclimate%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/codeclimate%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/codeclimate%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeclimate%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/codeclimate%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/codeclimate%5Bbot%5D/repos","events_url":"https://api.github.com/users/codeclimate%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/codeclimate%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"First sentence of Javadoc is missing an ending period.","created_at":"2018-10-07T10:09:03Z","updated_at":"2018-10-07T10:09:03Z","html_url":"https://github.com/udamiano/Sweng_Golf/pull/18#discussion_r223207611","pull_request_url":"https://api.github.com/repos/udamiano/Sweng_Golf/pulls/18","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/udamiano/Sweng_Golf/pulls/comments/223207611"},"html":{"href":"https://github.com/udamiano/Sweng_Golf/pull/18#discussion_r223207611"},"pull_request":{"href":"https://api.github.com/repos/udamiano/Sweng_Golf/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/udamiano/Sweng_Golf/pulls/18","id":220896799,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwODk2Nzk5","html_url":"https://github.com/udamiano/Sweng_Golf/pull/18","diff_url":"https://github.com/udamiano/Sweng_Golf/pull/18.diff","patch_url":"https://github.com/udamiano/Sweng_Golf/pull/18.patch","issue_url":"https://api.github.com/repos/udamiano/Sweng_Golf/issues/18","number":18,"state":"open","locked":false,"title":"Fb show offers","user":{"login":"robinmamie","id":26445753,"node_id":"MDQ6VXNlcjI2NDQ1NzUz","avatar_url":"https://avatars3.githubusercontent.com/u/26445753?v=4","gravatar_id":"","url":"https://api.github.com/users/robinmamie","html_url":"https://github.com/robinmamie","followers_url":"https://api.github.com/users/robinmamie/followers","following_url":"https://api.github.com/users/robinmamie/following{/other_user}","gists_url":"https://api.github.com/users/robinmamie/gists{/gist_id}","starred_url":"https://api.github.com/users/robinmamie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinmamie/subscriptions","organizations_url":"https://api.github.com/users/robinmamie/orgs","repos_url":"https://api.github.com/users/robinmamie/repos","events_url":"https://api.github.com/users/robinmamie/events{/privacy}","received_events_url":"https://api.github.com/users/robinmamie/received_events","type":"User","site_admin":false},"body":"Adding the features of showing all offers on a list or one on a single page.","created_at":"2018-10-06T16:34:37Z","updated_at":"2018-10-07T10:09:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3848161c51bb5cd28906174ea722299b4848dc68","assignee":null,"assignees":[],"requested_reviewers":[{"login":"SFulpius","id":36622934,"node_id":"MDQ6VXNlcjM2NjIyOTM0","avatar_url":"https://avatars2.githubusercontent.com/u/36622934?v=4","gravatar_id":"","url":"https://api.github.com/users/SFulpius","html_url":"https://github.com/SFulpius","followers_url":"https://api.github.com/users/SFulpius/followers","following_url":"https://api.github.com/users/SFulpius/following{/other_user}","gists_url":"https://api.github.com/users/SFulpius/gists{/gist_id}","starred_url":"https://api.github.com/users/SFulpius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SFulpius/subscriptions","organizations_url":"https://api.github.com/users/SFulpius/orgs","repos_url":"https://api.github.com/users/SFulpius/repos","events_url":"https://api.github.com/users/SFulpius/events{/privacy}","received_events_url":"https://api.github.com/users/SFulpius/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/udamiano/Sweng_Golf/pulls/18/commits","review_comments_url":"https://api.github.com/repos/udamiano/Sweng_Golf/pulls/18/comments","review_comment_url":"https://api.github.com/repos/udamiano/Sweng_Golf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/udamiano/Sweng_Golf/issues/18/comments","statuses_url":"https://api.github.com/repos/udamiano/Sweng_Golf/statuses/295187d6688bfda659606549eae50b9cf32c3c2e","head":{"label":"udamiano:fb-show-offers","ref":"fb-show-offers","sha":"295187d6688bfda659606549eae50b9cf32c3c2e","user":{"login":"udamiano","id":36622907,"node_id":"MDQ6VXNlcjM2NjIyOTA3","avatar_url":"https://avatars0.githubusercontent.com/u/36622907?v=4","gravatar_id":"","url":"https://api.github.com/users/udamiano","html_url":"https://github.com/udamiano","followers_url":"https://api.github.com/users/udamiano/followers","following_url":"https://api.github.com/users/udamiano/following{/other_user}","gists_url":"https://api.github.com/users/udamiano/gists{/gist_id}","starred_url":"https://api.github.com/users/udamiano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udamiano/subscriptions","organizations_url":"https://api.github.com/users/udamiano/orgs","repos_url":"https://api.github.com/users/udamiano/repos","events_url":"https://api.github.com/users/udamiano/events{/privacy}","received_events_url":"https://api.github.com/users/udamiano/received_events","type":"User","site_admin":false},"repo":{"id":150414453,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA0MTQ0NTM=","name":"Sweng_Golf","full_name":"udamiano/Sweng_Golf","private":false,"owner":{"login":"udamiano","id":36622907,"node_id":"MDQ6VXNlcjM2NjIyOTA3","avatar_url":"https://avatars0.githubusercontent.com/u/36622907?v=4","gravatar_id":"","url":"https://api.github.com/users/udamiano","html_url":"https://github.com/udamiano","followers_url":"https://api.github.com/users/udamiano/followers","following_url":"https://api.github.com/users/udamiano/following{/other_user}","gists_url":"https://api.github.com/users/udamiano/gists{/gist_id}","starred_url":"https://api.github.com/users/udamiano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udamiano/subscriptions","organizations_url":"https://api.github.com/users/udamiano/orgs","repos_url":"https://api.github.com/users/udamiano/repos","events_url":"https://api.github.com/users/udamiano/events{/privacy}","received_events_url":"https://api.github.com/users/udamiano/received_events","type":"User","site_admin":false},"html_url":"https://github.com/udamiano/Sweng_Golf","description":null,"fork":false,"url":"https://api.github.com/repos/udamiano/Sweng_Golf","forks_url":"https://api.github.com/repos/udamiano/Sweng_Golf/forks","keys_url":"https://api.github.com/repos/udamiano/Sweng_Golf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/udamiano/Sweng_Golf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/udamiano/Sweng_Golf/teams","hooks_url":"https://api.github.com/repos/udamiano/Sweng_Golf/hooks","issue_events_url":"https://api.github.com/repos/udamiano/Sweng_Golf/issues/events{/number}","events_url":"https://api.github.com/repos/udamiano/Sweng_Golf/events","assignees_url":"https://api.github.com/repos/udamiano/Sweng_Golf/assignees{/user}","branches_url":"https://api.github.com/repos/udamiano/Sweng_Golf/branches{/branch}","tags_url":"https://api.github.com/repos/udamiano/Sweng_Golf/tags","blobs_url":"https://api.github.com/repos/udamiano/Sweng_Golf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/udamiano/Sweng_Golf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/udamiano/Sweng_Golf/git/refs{/sha}","trees_url":"https://api.github.com/repos/udamiano/Sweng_Golf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/udamiano/Sweng_Golf/statuses/{sha}","languages_url":"https://api.github.com/repos/udamiano/Sweng_Golf/languages","stargazers_url":"https://api.github.com/repos/udamiano/Sweng_Golf/stargazers","contributors_url":"https://api.github.com/repos/udamiano/Sweng_Golf/contributors","subscribers_url":"https://api.github.com/repos/udamiano/Sweng_Golf/subscribers","subscription_url":"https://api.github.com/repos/udamiano/Sweng_Golf/subscription","commits_url":"https://api.github.com/repos/udamiano/Sweng_Golf/commits{/sha}","git_commits_url":"https://api.github.com/repos/udamiano/Sweng_Golf/git/commits{/sha}","comments_url":"https://api.github.com/repos/udamiano/Sweng_Golf/comments{/number}","issue_comment_url":"https://api.github.com/repos/udamiano/Sweng_Golf/issues/comments{/number}","contents_url":"https://api.github.com/repos/udamiano/Sweng_Golf/contents/{+path}","compare_url":"https://api.github.com/repos/udamiano/Sweng_Golf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/udamiano/Sweng_Golf/merges","archive_url":"https://api.github.com/repos/udamiano/Sweng_Golf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/udamiano/Sweng_Golf/downloads","issues_url":"https://api.github.com/repos/udamiano/Sweng_Golf/issues{/number}","pulls_url":"https://api.github.com/repos/udamiano/Sweng_Golf/pulls{/number}","milestones_url":"https://api.github.com/repos/udamiano/Sweng_Golf/milestones{/number}","notifications_url":"https://api.github.com/repos/udamiano/Sweng_Golf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/udamiano/Sweng_Golf/labels{/name}","releases_url":"https://api.github.com/repos/udamiano/Sweng_Golf/releases{/id}","deployments_url":"https://api.github.com/repos/udamiano/Sweng_Golf/deployments","created_at":"2018-09-26T11:15:43Z","updated_at":"2018-10-05T10:24:12Z","pushed_at":"2018-10-07T09:58:00Z","git_url":"git://github.com/udamiano/Sweng_Golf.git","ssh_url":"git@github.com:udamiano/Sweng_Golf.git","clone_url":"https://github.com/udamiano/Sweng_Golf.git","svn_url":"https://github.com/udamiano/Sweng_Golf","homepage":null,"size":251,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":7,"license":null,"forks":1,"open_issues":7,"watchers":3,"default_branch":"master"}},"base":{"label":"udamiano:master","ref":"master","sha":"467e3cada1bb90a06dda2541901d65eebb85453d","user":{"login":"udamiano","id":36622907,"node_id":"MDQ6VXNlcjM2NjIyOTA3","avatar_url":"https://avatars0.githubusercontent.com/u/36622907?v=4","gravatar_id":"","url":"https://api.github.com/users/udamiano","html_url":"https://github.com/udamiano","followers_url":"https://api.github.com/users/udamiano/followers","following_url":"https://api.github.com/users/udamiano/following{/other_user}","gists_url":"https://api.github.com/users/udamiano/gists{/gist_id}","starred_url":"https://api.github.com/users/udamiano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udamiano/subscriptions","organizations_url":"https://api.github.com/users/udamiano/orgs","repos_url":"https://api.github.com/users/udamiano/repos","events_url":"https://api.github.com/users/udamiano/events{/privacy}","received_events_url":"https://api.github.com/users/udamiano/received_events","type":"User","site_admin":false},"repo":{"id":150414453,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA0MTQ0NTM=","name":"Sweng_Golf","full_name":"udamiano/Sweng_Golf","private":false,"owner":{"login":"udamiano","id":36622907,"node_id":"MDQ6VXNlcjM2NjIyOTA3","avatar_url":"https://avatars0.githubusercontent.com/u/36622907?v=4","gravatar_id":"","url":"https://api.github.com/users/udamiano","html_url":"https://github.com/udamiano","followers_url":"https://api.github.com/users/udamiano/followers","following_url":"https://api.github.com/users/udamiano/following{/other_user}","gists_url":"https://api.github.com/users/udamiano/gists{/gist_id}","starred_url":"https://api.github.com/users/udamiano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udamiano/subscriptions","organizations_url":"https://api.github.com/users/udamiano/orgs","repos_url":"https://api.github.com/users/udamiano/repos","events_url":"https://api.github.com/users/udamiano/events{/privacy}","received_events_url":"https://api.github.com/users/udamiano/received_events","type":"User","site_admin":false},"html_url":"https://github.com/udamiano/Sweng_Golf","description":null,"fork":false,"url":"https://api.github.com/repos/udamiano/Sweng_Golf","forks_url":"https://api.github.com/repos/udamiano/Sweng_Golf/forks","keys_url":"https://api.github.com/repos/udamiano/Sweng_Golf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/udamiano/Sweng_Golf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/udamiano/Sweng_Golf/teams","hooks_url":"https://api.github.com/repos/udamiano/Sweng_Golf/hooks","issue_events_url":"https://api.github.com/repos/udamiano/Sweng_Golf/issues/events{/number}","events_url":"https://api.github.com/repos/udamiano/Sweng_Golf/events","assignees_url":"https://api.github.com/repos/udamiano/Sweng_Golf/assignees{/user}","branches_url":"https://api.github.com/repos/udamiano/Sweng_Golf/branches{/branch}","tags_url":"https://api.github.com/repos/udamiano/Sweng_Golf/tags","blobs_url":"https://api.github.com/repos/udamiano/Sweng_Golf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/udamiano/Sweng_Golf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/udamiano/Sweng_Golf/git/refs{/sha}","trees_url":"https://api.github.com/repos/udamiano/Sweng_Golf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/udamiano/Sweng_Golf/statuses/{sha}","languages_url":"https://api.github.com/repos/udamiano/Sweng_Golf/languages","stargazers_url":"https://api.github.com/repos/udamiano/Sweng_Golf/stargazers","contributors_url":"https://api.github.com/repos/udamiano/Sweng_Golf/contributors","subscribers_url":"https://api.github.com/repos/udamiano/Sweng_Golf/subscribers","subscription_url":"https://api.github.com/repos/udamiano/Sweng_Golf/subscription","commits_url":"https://api.github.com/repos/udamiano/Sweng_Golf/commits{/sha}","git_commits_url":"https://api.github.com/repos/udamiano/Sweng_Golf/git/commits{/sha}","comments_url":"https://api.github.com/repos/udamiano/Sweng_Golf/comments{/number}","issue_comment_url":"https://api.github.com/repos/udamiano/Sweng_Golf/issues/comments{/number}","contents_url":"https://api.github.com/repos/udamiano/Sweng_Golf/contents/{+path}","compare_url":"https://api.github.com/repos/udamiano/Sweng_Golf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/udamiano/Sweng_Golf/merges","archive_url":"https://api.github.com/repos/udamiano/Sweng_Golf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/udamiano/Sweng_Golf/downloads","issues_url":"https://api.github.com/repos/udamiano/Sweng_Golf/issues{/number}","pulls_url":"https://api.github.com/repos/udamiano/Sweng_Golf/pulls{/number}","milestones_url":"https://api.github.com/repos/udamiano/Sweng_Golf/milestones{/number}","notifications_url":"https://api.github.com/repos/udamiano/Sweng_Golf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/udamiano/Sweng_Golf/labels{/name}","releases_url":"https://api.github.com/repos/udamiano/Sweng_Golf/releases{/id}","deployments_url":"https://api.github.com/repos/udamiano/Sweng_Golf/deployments","created_at":"2018-09-26T11:15:43Z","updated_at":"2018-10-05T10:24:12Z","pushed_at":"2018-10-07T09:58:00Z","git_url":"git://github.com/udamiano/Sweng_Golf.git","ssh_url":"git@github.com:udamiano/Sweng_Golf.git","clone_url":"https://github.com/udamiano/Sweng_Golf.git","svn_url":"https://github.com/udamiano/Sweng_Golf","homepage":null,"size":251,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":7,"license":null,"forks":1,"open_issues":7,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/udamiano/Sweng_Golf/pulls/18"},"html":{"href":"https://github.com/udamiano/Sweng_Golf/pull/18"},"issue":{"href":"https://api.github.com/repos/udamiano/Sweng_Golf/issues/18"},"comments":{"href":"https://api.github.com/repos/udamiano/Sweng_Golf/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/udamiano/Sweng_Golf/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/udamiano/Sweng_Golf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/udamiano/Sweng_Golf/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/udamiano/Sweng_Golf/statuses/295187d6688bfda659606549eae50b9cf32c3c2e"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"codeclimate"}}