{"action":"created","comment":{"url":"https://api.github.com/repos/clouway-incubator/threads/pulls/comments/77817820","id":77817820,"diff_hunk":"@@ -0,0 +1,34 @@\n+package task2;\n+\n+public class Threads extends Thread {\n+    private String threadName;\n+    private int countTo;\n+    private int sleepTime;\n+    private int counter = 0;\n+    private Threads thread;\n+\n+    public Threads(String threadName, int countTo, int sleepTime) {\n+        this.threadName = threadName;\n+        this.countTo = countTo;\n+        this.sleepTime = sleepTime;\n+    }\n+\n+    public void hasToInterrupt(Threads thread) {","path":"src/main/java/task2/Threads.java","position":null,"original_position":16,"commit_id":"410f5dc851784bf15428d356cf67b42d9443fdcb","original_commit_id":"3a4d1dd3e8754546ce21cf77269ade662bfbfe1f","user":{"login":"qnislavnachev","id":20161493,"avatar_url":"https://avatars.githubusercontent.com/u/20161493?v=3","gravatar_id":"","url":"https://api.github.com/users/qnislavnachev","html_url":"https://github.com/qnislavnachev","followers_url":"https://api.github.com/users/qnislavnachev/followers","following_url":"https://api.github.com/users/qnislavnachev/following{/other_user}","gists_url":"https://api.github.com/users/qnislavnachev/gists{/gist_id}","starred_url":"https://api.github.com/users/qnislavnachev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qnislavnachev/subscriptions","organizations_url":"https://api.github.com/users/qnislavnachev/orgs","repos_url":"https://api.github.com/users/qnislavnachev/repos","events_url":"https://api.github.com/users/qnislavnachev/events{/privacy}","received_events_url":"https://api.github.com/users/qnislavnachev/received_events","type":"User","site_admin":false},"body":"fixed","created_at":"2016-09-07T13:09:25Z","updated_at":"2016-09-07T13:09:25Z","html_url":"https://github.com/clouway-incubator/threads/pull/15#discussion_r77817820","pull_request_url":"https://api.github.com/repos/clouway-incubator/threads/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/clouway-incubator/threads/pulls/comments/77817820"},"html":{"href":"https://github.com/clouway-incubator/threads/pull/15#discussion_r77817820"},"pull_request":{"href":"https://api.github.com/repos/clouway-incubator/threads/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/clouway-incubator/threads/pulls/15","id":84284338,"html_url":"https://github.com/clouway-incubator/threads/pull/15","diff_url":"https://github.com/clouway-incubator/threads/pull/15.diff","patch_url":"https://github.com/clouway-incubator/threads/pull/15.patch","issue_url":"https://api.github.com/repos/clouway-incubator/threads/issues/15","number":15,"state":"open","locked":false,"title":"Task 2 from thread is done.","user":{"login":"qnislavnachev","id":20161493,"avatar_url":"https://avatars.githubusercontent.com/u/20161493?v=3","gravatar_id":"","url":"https://api.github.com/users/qnislavnachev","html_url":"https://github.com/qnislavnachev","followers_url":"https://api.github.com/users/qnislavnachev/followers","following_url":"https://api.github.com/users/qnislavnachev/following{/other_user}","gists_url":"https://api.github.com/users/qnislavnachev/gists{/gist_id}","starred_url":"https://api.github.com/users/qnislavnachev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qnislavnachev/subscriptions","organizations_url":"https://api.github.com/users/qnislavnachev/orgs","repos_url":"https://api.github.com/users/qnislavnachev/repos","events_url":"https://api.github.com/users/qnislavnachev/events{/privacy}","received_events_url":"https://api.github.com/users/qnislavnachev/received_events","type":"User","site_admin":false},"body":"Here we have 2 thread, which have to count to different value with different sleep time and when 1 of them finish to  kill other one.","created_at":"2016-09-07T11:39:33Z","updated_at":"2016-09-07T13:09:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"487b094370b103dbda931a69ca1ae2c8b65eb688","assignee":{"login":"tsony-tsonev","id":6035262,"avatar_url":"https://avatars.githubusercontent.com/u/6035262?v=3","gravatar_id":"","url":"https://api.github.com/users/tsony-tsonev","html_url":"https://github.com/tsony-tsonev","followers_url":"https://api.github.com/users/tsony-tsonev/followers","following_url":"https://api.github.com/users/tsony-tsonev/following{/other_user}","gists_url":"https://api.github.com/users/tsony-tsonev/gists{/gist_id}","starred_url":"https://api.github.com/users/tsony-tsonev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsony-tsonev/subscriptions","organizations_url":"https://api.github.com/users/tsony-tsonev/orgs","repos_url":"https://api.github.com/users/tsony-tsonev/repos","events_url":"https://api.github.com/users/tsony-tsonev/events{/privacy}","received_events_url":"https://api.github.com/users/tsony-tsonev/received_events","type":"User","site_admin":false},"assignees":[{"login":"tsony-tsonev","id":6035262,"avatar_url":"https://avatars.githubusercontent.com/u/6035262?v=3","gravatar_id":"","url":"https://api.github.com/users/tsony-tsonev","html_url":"https://github.com/tsony-tsonev","followers_url":"https://api.github.com/users/tsony-tsonev/followers","following_url":"https://api.github.com/users/tsony-tsonev/following{/other_user}","gists_url":"https://api.github.com/users/tsony-tsonev/gists{/gist_id}","starred_url":"https://api.github.com/users/tsony-tsonev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsony-tsonev/subscriptions","organizations_url":"https://api.github.com/users/tsony-tsonev/orgs","repos_url":"https://api.github.com/users/tsony-tsonev/repos","events_url":"https://api.github.com/users/tsony-tsonev/events{/privacy}","received_events_url":"https://api.github.com/users/tsony-tsonev/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/clouway-incubator/threads/pulls/15/commits","review_comments_url":"https://api.github.com/repos/clouway-incubator/threads/pulls/15/comments","review_comment_url":"https://api.github.com/repos/clouway-incubator/threads/pulls/comments{/number}","comments_url":"https://api.github.com/repos/clouway-incubator/threads/issues/15/comments","statuses_url":"https://api.github.com/repos/clouway-incubator/threads/statuses/410f5dc851784bf15428d356cf67b42d9443fdcb","head":{"label":"qnislavnachev:task2","ref":"task2","sha":"410f5dc851784bf15428d356cf67b42d9443fdcb","user":{"login":"qnislavnachev","id":20161493,"avatar_url":"https://avatars.githubusercontent.com/u/20161493?v=3","gravatar_id":"","url":"https://api.github.com/users/qnislavnachev","html_url":"https://github.com/qnislavnachev","followers_url":"https://api.github.com/users/qnislavnachev/followers","following_url":"https://api.github.com/users/qnislavnachev/following{/other_user}","gists_url":"https://api.github.com/users/qnislavnachev/gists{/gist_id}","starred_url":"https://api.github.com/users/qnislavnachev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qnislavnachev/subscriptions","organizations_url":"https://api.github.com/users/qnislavnachev/orgs","repos_url":"https://api.github.com/users/qnislavnachev/repos","events_url":"https://api.github.com/users/qnislavnachev/events{/privacy}","received_events_url":"https://api.github.com/users/qnislavnachev/received_events","type":"User","site_admin":false},"repo":{"id":67596721,"name":"threads","full_name":"qnislavnachev/threads","owner":{"login":"qnislavnachev","id":20161493,"avatar_url":"https://avatars.githubusercontent.com/u/20161493?v=3","gravatar_id":"","url":"https://api.github.com/users/qnislavnachev","html_url":"https://github.com/qnislavnachev","followers_url":"https://api.github.com/users/qnislavnachev/followers","following_url":"https://api.github.com/users/qnislavnachev/following{/other_user}","gists_url":"https://api.github.com/users/qnislavnachev/gists{/gist_id}","starred_url":"https://api.github.com/users/qnislavnachev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qnislavnachev/subscriptions","organizations_url":"https://api.github.com/users/qnislavnachev/orgs","repos_url":"https://api.github.com/users/qnislavnachev/repos","events_url":"https://api.github.com/users/qnislavnachev/events{/privacy}","received_events_url":"https://api.github.com/users/qnislavnachev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/qnislavnachev/threads","description":"Threads","fork":true,"url":"https://api.github.com/repos/qnislavnachev/threads","forks_url":"https://api.github.com/repos/qnislavnachev/threads/forks","keys_url":"https://api.github.com/repos/qnislavnachev/threads/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qnislavnachev/threads/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qnislavnachev/threads/teams","hooks_url":"https://api.github.com/repos/qnislavnachev/threads/hooks","issue_events_url":"https://api.github.com/repos/qnislavnachev/threads/issues/events{/number}","events_url":"https://api.github.com/repos/qnislavnachev/threads/events","assignees_url":"https://api.github.com/repos/qnislavnachev/threads/assignees{/user}","branches_url":"https://api.github.com/repos/qnislavnachev/threads/branches{/branch}","tags_url":"https://api.github.com/repos/qnislavnachev/threads/tags","blobs_url":"https://api.github.com/repos/qnislavnachev/threads/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qnislavnachev/threads/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qnislavnachev/threads/git/refs{/sha}","trees_url":"https://api.github.com/repos/qnislavnachev/threads/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qnislavnachev/threads/statuses/{sha}","languages_url":"https://api.github.com/repos/qnislavnachev/threads/languages","stargazers_url":"https://api.github.com/repos/qnislavnachev/threads/stargazers","contributors_url":"https://api.github.com/repos/qnislavnachev/threads/contributors","subscribers_url":"https://api.github.com/repos/qnislavnachev/threads/subscribers","subscription_url":"https://api.github.com/repos/qnislavnachev/threads/subscription","commits_url":"https://api.github.com/repos/qnislavnachev/threads/commits{/sha}","git_commits_url":"https://api.github.com/repos/qnislavnachev/threads/git/commits{/sha}","comments_url":"https://api.github.com/repos/qnislavnachev/threads/comments{/number}","issue_comment_url":"https://api.github.com/repos/qnislavnachev/threads/issues/comments{/number}","contents_url":"https://api.github.com/repos/qnislavnachev/threads/contents/{+path}","compare_url":"https://api.github.com/repos/qnislavnachev/threads/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qnislavnachev/threads/merges","archive_url":"https://api.github.com/repos/qnislavnachev/threads/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qnislavnachev/threads/downloads","issues_url":"https://api.github.com/repos/qnislavnachev/threads/issues{/number}","pulls_url":"https://api.github.com/repos/qnislavnachev/threads/pulls{/number}","milestones_url":"https://api.github.com/repos/qnislavnachev/threads/milestones{/number}","notifications_url":"https://api.github.com/repos/qnislavnachev/threads/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qnislavnachev/threads/labels{/name}","releases_url":"https://api.github.com/repos/qnislavnachev/threads/releases{/id}","deployments_url":"https://api.github.com/repos/qnislavnachev/threads/deployments","created_at":"2016-09-07T10:26:00Z","updated_at":"2016-04-13T13:18:17Z","pushed_at":"2016-09-07T13:09:08Z","git_url":"git://github.com/qnislavnachev/threads.git","ssh_url":"git@github.com:qnislavnachev/threads.git","clone_url":"https://github.com/qnislavnachev/threads.git","svn_url":"https://github.com/qnislavnachev/threads","homepage":null,"size":116,"stargazers_count":0,"watchers_count":0,"language":null,"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":"clouway-incubator:qnislav_nachev","ref":"qnislav_nachev","sha":"cfc49e1b7b6eabafa539263645c147e3772555e3","user":{"login":"clouway-incubator","id":10173098,"avatar_url":"https://avatars.githubusercontent.com/u/10173098?v=3","gravatar_id":"","url":"https://api.github.com/users/clouway-incubator","html_url":"https://github.com/clouway-incubator","followers_url":"https://api.github.com/users/clouway-incubator/followers","following_url":"https://api.github.com/users/clouway-incubator/following{/other_user}","gists_url":"https://api.github.com/users/clouway-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/clouway-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clouway-incubator/subscriptions","organizations_url":"https://api.github.com/users/clouway-incubator/orgs","repos_url":"https://api.github.com/users/clouway-incubator/repos","events_url":"https://api.github.com/users/clouway-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/clouway-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":56153374,"name":"threads","full_name":"clouway-incubator/threads","owner":{"login":"clouway-incubator","id":10173098,"avatar_url":"https://avatars.githubusercontent.com/u/10173098?v=3","gravatar_id":"","url":"https://api.github.com/users/clouway-incubator","html_url":"https://github.com/clouway-incubator","followers_url":"https://api.github.com/users/clouway-incubator/followers","following_url":"https://api.github.com/users/clouway-incubator/following{/other_user}","gists_url":"https://api.github.com/users/clouway-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/clouway-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clouway-incubator/subscriptions","organizations_url":"https://api.github.com/users/clouway-incubator/orgs","repos_url":"https://api.github.com/users/clouway-incubator/repos","events_url":"https://api.github.com/users/clouway-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/clouway-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/clouway-incubator/threads","description":"Threads","fork":false,"url":"https://api.github.com/repos/clouway-incubator/threads","forks_url":"https://api.github.com/repos/clouway-incubator/threads/forks","keys_url":"https://api.github.com/repos/clouway-incubator/threads/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clouway-incubator/threads/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clouway-incubator/threads/teams","hooks_url":"https://api.github.com/repos/clouway-incubator/threads/hooks","issue_events_url":"https://api.github.com/repos/clouway-incubator/threads/issues/events{/number}","events_url":"https://api.github.com/repos/clouway-incubator/threads/events","assignees_url":"https://api.github.com/repos/clouway-incubator/threads/assignees{/user}","branches_url":"https://api.github.com/repos/clouway-incubator/threads/branches{/branch}","tags_url":"https://api.github.com/repos/clouway-incubator/threads/tags","blobs_url":"https://api.github.com/repos/clouway-incubator/threads/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clouway-incubator/threads/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clouway-incubator/threads/git/refs{/sha}","trees_url":"https://api.github.com/repos/clouway-incubator/threads/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clouway-incubator/threads/statuses/{sha}","languages_url":"https://api.github.com/repos/clouway-incubator/threads/languages","stargazers_url":"https://api.github.com/repos/clouway-incubator/threads/stargazers","contributors_url":"https://api.github.com/repos/clouway-incubator/threads/contributors","subscribers_url":"https://api.github.com/repos/clouway-incubator/threads/subscribers","subscription_url":"https://api.github.com/repos/clouway-incubator/threads/subscription","commits_url":"https://api.github.com/repos/clouway-incubator/threads/commits{/sha}","git_commits_url":"https://api.github.com/repos/clouway-incubator/threads/git/commits{/sha}","comments_url":"https://api.github.com/repos/clouway-incubator/threads/comments{/number}","issue_comment_url":"https://api.github.com/repos/clouway-incubator/threads/issues/comments{/number}","contents_url":"https://api.github.com/repos/clouway-incubator/threads/contents/{+path}","compare_url":"https://api.github.com/repos/clouway-incubator/threads/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clouway-incubator/threads/merges","archive_url":"https://api.github.com/repos/clouway-incubator/threads/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clouway-incubator/threads/downloads","issues_url":"https://api.github.com/repos/clouway-incubator/threads/issues{/number}","pulls_url":"https://api.github.com/repos/clouway-incubator/threads/pulls{/number}","milestones_url":"https://api.github.com/repos/clouway-incubator/threads/milestones{/number}","notifications_url":"https://api.github.com/repos/clouway-incubator/threads/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clouway-incubator/threads/labels{/name}","releases_url":"https://api.github.com/repos/clouway-incubator/threads/releases{/id}","deployments_url":"https://api.github.com/repos/clouway-incubator/threads/deployments","created_at":"2016-04-13T13:18:17Z","updated_at":"2016-04-13T13:18:17Z","pushed_at":"2016-09-07T13:09:08Z","git_url":"git://github.com/clouway-incubator/threads.git","ssh_url":"git@github.com:clouway-incubator/threads.git","clone_url":"https://github.com/clouway-incubator/threads.git","svn_url":"https://github.com/clouway-incubator/threads","homepage":null,"size":116,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/clouway-incubator/threads/pulls/15"},"html":{"href":"https://github.com/clouway-incubator/threads/pull/15"},"issue":{"href":"https://api.github.com/repos/clouway-incubator/threads/issues/15"},"comments":{"href":"https://api.github.com/repos/clouway-incubator/threads/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/clouway-incubator/threads/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/clouway-incubator/threads/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/clouway-incubator/threads/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/clouway-incubator/threads/statuses/410f5dc851784bf15428d356cf67b42d9443fdcb"}}}}
{"actor":{"display_login":"qnislavnachev"}}