{"action":"created","comment":{"url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/pulls/comments/91233682","pull_request_review_id":11741961,"id":91233682,"diff_hunk":"@@ -0,0 +1,53 @@\n+package com.theironyard.charlotte;\n+\n+/**\n+ * Created by kelseynewman on 11/30/16.\n+ */\n+public class Aggressor {\n+    private int numberOfFoes;\n+    private String whoIsIt;\n+    private int howDangerousAreThey;\n+    Boolean isItYouKnowWho;\n+    String spellOfChoice;\n+    String outcome;\n+\n+    public Aggressor(String aggressorWhoIsIt, int aggressorHowDangerousAreThey, int aggressorNumberOfFoes) {\n+        whoIsIt = aggressorWhoIsIt;\n+        howDangerousAreThey = aggressorHowDangerousAreThey;\n+        numberOfFoes = aggressorNumberOfFoes;\n+    }\n+    //getter\n+    public int getNumberOfFoes() {\n+        return numberOfFoes;\n+    }\n+    //setter\n+    public void setNumberOfFoes(int newFoesHaveJoined) {\n+        if (newFoesHaveJoined> 0 && newFoesHaveJoined < 100) {\n+            numberOfFoes = newFoesHaveJoined;\n+        } else {\n+            System.out.println(\"NOPE\");\n+        }\n+    }\n+\n+    public void attackedHarry() {\n+        if (numberOfFoes <= 2) {","path":"161130_Homework/src/com/theironyard/charlotte/Aggressor.java","position":33,"original_position":33,"commit_id":"5b63aea3a99f777ec1ef5c27221cf2a42cf98669","original_commit_id":"5b63aea3a99f777ec1ef5c27221cf2a42cf98669","user":{"login":"raynjamin","id":426472,"avatar_url":"https://avatars.githubusercontent.com/u/426472?v=3","gravatar_id":"","url":"https://api.github.com/users/raynjamin","html_url":"https://github.com/raynjamin","followers_url":"https://api.github.com/users/raynjamin/followers","following_url":"https://api.github.com/users/raynjamin/following{/other_user}","gists_url":"https://api.github.com/users/raynjamin/gists{/gist_id}","starred_url":"https://api.github.com/users/raynjamin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raynjamin/subscriptions","organizations_url":"https://api.github.com/users/raynjamin/orgs","repos_url":"https://api.github.com/users/raynjamin/repos","events_url":"https://api.github.com/users/raynjamin/events{/privacy}","received_events_url":"https://api.github.com/users/raynjamin/received_events","type":"User","site_admin":false},"body":"This is an odd usage/interaction between a method and the class's fields.\r\n\r\n","created_at":"2016-12-07T06:30:35Z","updated_at":"2016-12-07T06:34:46Z","html_url":"https://github.com/TIY-Charlotte-Java/MethodsAndConstructors/pull/4#discussion_r91233682","pull_request_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/pulls/comments/91233682"},"html":{"href":"https://github.com/TIY-Charlotte-Java/MethodsAndConstructors/pull/4#discussion_r91233682"},"pull_request":{"href":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/pulls/4","id":96023870,"html_url":"https://github.com/TIY-Charlotte-Java/MethodsAndConstructors/pull/4","diff_url":"https://github.com/TIY-Charlotte-Java/MethodsAndConstructors/pull/4.diff","patch_url":"https://github.com/TIY-Charlotte-Java/MethodsAndConstructors/pull/4.patch","issue_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/issues/4","number":4,"state":"open","locked":false,"title":"Homework submission","user":{"login":"KelseyNewman147","id":23456825,"avatar_url":"https://avatars.githubusercontent.com/u/23456825?v=3","gravatar_id":"","url":"https://api.github.com/users/KelseyNewman147","html_url":"https://github.com/KelseyNewman147","followers_url":"https://api.github.com/users/KelseyNewman147/followers","following_url":"https://api.github.com/users/KelseyNewman147/following{/other_user}","gists_url":"https://api.github.com/users/KelseyNewman147/gists{/gist_id}","starred_url":"https://api.github.com/users/KelseyNewman147/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KelseyNewman147/subscriptions","organizations_url":"https://api.github.com/users/KelseyNewman147/orgs","repos_url":"https://api.github.com/users/KelseyNewman147/repos","events_url":"https://api.github.com/users/KelseyNewman147/events{/privacy}","received_events_url":"https://api.github.com/users/KelseyNewman147/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-01T04:19:57Z","updated_at":"2016-12-07T06:34:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e1365d1746a6dd6850bdacb6a3eefc1e983fe61c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/pulls/4/commits","review_comments_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/pulls/4/comments","review_comment_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/issues/4/comments","statuses_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/statuses/5b63aea3a99f777ec1ef5c27221cf2a42cf98669","head":{"label":"KelseyNewman147:master","ref":"master","sha":"5b63aea3a99f777ec1ef5c27221cf2a42cf98669","user":{"login":"KelseyNewman147","id":23456825,"avatar_url":"https://avatars.githubusercontent.com/u/23456825?v=3","gravatar_id":"","url":"https://api.github.com/users/KelseyNewman147","html_url":"https://github.com/KelseyNewman147","followers_url":"https://api.github.com/users/KelseyNewman147/followers","following_url":"https://api.github.com/users/KelseyNewman147/following{/other_user}","gists_url":"https://api.github.com/users/KelseyNewman147/gists{/gist_id}","starred_url":"https://api.github.com/users/KelseyNewman147/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KelseyNewman147/subscriptions","organizations_url":"https://api.github.com/users/KelseyNewman147/orgs","repos_url":"https://api.github.com/users/KelseyNewman147/repos","events_url":"https://api.github.com/users/KelseyNewman147/events{/privacy}","received_events_url":"https://api.github.com/users/KelseyNewman147/received_events","type":"User","site_admin":false},"repo":{"id":75210016,"name":"MethodsAndConstructors","full_name":"KelseyNewman147/MethodsAndConstructors","owner":{"login":"KelseyNewman147","id":23456825,"avatar_url":"https://avatars.githubusercontent.com/u/23456825?v=3","gravatar_id":"","url":"https://api.github.com/users/KelseyNewman147","html_url":"https://github.com/KelseyNewman147","followers_url":"https://api.github.com/users/KelseyNewman147/followers","following_url":"https://api.github.com/users/KelseyNewman147/following{/other_user}","gists_url":"https://api.github.com/users/KelseyNewman147/gists{/gist_id}","starred_url":"https://api.github.com/users/KelseyNewman147/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KelseyNewman147/subscriptions","organizations_url":"https://api.github.com/users/KelseyNewman147/orgs","repos_url":"https://api.github.com/users/KelseyNewman147/repos","events_url":"https://api.github.com/users/KelseyNewman147/events{/privacy}","received_events_url":"https://api.github.com/users/KelseyNewman147/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KelseyNewman147/MethodsAndConstructors","description":null,"fork":true,"url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors","forks_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/forks","keys_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/teams","hooks_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/hooks","issue_events_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/issues/events{/number}","events_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/events","assignees_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/assignees{/user}","branches_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/branches{/branch}","tags_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/tags","blobs_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/git/refs{/sha}","trees_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/statuses/{sha}","languages_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/languages","stargazers_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/stargazers","contributors_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/contributors","subscribers_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/subscribers","subscription_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/subscription","commits_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/commits{/sha}","git_commits_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/git/commits{/sha}","comments_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/comments{/number}","issue_comment_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/issues/comments{/number}","contents_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/contents/{+path}","compare_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/merges","archive_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/downloads","issues_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/issues{/number}","pulls_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/pulls{/number}","milestones_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/milestones{/number}","notifications_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/labels{/name}","releases_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/releases{/id}","deployments_url":"https://api.github.com/repos/KelseyNewman147/MethodsAndConstructors/deployments","created_at":"2016-11-30T17:22:25Z","updated_at":"2016-12-01T04:19:11Z","pushed_at":"2016-12-01T04:19:09Z","git_url":"git://github.com/KelseyNewman147/MethodsAndConstructors.git","ssh_url":"git@github.com:KelseyNewman147/MethodsAndConstructors.git","clone_url":"https://github.com/KelseyNewman147/MethodsAndConstructors.git","svn_url":"https://github.com/KelseyNewman147/MethodsAndConstructors","homepage":null,"size":17,"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":"TIY-Charlotte-Java:master","ref":"master","sha":"257101d8f841ec0e54836776becd88669be66db1","user":{"login":"TIY-Charlotte-Java","id":17955174,"avatar_url":"https://avatars.githubusercontent.com/u/17955174?v=3","gravatar_id":"","url":"https://api.github.com/users/TIY-Charlotte-Java","html_url":"https://github.com/TIY-Charlotte-Java","followers_url":"https://api.github.com/users/TIY-Charlotte-Java/followers","following_url":"https://api.github.com/users/TIY-Charlotte-Java/following{/other_user}","gists_url":"https://api.github.com/users/TIY-Charlotte-Java/gists{/gist_id}","starred_url":"https://api.github.com/users/TIY-Charlotte-Java/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TIY-Charlotte-Java/subscriptions","organizations_url":"https://api.github.com/users/TIY-Charlotte-Java/orgs","repos_url":"https://api.github.com/users/TIY-Charlotte-Java/repos","events_url":"https://api.github.com/users/TIY-Charlotte-Java/events{/privacy}","received_events_url":"https://api.github.com/users/TIY-Charlotte-Java/received_events","type":"Organization","site_admin":false},"repo":{"id":75208641,"name":"MethodsAndConstructors","full_name":"TIY-Charlotte-Java/MethodsAndConstructors","owner":{"login":"TIY-Charlotte-Java","id":17955174,"avatar_url":"https://avatars.githubusercontent.com/u/17955174?v=3","gravatar_id":"","url":"https://api.github.com/users/TIY-Charlotte-Java","html_url":"https://github.com/TIY-Charlotte-Java","followers_url":"https://api.github.com/users/TIY-Charlotte-Java/followers","following_url":"https://api.github.com/users/TIY-Charlotte-Java/following{/other_user}","gists_url":"https://api.github.com/users/TIY-Charlotte-Java/gists{/gist_id}","starred_url":"https://api.github.com/users/TIY-Charlotte-Java/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TIY-Charlotte-Java/subscriptions","organizations_url":"https://api.github.com/users/TIY-Charlotte-Java/orgs","repos_url":"https://api.github.com/users/TIY-Charlotte-Java/repos","events_url":"https://api.github.com/users/TIY-Charlotte-Java/events{/privacy}","received_events_url":"https://api.github.com/users/TIY-Charlotte-Java/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TIY-Charlotte-Java/MethodsAndConstructors","description":null,"fork":false,"url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors","forks_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/forks","keys_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/teams","hooks_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/hooks","issue_events_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/issues/events{/number}","events_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/events","assignees_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/assignees{/user}","branches_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/branches{/branch}","tags_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/tags","blobs_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/git/refs{/sha}","trees_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/statuses/{sha}","languages_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/languages","stargazers_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/stargazers","contributors_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/contributors","subscribers_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/subscribers","subscription_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/subscription","commits_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/commits{/sha}","git_commits_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/git/commits{/sha}","comments_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/comments{/number}","issue_comment_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/issues/comments{/number}","contents_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/contents/{+path}","compare_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/merges","archive_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/downloads","issues_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/issues{/number}","pulls_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/pulls{/number}","milestones_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/milestones{/number}","notifications_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/labels{/name}","releases_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/releases{/id}","deployments_url":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/deployments","created_at":"2016-11-30T17:05:22Z","updated_at":"2016-11-30T17:05:22Z","pushed_at":"2016-12-01T18:24:23Z","git_url":"git://github.com/TIY-Charlotte-Java/MethodsAndConstructors.git","ssh_url":"git@github.com:TIY-Charlotte-Java/MethodsAndConstructors.git","clone_url":"https://github.com/TIY-Charlotte-Java/MethodsAndConstructors.git","svn_url":"https://github.com/TIY-Charlotte-Java/MethodsAndConstructors","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":4,"forks":7,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/pulls/4"},"html":{"href":"https://github.com/TIY-Charlotte-Java/MethodsAndConstructors/pull/4"},"issue":{"href":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/issues/4"},"comments":{"href":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/TIY-Charlotte-Java/MethodsAndConstructors/statuses/5b63aea3a99f777ec1ef5c27221cf2a42cf98669"}}}}
{"actor":{"display_login":"raynjamin"}}