{"action":"created","issue":{"url":"https://api.github.com/repos/kjacks21/swe619-fall2018/issues/11","repository_url":"https://api.github.com/repos/kjacks21/swe619-fall2018","labels_url":"https://api.github.com/repos/kjacks21/swe619-fall2018/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/kjacks21/swe619-fall2018/issues/11/comments","events_url":"https://api.github.com/repos/kjacks21/swe619-fall2018/issues/11/events","html_url":"https://github.com/kjacks21/swe619-fall2018/pull/11","id":381369936,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxMzU4MzQ0","number":11,"title":"HW 11","user":{"login":"kjacks21","id":11047068,"node_id":"MDQ6VXNlcjExMDQ3MDY4","avatar_url":"https://avatars2.githubusercontent.com/u/11047068?v=4","gravatar_id":"","url":"https://api.github.com/users/kjacks21","html_url":"https://github.com/kjacks21","followers_url":"https://api.github.com/users/kjacks21/followers","following_url":"https://api.github.com/users/kjacks21/following{/other_user}","gists_url":"https://api.github.com/users/kjacks21/gists{/gist_id}","starred_url":"https://api.github.com/users/kjacks21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjacks21/subscriptions","organizations_url":"https://api.github.com/users/kjacks21/orgs","repos_url":"https://api.github.com/users/kjacks21/repos","events_url":"https://api.github.com/users/kjacks21/events{/privacy}","received_events_url":"https://api.github.com/users/kjacks21/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"1000DS000000","id":10551935,"node_id":"MDQ6VXNlcjEwNTUxOTM1","avatar_url":"https://avatars3.githubusercontent.com/u/10551935?v=4","gravatar_id":"","url":"https://api.github.com/users/1000DS000000","html_url":"https://github.com/1000DS000000","followers_url":"https://api.github.com/users/1000DS000000/followers","following_url":"https://api.github.com/users/1000DS000000/following{/other_user}","gists_url":"https://api.github.com/users/1000DS000000/gists{/gist_id}","starred_url":"https://api.github.com/users/1000DS000000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1000DS000000/subscriptions","organizations_url":"https://api.github.com/users/1000DS000000/orgs","repos_url":"https://api.github.com/users/1000DS000000/repos","events_url":"https://api.github.com/users/1000DS000000/events{/privacy}","received_events_url":"https://api.github.com/users/1000DS000000/received_events","type":"User","site_admin":false},"assignees":[{"login":"1000DS000000","id":10551935,"node_id":"MDQ6VXNlcjEwNTUxOTM1","avatar_url":"https://avatars3.githubusercontent.com/u/10551935?v=4","gravatar_id":"","url":"https://api.github.com/users/1000DS000000","html_url":"https://github.com/1000DS000000","followers_url":"https://api.github.com/users/1000DS000000/followers","following_url":"https://api.github.com/users/1000DS000000/following{/other_user}","gists_url":"https://api.github.com/users/1000DS000000/gists{/gist_id}","starred_url":"https://api.github.com/users/1000DS000000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1000DS000000/subscriptions","organizations_url":"https://api.github.com/users/1000DS000000/orgs","repos_url":"https://api.github.com/users/1000DS000000/repos","events_url":"https://api.github.com/users/1000DS000000/events{/privacy}","received_events_url":"https://api.github.com/users/1000DS000000/received_events","type":"User","site_admin":false},{"login":"kjacks21","id":11047068,"node_id":"MDQ6VXNlcjExMDQ3MDY4","avatar_url":"https://avatars2.githubusercontent.com/u/11047068?v=4","gravatar_id":"","url":"https://api.github.com/users/kjacks21","html_url":"https://github.com/kjacks21","followers_url":"https://api.github.com/users/kjacks21/followers","following_url":"https://api.github.com/users/kjacks21/following{/other_user}","gists_url":"https://api.github.com/users/kjacks21/gists{/gist_id}","starred_url":"https://api.github.com/users/kjacks21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjacks21/subscriptions","organizations_url":"https://api.github.com/users/kjacks21/orgs","repos_url":"https://api.github.com/users/kjacks21/repos","events_url":"https://api.github.com/users/kjacks21/events{/privacy}","received_events_url":"https://api.github.com/users/kjacks21/received_events","type":"User","site_admin":false},{"login":"ngreenwald89","id":15183553,"node_id":"MDQ6VXNlcjE1MTgzNTUz","avatar_url":"https://avatars0.githubusercontent.com/u/15183553?v=4","gravatar_id":"","url":"https://api.github.com/users/ngreenwald89","html_url":"https://github.com/ngreenwald89","followers_url":"https://api.github.com/users/ngreenwald89/followers","following_url":"https://api.github.com/users/ngreenwald89/following{/other_user}","gists_url":"https://api.github.com/users/ngreenwald89/gists{/gist_id}","starred_url":"https://api.github.com/users/ngreenwald89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngreenwald89/subscriptions","organizations_url":"https://api.github.com/users/ngreenwald89/orgs","repos_url":"https://api.github.com/users/ngreenwald89/repos","events_url":"https://api.github.com/users/ngreenwald89/events{/privacy}","received_events_url":"https://api.github.com/users/ngreenwald89/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-11-15T22:38:49Z","updated_at":"2018-11-17T16:49:13Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/kjacks21/swe619-fall2018/pulls/11","html_url":"https://github.com/kjacks21/swe619-fall2018/pull/11","diff_url":"https://github.com/kjacks21/swe619-fall2018/pull/11.diff","patch_url":"https://github.com/kjacks21/swe619-fall2018/pull/11.patch"},"body":"## Assignment\r\n**Goal**: Favoring composition over inheritance. Bloch, Item 16. \r\nConsider the InstrumentedSet example from Bloch Item 16 (as well as in-class exercise #10A).\r\n\r\n1. Replace sets with collections. equals() no longer satisfies its contract.\r\n- Explain why there is a problem.\r\n- Demonstrate the problem with a suitable JUnit test.\r\n2. Now consider the example:\r\n- With lists.\r\n- With maps.\r\nIn either case, is there a problem with equals()? If so, give a JUnit test. If not, why not? If you're not sure, simply run the code.\r\n\r\nThe GTA will look for correct responses, appropriate JUnit tests, and plausible explanations when doing the grading.\r\n\r\n## Tasks\r\n\r\n- [ ] replace sets with collections and provide JUnit test to demonstrate problem\r\n\r\n- [ ] use lists instead. is there prob with equals()? If so, give JUnit test. If not, why not?\r\n\r\n- [ ] use maps instead. is there prob with equals()? If so, give JUnit test. If not, why not?\r\n\r\n- [ ] Have readme with our answers to some of the questions that can't be adequately answered via code, tests, or comments in code"},"comment":{"url":"https://api.github.com/repos/kjacks21/swe619-fall2018/issues/comments/439630599","html_url":"https://github.com/kjacks21/swe619-fall2018/pull/11#issuecomment-439630599","issue_url":"https://api.github.com/repos/kjacks21/swe619-fall2018/issues/11","id":439630599,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTYzMDU5OQ==","user":{"login":"1000DS000000","id":10551935,"node_id":"MDQ6VXNlcjEwNTUxOTM1","avatar_url":"https://avatars3.githubusercontent.com/u/10551935?v=4","gravatar_id":"","url":"https://api.github.com/users/1000DS000000","html_url":"https://github.com/1000DS000000","followers_url":"https://api.github.com/users/1000DS000000/followers","following_url":"https://api.github.com/users/1000DS000000/following{/other_user}","gists_url":"https://api.github.com/users/1000DS000000/gists{/gist_id}","starred_url":"https://api.github.com/users/1000DS000000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1000DS000000/subscriptions","organizations_url":"https://api.github.com/users/1000DS000000/orgs","repos_url":"https://api.github.com/users/1000DS000000/repos","events_url":"https://api.github.com/users/1000DS000000/events{/privacy}","received_events_url":"https://api.github.com/users/1000DS000000/received_events","type":"User","site_admin":false},"created_at":"2018-11-17T16:49:13Z","updated_at":"2018-11-17T16:49:13Z","author_association":"COLLABORATOR","body":"I can work on the map part of this assignment."}}
{"actor":{"display_login":"1000DS000000"}}