{"action":"created","comment":{"url":"https://api.github.com/repos/mladen91/homeworkMentorship/pulls/comments/33422360","id":33422360,"diff_hunk":"@@ -0,0 +1,38 @@\n+package ba.bitcamp.homework17.part02.task05;\n+\n+\n+import ba.bitcamp.homework17.part01.task03.Server;\n+import ba.bitcamp.homework17.part01.task04.Client;\n+import ba.bitcamp.homework17.part02.task04.StarNetwork;\n+\n+public class MainComputer2 {\n+\n+\tpublic static void main(String[] args) {\n+\n+\t\t// Creating mac addresses\n+\t\tchar[] m1 = new char[] { '0', '1', '2', '3', '4', '5', '6', '7', '8',\n+\t\t\t\t'9', 'a', 'b' };\n+\t\tchar[] m2 = new char[] { '0', '1', '2', '3', '4', '5', '6', '7', '8',\n+\t\t\t\t'9', 'c', 'b' };\n+\t\tchar[] m3 = new char[] { '0', '2', '1', '3', '4', '5', '6', '7', '8',\n+\t\t\t\t'9', 'd', 'b' };\n+\n+\t\t// Creating client\n+\t\tClient c1 = new Client(\"PC1\", m1);\n+\t\tClient c2 = new Client(\"PC2\", m2);\n+\t\tClient c3 = new Client(\"PC2\", m3);\n+\t\tClient c4 = new Client(\"PC2\", m3);\n+\n+\t\tServer s1 = new Server(\"PC\", m1, 5);\n+\n+\t\tStarNetwork sn1 = new StarNetwork(\"Network\", s1);\n+\n+\t\tsn1.addComputer(c1);\n+\t\tsn1.addComputer(c2);\n+\t\tsn1.addComputer(c3);\n+\t\tsn1.addComputer(c4);\n+\t\tSystem.out.println(sn1);\n+\n+\t}","path":"bitcampHomework17/src/ba/bitcamp/homework17/part02/task05/MainComputer2.java","position":36,"original_position":36,"commit_id":"7faac107f067fecda301d2b4cc4adc907d27233a","original_commit_id":"7faac107f067fecda301d2b4cc4adc907d27233a","user":{"login":"nejra","id":3843133,"avatar_url":"https://avatars.githubusercontent.com/u/3843133?v=3","gravatar_id":"","url":"https://api.github.com/users/nejra","html_url":"https://github.com/nejra","followers_url":"https://api.github.com/users/nejra/followers","following_url":"https://api.github.com/users/nejra/following{/other_user}","gists_url":"https://api.github.com/users/nejra/gists{/gist_id}","starred_url":"https://api.github.com/users/nejra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nejra/subscriptions","organizations_url":"https://api.github.com/users/nejra/orgs","repos_url":"https://api.github.com/users/nejra/repos","events_url":"https://api.github.com/users/nejra/events{/privacy}","received_events_url":"https://api.github.com/users/nejra/received_events","type":"User","site_admin":false},"body":"Izlaz iz main metode treba biti opisniji, a sama metoda treba pokriti sve implementiranje slucajeve. Tebi npr. skroz fali testiranje BusNetwork klase.","created_at":"2015-06-28T12:45:24Z","updated_at":"2015-06-28T12:45:24Z","html_url":"https://github.com/mladen91/homeworkMentorship/pull/2#discussion_r33422360","pull_request_url":"https://api.github.com/repos/mladen91/homeworkMentorship/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/mladen91/homeworkMentorship/pulls/comments/33422360"},"html":{"href":"https://github.com/mladen91/homeworkMentorship/pull/2#discussion_r33422360"},"pull_request":{"href":"https://api.github.com/repos/mladen91/homeworkMentorship/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/mladen91/homeworkMentorship/pulls/2","id":38465348,"html_url":"https://github.com/mladen91/homeworkMentorship/pull/2","diff_url":"https://github.com/mladen91/homeworkMentorship/pull/2.diff","patch_url":"https://github.com/mladen91/homeworkMentorship/pull/2.patch","issue_url":"https://api.github.com/repos/mladen91/homeworkMentorship/issues/2","number":2,"state":"open","locked":false,"title":"Homework17","user":{"login":"mladen91","id":12545897,"avatar_url":"https://avatars.githubusercontent.com/u/12545897?v=3","gravatar_id":"","url":"https://api.github.com/users/mladen91","html_url":"https://github.com/mladen91","followers_url":"https://api.github.com/users/mladen91/followers","following_url":"https://api.github.com/users/mladen91/following{/other_user}","gists_url":"https://api.github.com/users/mladen91/gists{/gist_id}","starred_url":"https://api.github.com/users/mladen91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mladen91/subscriptions","organizations_url":"https://api.github.com/users/mladen91/orgs","repos_url":"https://api.github.com/users/mladen91/repos","events_url":"https://api.github.com/users/mladen91/events{/privacy}","received_events_url":"https://api.github.com/users/mladen91/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-24T17:16:33Z","updated_at":"2015-06-28T12:45:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"74113492aff5e770d1b8959cd805d7f9bae183df","assignee":{"login":"nejra","id":3843133,"avatar_url":"https://avatars.githubusercontent.com/u/3843133?v=3","gravatar_id":"","url":"https://api.github.com/users/nejra","html_url":"https://github.com/nejra","followers_url":"https://api.github.com/users/nejra/followers","following_url":"https://api.github.com/users/nejra/following{/other_user}","gists_url":"https://api.github.com/users/nejra/gists{/gist_id}","starred_url":"https://api.github.com/users/nejra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nejra/subscriptions","organizations_url":"https://api.github.com/users/nejra/orgs","repos_url":"https://api.github.com/users/nejra/repos","events_url":"https://api.github.com/users/nejra/events{/privacy}","received_events_url":"https://api.github.com/users/nejra/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/mladen91/homeworkMentorship/pulls/2/commits","review_comments_url":"https://api.github.com/repos/mladen91/homeworkMentorship/pulls/2/comments","review_comment_url":"https://api.github.com/repos/mladen91/homeworkMentorship/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mladen91/homeworkMentorship/issues/2/comments","statuses_url":"https://api.github.com/repos/mladen91/homeworkMentorship/statuses/7faac107f067fecda301d2b4cc4adc907d27233a","head":{"label":"mladen91:homework17","ref":"homework17","sha":"7faac107f067fecda301d2b4cc4adc907d27233a","user":{"login":"mladen91","id":12545897,"avatar_url":"https://avatars.githubusercontent.com/u/12545897?v=3","gravatar_id":"","url":"https://api.github.com/users/mladen91","html_url":"https://github.com/mladen91","followers_url":"https://api.github.com/users/mladen91/followers","following_url":"https://api.github.com/users/mladen91/following{/other_user}","gists_url":"https://api.github.com/users/mladen91/gists{/gist_id}","starred_url":"https://api.github.com/users/mladen91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mladen91/subscriptions","organizations_url":"https://api.github.com/users/mladen91/orgs","repos_url":"https://api.github.com/users/mladen91/repos","events_url":"https://api.github.com/users/mladen91/events{/privacy}","received_events_url":"https://api.github.com/users/mladen91/received_events","type":"User","site_admin":false},"repo":{"id":37619934,"name":"homeworkMentorship","full_name":"mladen91/homeworkMentorship","owner":{"login":"mladen91","id":12545897,"avatar_url":"https://avatars.githubusercontent.com/u/12545897?v=3","gravatar_id":"","url":"https://api.github.com/users/mladen91","html_url":"https://github.com/mladen91","followers_url":"https://api.github.com/users/mladen91/followers","following_url":"https://api.github.com/users/mladen91/following{/other_user}","gists_url":"https://api.github.com/users/mladen91/gists{/gist_id}","starred_url":"https://api.github.com/users/mladen91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mladen91/subscriptions","organizations_url":"https://api.github.com/users/mladen91/orgs","repos_url":"https://api.github.com/users/mladen91/repos","events_url":"https://api.github.com/users/mladen91/events{/privacy}","received_events_url":"https://api.github.com/users/mladen91/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mladen91/homeworkMentorship","description":"","fork":false,"url":"https://api.github.com/repos/mladen91/homeworkMentorship","forks_url":"https://api.github.com/repos/mladen91/homeworkMentorship/forks","keys_url":"https://api.github.com/repos/mladen91/homeworkMentorship/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mladen91/homeworkMentorship/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mladen91/homeworkMentorship/teams","hooks_url":"https://api.github.com/repos/mladen91/homeworkMentorship/hooks","issue_events_url":"https://api.github.com/repos/mladen91/homeworkMentorship/issues/events{/number}","events_url":"https://api.github.com/repos/mladen91/homeworkMentorship/events","assignees_url":"https://api.github.com/repos/mladen91/homeworkMentorship/assignees{/user}","branches_url":"https://api.github.com/repos/mladen91/homeworkMentorship/branches{/branch}","tags_url":"https://api.github.com/repos/mladen91/homeworkMentorship/tags","blobs_url":"https://api.github.com/repos/mladen91/homeworkMentorship/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mladen91/homeworkMentorship/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mladen91/homeworkMentorship/git/refs{/sha}","trees_url":"https://api.github.com/repos/mladen91/homeworkMentorship/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mladen91/homeworkMentorship/statuses/{sha}","languages_url":"https://api.github.com/repos/mladen91/homeworkMentorship/languages","stargazers_url":"https://api.github.com/repos/mladen91/homeworkMentorship/stargazers","contributors_url":"https://api.github.com/repos/mladen91/homeworkMentorship/contributors","subscribers_url":"https://api.github.com/repos/mladen91/homeworkMentorship/subscribers","subscription_url":"https://api.github.com/repos/mladen91/homeworkMentorship/subscription","commits_url":"https://api.github.com/repos/mladen91/homeworkMentorship/commits{/sha}","git_commits_url":"https://api.github.com/repos/mladen91/homeworkMentorship/git/commits{/sha}","comments_url":"https://api.github.com/repos/mladen91/homeworkMentorship/comments{/number}","issue_comment_url":"https://api.github.com/repos/mladen91/homeworkMentorship/issues/comments{/number}","contents_url":"https://api.github.com/repos/mladen91/homeworkMentorship/contents/{+path}","compare_url":"https://api.github.com/repos/mladen91/homeworkMentorship/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mladen91/homeworkMentorship/merges","archive_url":"https://api.github.com/repos/mladen91/homeworkMentorship/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mladen91/homeworkMentorship/downloads","issues_url":"https://api.github.com/repos/mladen91/homeworkMentorship/issues{/number}","pulls_url":"https://api.github.com/repos/mladen91/homeworkMentorship/pulls{/number}","milestones_url":"https://api.github.com/repos/mladen91/homeworkMentorship/milestones{/number}","notifications_url":"https://api.github.com/repos/mladen91/homeworkMentorship/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mladen91/homeworkMentorship/labels{/name}","releases_url":"https://api.github.com/repos/mladen91/homeworkMentorship/releases{/id}","created_at":"2015-06-17T20:45:51Z","updated_at":"2015-06-26T08:32:01Z","pushed_at":"2015-06-27T21:48:55Z","git_url":"git://github.com/mladen91/homeworkMentorship.git","ssh_url":"git@github.com:mladen91/homeworkMentorship.git","clone_url":"https://github.com/mladen91/homeworkMentorship.git","svn_url":"https://github.com/mladen91/homeworkMentorship","homepage":null,"size":820,"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":"mladen91:master","ref":"master","sha":"b427c59bb8f99be67412e4981579db5fae7f6c14","user":{"login":"mladen91","id":12545897,"avatar_url":"https://avatars.githubusercontent.com/u/12545897?v=3","gravatar_id":"","url":"https://api.github.com/users/mladen91","html_url":"https://github.com/mladen91","followers_url":"https://api.github.com/users/mladen91/followers","following_url":"https://api.github.com/users/mladen91/following{/other_user}","gists_url":"https://api.github.com/users/mladen91/gists{/gist_id}","starred_url":"https://api.github.com/users/mladen91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mladen91/subscriptions","organizations_url":"https://api.github.com/users/mladen91/orgs","repos_url":"https://api.github.com/users/mladen91/repos","events_url":"https://api.github.com/users/mladen91/events{/privacy}","received_events_url":"https://api.github.com/users/mladen91/received_events","type":"User","site_admin":false},"repo":{"id":37619934,"name":"homeworkMentorship","full_name":"mladen91/homeworkMentorship","owner":{"login":"mladen91","id":12545897,"avatar_url":"https://avatars.githubusercontent.com/u/12545897?v=3","gravatar_id":"","url":"https://api.github.com/users/mladen91","html_url":"https://github.com/mladen91","followers_url":"https://api.github.com/users/mladen91/followers","following_url":"https://api.github.com/users/mladen91/following{/other_user}","gists_url":"https://api.github.com/users/mladen91/gists{/gist_id}","starred_url":"https://api.github.com/users/mladen91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mladen91/subscriptions","organizations_url":"https://api.github.com/users/mladen91/orgs","repos_url":"https://api.github.com/users/mladen91/repos","events_url":"https://api.github.com/users/mladen91/events{/privacy}","received_events_url":"https://api.github.com/users/mladen91/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mladen91/homeworkMentorship","description":"","fork":false,"url":"https://api.github.com/repos/mladen91/homeworkMentorship","forks_url":"https://api.github.com/repos/mladen91/homeworkMentorship/forks","keys_url":"https://api.github.com/repos/mladen91/homeworkMentorship/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mladen91/homeworkMentorship/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mladen91/homeworkMentorship/teams","hooks_url":"https://api.github.com/repos/mladen91/homeworkMentorship/hooks","issue_events_url":"https://api.github.com/repos/mladen91/homeworkMentorship/issues/events{/number}","events_url":"https://api.github.com/repos/mladen91/homeworkMentorship/events","assignees_url":"https://api.github.com/repos/mladen91/homeworkMentorship/assignees{/user}","branches_url":"https://api.github.com/repos/mladen91/homeworkMentorship/branches{/branch}","tags_url":"https://api.github.com/repos/mladen91/homeworkMentorship/tags","blobs_url":"https://api.github.com/repos/mladen91/homeworkMentorship/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mladen91/homeworkMentorship/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mladen91/homeworkMentorship/git/refs{/sha}","trees_url":"https://api.github.com/repos/mladen91/homeworkMentorship/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mladen91/homeworkMentorship/statuses/{sha}","languages_url":"https://api.github.com/repos/mladen91/homeworkMentorship/languages","stargazers_url":"https://api.github.com/repos/mladen91/homeworkMentorship/stargazers","contributors_url":"https://api.github.com/repos/mladen91/homeworkMentorship/contributors","subscribers_url":"https://api.github.com/repos/mladen91/homeworkMentorship/subscribers","subscription_url":"https://api.github.com/repos/mladen91/homeworkMentorship/subscription","commits_url":"https://api.github.com/repos/mladen91/homeworkMentorship/commits{/sha}","git_commits_url":"https://api.github.com/repos/mladen91/homeworkMentorship/git/commits{/sha}","comments_url":"https://api.github.com/repos/mladen91/homeworkMentorship/comments{/number}","issue_comment_url":"https://api.github.com/repos/mladen91/homeworkMentorship/issues/comments{/number}","contents_url":"https://api.github.com/repos/mladen91/homeworkMentorship/contents/{+path}","compare_url":"https://api.github.com/repos/mladen91/homeworkMentorship/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mladen91/homeworkMentorship/merges","archive_url":"https://api.github.com/repos/mladen91/homeworkMentorship/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mladen91/homeworkMentorship/downloads","issues_url":"https://api.github.com/repos/mladen91/homeworkMentorship/issues{/number}","pulls_url":"https://api.github.com/repos/mladen91/homeworkMentorship/pulls{/number}","milestones_url":"https://api.github.com/repos/mladen91/homeworkMentorship/milestones{/number}","notifications_url":"https://api.github.com/repos/mladen91/homeworkMentorship/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mladen91/homeworkMentorship/labels{/name}","releases_url":"https://api.github.com/repos/mladen91/homeworkMentorship/releases{/id}","created_at":"2015-06-17T20:45:51Z","updated_at":"2015-06-26T08:32:01Z","pushed_at":"2015-06-27T21:48:55Z","git_url":"git://github.com/mladen91/homeworkMentorship.git","ssh_url":"git@github.com:mladen91/homeworkMentorship.git","clone_url":"https://github.com/mladen91/homeworkMentorship.git","svn_url":"https://github.com/mladen91/homeworkMentorship","homepage":null,"size":820,"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/mladen91/homeworkMentorship/pulls/2"},"html":{"href":"https://github.com/mladen91/homeworkMentorship/pull/2"},"issue":{"href":"https://api.github.com/repos/mladen91/homeworkMentorship/issues/2"},"comments":{"href":"https://api.github.com/repos/mladen91/homeworkMentorship/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/mladen91/homeworkMentorship/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/mladen91/homeworkMentorship/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mladen91/homeworkMentorship/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/mladen91/homeworkMentorship/statuses/7faac107f067fecda301d2b4cc4adc907d27233a"}}}}