{"action":"created","comment":{"url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/pulls/comments/53407581","id":53407581,"diff_hunk":"@@ -0,0 +1,28 @@\n+package com.company;\n+\n+/**\n+ * Created by michaelhilton on 2/18/16.\n+ */\n+\n+public class Account {\n+    double principal,rate; int daysActive,accountType;\n+    public static final int STANDARD = 0, BUDGET=1,\n+            PREMIUM=2, PREMIUM_PLUS = 3;\n+\n+    public static double calculateFee(Account[] accounts)\n+    {\n+        double totalFee = 0.0;\n+        Account account;\n+        for (int i=0;i<accounts.length;i++) {\n+            account=accounts[i];\n+            if ( account.accountType == Account.PREMIUM ||\n+            account.accountType == Account.PREMIUM_PLUS )\n+              totalFee += .0124 * ( // 1.25% broker's fee","path":"src/com/company/Account.java","position":20,"original_position":20,"commit_id":"925381f4bb32986ff11c4feaed96e947972a6617","original_commit_id":"925381f4bb32986ff11c4feaed96e947972a6617","user":{"login":"MichaelHilton","id":1170420,"avatar_url":"https://avatars.githubusercontent.com/u/1170420?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelHilton","html_url":"https://github.com/MichaelHilton","followers_url":"https://api.github.com/users/MichaelHilton/followers","following_url":"https://api.github.com/users/MichaelHilton/following{/other_user}","gists_url":"https://api.github.com/users/MichaelHilton/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelHilton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelHilton/subscriptions","organizations_url":"https://api.github.com/users/MichaelHilton/orgs","repos_url":"https://api.github.com/users/MichaelHilton/repos","events_url":"https://api.github.com/users/MichaelHilton/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelHilton/received_events","type":"User","site_admin":false},"body":"make this into a private method","created_at":"2016-02-19T00:43:20Z","updated_at":"2016-02-19T00:43:20Z","html_url":"https://github.com/MichaelHilton/samplePeerReview/pull/1#discussion_r53407581","pull_request_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/MichaelHilton/samplePeerReview/pulls/comments/53407581"},"html":{"href":"https://github.com/MichaelHilton/samplePeerReview/pull/1#discussion_r53407581"},"pull_request":{"href":"https://api.github.com/repos/MichaelHilton/samplePeerReview/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/pulls/1","id":59867849,"html_url":"https://github.com/MichaelHilton/samplePeerReview/pull/1","diff_url":"https://github.com/MichaelHilton/samplePeerReview/pull/1.diff","patch_url":"https://github.com/MichaelHilton/samplePeerReview/pull/1.patch","issue_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/issues/1","number":1,"state":"open","locked":false,"title":"added Account Class","user":{"login":"MichaelHilton","id":1170420,"avatar_url":"https://avatars.githubusercontent.com/u/1170420?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelHilton","html_url":"https://github.com/MichaelHilton","followers_url":"https://api.github.com/users/MichaelHilton/followers","following_url":"https://api.github.com/users/MichaelHilton/following{/other_user}","gists_url":"https://api.github.com/users/MichaelHilton/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelHilton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelHilton/subscriptions","organizations_url":"https://api.github.com/users/MichaelHilton/orgs","repos_url":"https://api.github.com/users/MichaelHilton/repos","events_url":"https://api.github.com/users/MichaelHilton/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelHilton/received_events","type":"User","site_admin":false},"body":"This is some code to add an Account class","created_at":"2016-02-18T21:41:26Z","updated_at":"2016-02-19T00:43:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5f10b94f71a0a8c4554f999ace142fd345983051","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/pulls/1/commits","review_comments_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/pulls/1/comments","review_comment_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/issues/1/comments","statuses_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/statuses/925381f4bb32986ff11c4feaed96e947972a6617","head":{"label":"MichaelHilton:addAccount","ref":"addAccount","sha":"925381f4bb32986ff11c4feaed96e947972a6617","user":{"login":"MichaelHilton","id":1170420,"avatar_url":"https://avatars.githubusercontent.com/u/1170420?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelHilton","html_url":"https://github.com/MichaelHilton","followers_url":"https://api.github.com/users/MichaelHilton/followers","following_url":"https://api.github.com/users/MichaelHilton/following{/other_user}","gists_url":"https://api.github.com/users/MichaelHilton/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelHilton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelHilton/subscriptions","organizations_url":"https://api.github.com/users/MichaelHilton/orgs","repos_url":"https://api.github.com/users/MichaelHilton/repos","events_url":"https://api.github.com/users/MichaelHilton/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelHilton/received_events","type":"User","site_admin":false},"repo":{"id":52040028,"name":"samplePeerReview","full_name":"MichaelHilton/samplePeerReview","owner":{"login":"MichaelHilton","id":1170420,"avatar_url":"https://avatars.githubusercontent.com/u/1170420?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelHilton","html_url":"https://github.com/MichaelHilton","followers_url":"https://api.github.com/users/MichaelHilton/followers","following_url":"https://api.github.com/users/MichaelHilton/following{/other_user}","gists_url":"https://api.github.com/users/MichaelHilton/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelHilton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelHilton/subscriptions","organizations_url":"https://api.github.com/users/MichaelHilton/orgs","repos_url":"https://api.github.com/users/MichaelHilton/repos","events_url":"https://api.github.com/users/MichaelHilton/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelHilton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MichaelHilton/samplePeerReview","description":"This is a repo to demonstrate how to do a peer review","fork":false,"url":"https://api.github.com/repos/MichaelHilton/samplePeerReview","forks_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/forks","keys_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/teams","hooks_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/hooks","issue_events_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/issues/events{/number}","events_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/events","assignees_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/assignees{/user}","branches_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/branches{/branch}","tags_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/tags","blobs_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/git/refs{/sha}","trees_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/statuses/{sha}","languages_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/languages","stargazers_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/stargazers","contributors_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/contributors","subscribers_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/subscribers","subscription_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/subscription","commits_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/commits{/sha}","git_commits_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/git/commits{/sha}","comments_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/comments{/number}","issue_comment_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/issues/comments{/number}","contents_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/contents/{+path}","compare_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/merges","archive_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/downloads","issues_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/issues{/number}","pulls_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/pulls{/number}","milestones_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/milestones{/number}","notifications_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/labels{/name}","releases_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/releases{/id}","deployments_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/deployments","created_at":"2016-02-18T21:27:46Z","updated_at":"2016-02-18T21:39:52Z","pushed_at":"2016-02-18T21:41:27Z","git_url":"git://github.com/MichaelHilton/samplePeerReview.git","ssh_url":"git@github.com:MichaelHilton/samplePeerReview.git","clone_url":"https://github.com/MichaelHilton/samplePeerReview.git","svn_url":"https://github.com/MichaelHilton/samplePeerReview","homepage":null,"size":1,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"MichaelHilton:master","ref":"master","sha":"433a2539fb2c456b82564a0a01bcaffd01541d40","user":{"login":"MichaelHilton","id":1170420,"avatar_url":"https://avatars.githubusercontent.com/u/1170420?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelHilton","html_url":"https://github.com/MichaelHilton","followers_url":"https://api.github.com/users/MichaelHilton/followers","following_url":"https://api.github.com/users/MichaelHilton/following{/other_user}","gists_url":"https://api.github.com/users/MichaelHilton/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelHilton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelHilton/subscriptions","organizations_url":"https://api.github.com/users/MichaelHilton/orgs","repos_url":"https://api.github.com/users/MichaelHilton/repos","events_url":"https://api.github.com/users/MichaelHilton/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelHilton/received_events","type":"User","site_admin":false},"repo":{"id":52040028,"name":"samplePeerReview","full_name":"MichaelHilton/samplePeerReview","owner":{"login":"MichaelHilton","id":1170420,"avatar_url":"https://avatars.githubusercontent.com/u/1170420?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelHilton","html_url":"https://github.com/MichaelHilton","followers_url":"https://api.github.com/users/MichaelHilton/followers","following_url":"https://api.github.com/users/MichaelHilton/following{/other_user}","gists_url":"https://api.github.com/users/MichaelHilton/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelHilton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelHilton/subscriptions","organizations_url":"https://api.github.com/users/MichaelHilton/orgs","repos_url":"https://api.github.com/users/MichaelHilton/repos","events_url":"https://api.github.com/users/MichaelHilton/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelHilton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MichaelHilton/samplePeerReview","description":"This is a repo to demonstrate how to do a peer review","fork":false,"url":"https://api.github.com/repos/MichaelHilton/samplePeerReview","forks_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/forks","keys_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/teams","hooks_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/hooks","issue_events_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/issues/events{/number}","events_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/events","assignees_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/assignees{/user}","branches_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/branches{/branch}","tags_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/tags","blobs_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/git/refs{/sha}","trees_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/statuses/{sha}","languages_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/languages","stargazers_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/stargazers","contributors_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/contributors","subscribers_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/subscribers","subscription_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/subscription","commits_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/commits{/sha}","git_commits_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/git/commits{/sha}","comments_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/comments{/number}","issue_comment_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/issues/comments{/number}","contents_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/contents/{+path}","compare_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/merges","archive_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/downloads","issues_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/issues{/number}","pulls_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/pulls{/number}","milestones_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/milestones{/number}","notifications_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/labels{/name}","releases_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/releases{/id}","deployments_url":"https://api.github.com/repos/MichaelHilton/samplePeerReview/deployments","created_at":"2016-02-18T21:27:46Z","updated_at":"2016-02-18T21:39:52Z","pushed_at":"2016-02-18T21:41:27Z","git_url":"git://github.com/MichaelHilton/samplePeerReview.git","ssh_url":"git@github.com:MichaelHilton/samplePeerReview.git","clone_url":"https://github.com/MichaelHilton/samplePeerReview.git","svn_url":"https://github.com/MichaelHilton/samplePeerReview","homepage":null,"size":1,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MichaelHilton/samplePeerReview/pulls/1"},"html":{"href":"https://github.com/MichaelHilton/samplePeerReview/pull/1"},"issue":{"href":"https://api.github.com/repos/MichaelHilton/samplePeerReview/issues/1"},"comments":{"href":"https://api.github.com/repos/MichaelHilton/samplePeerReview/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/MichaelHilton/samplePeerReview/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/MichaelHilton/samplePeerReview/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MichaelHilton/samplePeerReview/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/MichaelHilton/samplePeerReview/statuses/925381f4bb32986ff11c4feaed96e947972a6617"}}}}