{"action":"created","issue":{"url":"https://api.github.com/repos/stefanangelov/Delta-Source-Internship/issues/16","repository_url":"https://api.github.com/repos/stefanangelov/Delta-Source-Internship","labels_url":"https://api.github.com/repos/stefanangelov/Delta-Source-Internship/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/stefanangelov/Delta-Source-Internship/issues/16/comments","events_url":"https://api.github.com/repos/stefanangelov/Delta-Source-Internship/issues/16/events","html_url":"https://github.com/stefanangelov/Delta-Source-Internship/issues/16","id":331534283,"node_id":"MDU6SXNzdWUzMzE1MzQyODM=","number":16,"title":"Old McDonald Song","user":{"login":"vanyamihova-deltasource","id":31440791,"node_id":"MDQ6VXNlcjMxNDQwNzkx","avatar_url":"https://avatars0.githubusercontent.com/u/31440791?v=4","gravatar_id":"","url":"https://api.github.com/users/vanyamihova-deltasource","html_url":"https://github.com/vanyamihova-deltasource","followers_url":"https://api.github.com/users/vanyamihova-deltasource/followers","following_url":"https://api.github.com/users/vanyamihova-deltasource/following{/other_user}","gists_url":"https://api.github.com/users/vanyamihova-deltasource/gists{/gist_id}","starred_url":"https://api.github.com/users/vanyamihova-deltasource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanyamihova-deltasource/subscriptions","organizations_url":"https://api.github.com/users/vanyamihova-deltasource/orgs","repos_url":"https://api.github.com/users/vanyamihova-deltasource/repos","events_url":"https://api.github.com/users/vanyamihova-deltasource/events{/privacy}","received_events_url":"https://api.github.com/users/vanyamihova-deltasource/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Akeredchieva","id":18008650,"node_id":"MDQ6VXNlcjE4MDA4NjUw","avatar_url":"https://avatars2.githubusercontent.com/u/18008650?v=4","gravatar_id":"","url":"https://api.github.com/users/Akeredchieva","html_url":"https://github.com/Akeredchieva","followers_url":"https://api.github.com/users/Akeredchieva/followers","following_url":"https://api.github.com/users/Akeredchieva/following{/other_user}","gists_url":"https://api.github.com/users/Akeredchieva/gists{/gist_id}","starred_url":"https://api.github.com/users/Akeredchieva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Akeredchieva/subscriptions","organizations_url":"https://api.github.com/users/Akeredchieva/orgs","repos_url":"https://api.github.com/users/Akeredchieva/repos","events_url":"https://api.github.com/users/Akeredchieva/events{/privacy}","received_events_url":"https://api.github.com/users/Akeredchieva/received_events","type":"User","site_admin":false},"assignees":[{"login":"Akeredchieva","id":18008650,"node_id":"MDQ6VXNlcjE4MDA4NjUw","avatar_url":"https://avatars2.githubusercontent.com/u/18008650?v=4","gravatar_id":"","url":"https://api.github.com/users/Akeredchieva","html_url":"https://github.com/Akeredchieva","followers_url":"https://api.github.com/users/Akeredchieva/followers","following_url":"https://api.github.com/users/Akeredchieva/following{/other_user}","gists_url":"https://api.github.com/users/Akeredchieva/gists{/gist_id}","starred_url":"https://api.github.com/users/Akeredchieva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Akeredchieva/subscriptions","organizations_url":"https://api.github.com/users/Akeredchieva/orgs","repos_url":"https://api.github.com/users/Akeredchieva/repos","events_url":"https://api.github.com/users/Akeredchieva/events{/privacy}","received_events_url":"https://api.github.com/users/Akeredchieva/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/stefanangelov/Delta-Source-Internship/milestones/1","html_url":"https://github.com/stefanangelov/Delta-Source-Internship/milestone/1","labels_url":"https://api.github.com/repos/stefanangelov/Delta-Source-Internship/milestones/1/labels","id":3417570,"node_id":"MDk6TWlsZXN0b25lMzQxNzU3MA==","number":1,"title":"Milestone 1","description":"","creator":{"login":"stefanangelov","id":40136091,"node_id":"MDQ6VXNlcjQwMTM2MDkx","avatar_url":"https://avatars3.githubusercontent.com/u/40136091?v=4","gravatar_id":"","url":"https://api.github.com/users/stefanangelov","html_url":"https://github.com/stefanangelov","followers_url":"https://api.github.com/users/stefanangelov/followers","following_url":"https://api.github.com/users/stefanangelov/following{/other_user}","gists_url":"https://api.github.com/users/stefanangelov/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanangelov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanangelov/subscriptions","organizations_url":"https://api.github.com/users/stefanangelov/orgs","repos_url":"https://api.github.com/users/stefanangelov/repos","events_url":"https://api.github.com/users/stefanangelov/events{/privacy}","received_events_url":"https://api.github.com/users/stefanangelov/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":0,"state":"open","created_at":"2018-06-12T01:51:47Z","updated_at":"2018-06-15T17:08:59Z","due_on":"2018-06-15T07:00:00Z","closed_at":null},"comments":1,"created_at":"2018-06-12T10:44:45Z","updated_at":"2018-06-20T08:55:13Z","closed_at":null,"author_association":"COLLABORATOR","body":"You might have heard the nursery rhyme “Old McDonald”. Its lyrics teach kids about the sounds animals make. You may recall the part of the lyrics about the Cow:\n\n> <i>Old McDonald had a farm, E-I-E-I-O</i></br>\n> <i>And on his farm he had a Cow, E-I-E-I-O</i></br>\n> <i>With a Moo Moo here</i></br>\n> <i>and a Moo Moo there… </i></br>\n\nThe lyrics can be generalized for different animals, each having a different name and sound. With knowledge of object-oriented programming, you want to demonstrate that it is possible to write a program that sings “Old McDonald”. To show that your program works, add the following (animal, sound) to the list: (Cow, Moo), (Dog, Woof), and (Duck, Quack).\nUse the following template below to solve your problem:\n\n```\npublic class OldMcDonald {\n    private Animal[] animals;\n\n    // Fixed farm size\n    public OldMcDonald() { \n        /* TODO: Create your farm, an Animal array */ \n    }\n\n    public void sing() {\n        for (int i = 0; i < animals.length; i++) {\n            System.out.println(\n                \"Old McDonald had a farm, E-I-E-I-O\"+ \n                /* TODO: Add the rest of the lyrics here... */\n            );\n        }\n    }\n\n    public static void main(String[] args) {\n        OldMcDonald oldMcDonald = new OldMcDonald();\n        oldMcDonald.sing();\n    }\n}\n\nclass Animal { \n    /* TODO: Implement data and functionality of an Animal here */ \n}\n```\n"},"comment":{"url":"https://api.github.com/repos/stefanangelov/Delta-Source-Internship/issues/comments/398675521","html_url":"https://github.com/stefanangelov/Delta-Source-Internship/issues/16#issuecomment-398675521","issue_url":"https://api.github.com/repos/stefanangelov/Delta-Source-Internship/issues/16","id":398675521,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODY3NTUyMQ==","user":{"login":"filipovv","id":26014136,"node_id":"MDQ6VXNlcjI2MDE0MTM2","avatar_url":"https://avatars3.githubusercontent.com/u/26014136?v=4","gravatar_id":"","url":"https://api.github.com/users/filipovv","html_url":"https://github.com/filipovv","followers_url":"https://api.github.com/users/filipovv/followers","following_url":"https://api.github.com/users/filipovv/following{/other_user}","gists_url":"https://api.github.com/users/filipovv/gists{/gist_id}","starred_url":"https://api.github.com/users/filipovv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filipovv/subscriptions","organizations_url":"https://api.github.com/users/filipovv/orgs","repos_url":"https://api.github.com/users/filipovv/repos","events_url":"https://api.github.com/users/filipovv/events{/privacy}","received_events_url":"https://api.github.com/users/filipovv/received_events","type":"User","site_admin":false},"created_at":"2018-06-20T08:55:13Z","updated_at":"2018-06-20T08:55:13Z","author_association":"COLLABORATOR","body":"@vanyamihova-deltasource @nikolayivanov-deltasource @stefanangelov \r\nFinished my review of the app and I have the following comments for it:\r\n- setter for class Animal should be private instead of public;\r\n- use of method makeSound() is the same as the getter method for sound, can use just one of them;\r\n- the constant for the cow sound can be \"Moo Moo\" instead of just \"Moo\" to reduce code when printing the lyrics in the sing method of the app. Same for the other derived classes of Animal."}}
{"actor":{"display_login":"filipovv"}}