{"action":"created","comment":{"url":"https://api.github.com/repos/shorobura-halyna/Java-Core/pulls/comments/242237642","pull_request_review_id":185700014,"id":242237642,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MjIzNzY0Mg==","diff_hunk":"@@ -0,0 +1,45 @@\n+package com.loop;\n+\n+public class Loop {\n+    public static void main(String[] args) {\n+        int [] boxNumbers1 = {1,2,3,4,5,6,7,8,9};\n+\n+        // loop for\n+        for (int i = 0; i < boxNumbers1.length; i++){\n+            System.out.println(boxNumbers1[i]);\n+        }\n+\n+        //loop for-each\n+        for (int i : boxNumbers1){\n+            System.out.println(i);\n+        }\n+\n+        //loop while\n+        int [] boxNumbers2 = {1,2,3,4,5,6,7,8,9};\n+        int maxNumbberFromArray1 = boxNumbers2[0];\n+        int i = 0;\n+        while (i < boxNumbers2.length){\n+            if (maxNumbberFromArray1 < boxNumbers2[i]){\n+                maxNumbberFromArray1 = boxNumbers2[i];\n+            }\n+            i++;\n+        }\n+        System.out.println(maxNumbberFromArray1);","path":"Lesson_4_loop/src/com/loop/Loop.java","position":27,"original_position":27,"commit_id":"aaa05ebef46c3502c808c67796b02e38d57716de","original_commit_id":"aaa05ebef46c3502c808c67796b02e38d57716de","user":{"login":"shorobura-mykola","id":15751218,"node_id":"MDQ6VXNlcjE1NzUxMjE4","avatar_url":"https://avatars0.githubusercontent.com/u/15751218?v=4","gravatar_id":"","url":"https://api.github.com/users/shorobura-mykola","html_url":"https://github.com/shorobura-mykola","followers_url":"https://api.github.com/users/shorobura-mykola/followers","following_url":"https://api.github.com/users/shorobura-mykola/following{/other_user}","gists_url":"https://api.github.com/users/shorobura-mykola/gists{/gist_id}","starred_url":"https://api.github.com/users/shorobura-mykola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shorobura-mykola/subscriptions","organizations_url":"https://api.github.com/users/shorobura-mykola/orgs","repos_url":"https://api.github.com/users/shorobura-mykola/repos","events_url":"https://api.github.com/users/shorobura-mykola/events{/privacy}","received_events_url":"https://api.github.com/users/shorobura-mykola/received_events","type":"User","site_admin":false},"body":"add additional information about the output.\r\nFor example ->  \"System.out.println(\"the max number of  array \" + boxNumbers2 + \" is \" + maxNumbberFromArray1);\"","created_at":"2018-12-17T17:15:36Z","updated_at":"2018-12-17T17:16:57Z","html_url":"https://github.com/shorobura-halyna/Java-Core/pull/4#discussion_r242237642","pull_request_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/pulls/4","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/shorobura-halyna/Java-Core/pulls/comments/242237642"},"html":{"href":"https://github.com/shorobura-halyna/Java-Core/pull/4#discussion_r242237642"},"pull_request":{"href":"https://api.github.com/repos/shorobura-halyna/Java-Core/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/shorobura-halyna/Java-Core/pulls/4","id":239129493,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5MTI5NDkz","html_url":"https://github.com/shorobura-halyna/Java-Core/pull/4","diff_url":"https://github.com/shorobura-halyna/Java-Core/pull/4.diff","patch_url":"https://github.com/shorobura-halyna/Java-Core/pull/4.patch","issue_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/issues/4","number":4,"state":"open","locked":false,"title":"loop","user":{"login":"shorobura-halyna","id":43088312,"node_id":"MDQ6VXNlcjQzMDg4MzEy","avatar_url":"https://avatars3.githubusercontent.com/u/43088312?v=4","gravatar_id":"","url":"https://api.github.com/users/shorobura-halyna","html_url":"https://github.com/shorobura-halyna","followers_url":"https://api.github.com/users/shorobura-halyna/followers","following_url":"https://api.github.com/users/shorobura-halyna/following{/other_user}","gists_url":"https://api.github.com/users/shorobura-halyna/gists{/gist_id}","starred_url":"https://api.github.com/users/shorobura-halyna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shorobura-halyna/subscriptions","organizations_url":"https://api.github.com/users/shorobura-halyna/orgs","repos_url":"https://api.github.com/users/shorobura-halyna/repos","events_url":"https://api.github.com/users/shorobura-halyna/events{/privacy}","received_events_url":"https://api.github.com/users/shorobura-halyna/received_events","type":"User","site_admin":false},"body":"Hi, \r\nPleace check my task about loop.","created_at":"2018-12-17T12:35:42Z","updated_at":"2018-12-17T17:16:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8300baeb67fc3f6e79b78536ed38f4854a5ed720","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/pulls/4/commits","review_comments_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/pulls/4/comments","review_comment_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/issues/4/comments","statuses_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/statuses/aaa05ebef46c3502c808c67796b02e38d57716de","head":{"label":"shorobura-halyna:sh-loop","ref":"sh-loop","sha":"aaa05ebef46c3502c808c67796b02e38d57716de","user":{"login":"shorobura-halyna","id":43088312,"node_id":"MDQ6VXNlcjQzMDg4MzEy","avatar_url":"https://avatars3.githubusercontent.com/u/43088312?v=4","gravatar_id":"","url":"https://api.github.com/users/shorobura-halyna","html_url":"https://github.com/shorobura-halyna","followers_url":"https://api.github.com/users/shorobura-halyna/followers","following_url":"https://api.github.com/users/shorobura-halyna/following{/other_user}","gists_url":"https://api.github.com/users/shorobura-halyna/gists{/gist_id}","starred_url":"https://api.github.com/users/shorobura-halyna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shorobura-halyna/subscriptions","organizations_url":"https://api.github.com/users/shorobura-halyna/orgs","repos_url":"https://api.github.com/users/shorobura-halyna/repos","events_url":"https://api.github.com/users/shorobura-halyna/events{/privacy}","received_events_url":"https://api.github.com/users/shorobura-halyna/received_events","type":"User","site_admin":false},"repo":{"id":161631501,"node_id":"MDEwOlJlcG9zaXRvcnkxNjE2MzE1MDE=","name":"Java-Core","full_name":"shorobura-halyna/Java-Core","private":false,"owner":{"login":"shorobura-halyna","id":43088312,"node_id":"MDQ6VXNlcjQzMDg4MzEy","avatar_url":"https://avatars3.githubusercontent.com/u/43088312?v=4","gravatar_id":"","url":"https://api.github.com/users/shorobura-halyna","html_url":"https://github.com/shorobura-halyna","followers_url":"https://api.github.com/users/shorobura-halyna/followers","following_url":"https://api.github.com/users/shorobura-halyna/following{/other_user}","gists_url":"https://api.github.com/users/shorobura-halyna/gists{/gist_id}","starred_url":"https://api.github.com/users/shorobura-halyna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shorobura-halyna/subscriptions","organizations_url":"https://api.github.com/users/shorobura-halyna/orgs","repos_url":"https://api.github.com/users/shorobura-halyna/repos","events_url":"https://api.github.com/users/shorobura-halyna/events{/privacy}","received_events_url":"https://api.github.com/users/shorobura-halyna/received_events","type":"User","site_admin":false},"html_url":"https://github.com/shorobura-halyna/Java-Core","description":null,"fork":false,"url":"https://api.github.com/repos/shorobura-halyna/Java-Core","forks_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/forks","keys_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/teams","hooks_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/hooks","issue_events_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/issues/events{/number}","events_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/events","assignees_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/assignees{/user}","branches_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/branches{/branch}","tags_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/tags","blobs_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/git/refs{/sha}","trees_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/statuses/{sha}","languages_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/languages","stargazers_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/stargazers","contributors_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/contributors","subscribers_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/subscribers","subscription_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/subscription","commits_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/commits{/sha}","git_commits_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/git/commits{/sha}","comments_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/comments{/number}","issue_comment_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/issues/comments{/number}","contents_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/contents/{+path}","compare_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/merges","archive_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/downloads","issues_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/issues{/number}","pulls_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/pulls{/number}","milestones_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/milestones{/number}","notifications_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/labels{/name}","releases_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/releases{/id}","deployments_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/deployments","created_at":"2018-12-13T11:48:32Z","updated_at":"2018-12-17T11:08:20Z","pushed_at":"2018-12-17T14:28:10Z","git_url":"git://github.com/shorobura-halyna/Java-Core.git","ssh_url":"git@github.com:shorobura-halyna/Java-Core.git","clone_url":"https://github.com/shorobura-halyna/Java-Core.git","svn_url":"https://github.com/shorobura-halyna/Java-Core","homepage":"","size":37,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"shorobura-halyna:master","ref":"master","sha":"dae156cea05db6b0130cf6ac7317c1116ae24ef0","user":{"login":"shorobura-halyna","id":43088312,"node_id":"MDQ6VXNlcjQzMDg4MzEy","avatar_url":"https://avatars3.githubusercontent.com/u/43088312?v=4","gravatar_id":"","url":"https://api.github.com/users/shorobura-halyna","html_url":"https://github.com/shorobura-halyna","followers_url":"https://api.github.com/users/shorobura-halyna/followers","following_url":"https://api.github.com/users/shorobura-halyna/following{/other_user}","gists_url":"https://api.github.com/users/shorobura-halyna/gists{/gist_id}","starred_url":"https://api.github.com/users/shorobura-halyna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shorobura-halyna/subscriptions","organizations_url":"https://api.github.com/users/shorobura-halyna/orgs","repos_url":"https://api.github.com/users/shorobura-halyna/repos","events_url":"https://api.github.com/users/shorobura-halyna/events{/privacy}","received_events_url":"https://api.github.com/users/shorobura-halyna/received_events","type":"User","site_admin":false},"repo":{"id":161631501,"node_id":"MDEwOlJlcG9zaXRvcnkxNjE2MzE1MDE=","name":"Java-Core","full_name":"shorobura-halyna/Java-Core","private":false,"owner":{"login":"shorobura-halyna","id":43088312,"node_id":"MDQ6VXNlcjQzMDg4MzEy","avatar_url":"https://avatars3.githubusercontent.com/u/43088312?v=4","gravatar_id":"","url":"https://api.github.com/users/shorobura-halyna","html_url":"https://github.com/shorobura-halyna","followers_url":"https://api.github.com/users/shorobura-halyna/followers","following_url":"https://api.github.com/users/shorobura-halyna/following{/other_user}","gists_url":"https://api.github.com/users/shorobura-halyna/gists{/gist_id}","starred_url":"https://api.github.com/users/shorobura-halyna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shorobura-halyna/subscriptions","organizations_url":"https://api.github.com/users/shorobura-halyna/orgs","repos_url":"https://api.github.com/users/shorobura-halyna/repos","events_url":"https://api.github.com/users/shorobura-halyna/events{/privacy}","received_events_url":"https://api.github.com/users/shorobura-halyna/received_events","type":"User","site_admin":false},"html_url":"https://github.com/shorobura-halyna/Java-Core","description":null,"fork":false,"url":"https://api.github.com/repos/shorobura-halyna/Java-Core","forks_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/forks","keys_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/teams","hooks_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/hooks","issue_events_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/issues/events{/number}","events_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/events","assignees_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/assignees{/user}","branches_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/branches{/branch}","tags_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/tags","blobs_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/git/refs{/sha}","trees_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/statuses/{sha}","languages_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/languages","stargazers_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/stargazers","contributors_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/contributors","subscribers_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/subscribers","subscription_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/subscription","commits_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/commits{/sha}","git_commits_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/git/commits{/sha}","comments_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/comments{/number}","issue_comment_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/issues/comments{/number}","contents_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/contents/{+path}","compare_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/merges","archive_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/downloads","issues_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/issues{/number}","pulls_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/pulls{/number}","milestones_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/milestones{/number}","notifications_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/labels{/name}","releases_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/releases{/id}","deployments_url":"https://api.github.com/repos/shorobura-halyna/Java-Core/deployments","created_at":"2018-12-13T11:48:32Z","updated_at":"2018-12-17T11:08:20Z","pushed_at":"2018-12-17T14:28:10Z","git_url":"git://github.com/shorobura-halyna/Java-Core.git","ssh_url":"git@github.com:shorobura-halyna/Java-Core.git","clone_url":"https://github.com/shorobura-halyna/Java-Core.git","svn_url":"https://github.com/shorobura-halyna/Java-Core","homepage":"","size":37,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shorobura-halyna/Java-Core/pulls/4"},"html":{"href":"https://github.com/shorobura-halyna/Java-Core/pull/4"},"issue":{"href":"https://api.github.com/repos/shorobura-halyna/Java-Core/issues/4"},"comments":{"href":"https://api.github.com/repos/shorobura-halyna/Java-Core/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/shorobura-halyna/Java-Core/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/shorobura-halyna/Java-Core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shorobura-halyna/Java-Core/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/shorobura-halyna/Java-Core/statuses/aaa05ebef46c3502c808c67796b02e38d57716de"}},"author_association":"OWNER"}}
{"actor":{"display_login":"shorobura-mykola"}}