{"action":"created","comment":{"url":"https://api.github.com/repos/clouway-incubator/threads/pulls/comments/79764374","id":79764374,"diff_hunk":"@@ -0,0 +1,43 @@\n+package com.clouway;\n+\n+import static java.lang.Thread.currentThread;\n+\n+/**\n+ * Created by clouway on 16.09.16.\n+ *\n+ * @author Denis Dimitrov <denis.k.dimitrov@gmail.com>\n+ */\n+public class InterruptThread {\n+\n+    private static class Threads implements Runnable {\n+        public void run() {\n+            Thread firstThread = new Thread(new Threads());\n+            Thread secondThread = new Thread(new Threads());","path":"src/main/java/com/clouway/InterruptThread.java","position":15,"original_position":15,"commit_id":"664651ec169d40e9ff6c98872900bdd907083f4b","original_commit_id":"664651ec169d40e9ff6c98872900bdd907083f4b","user":{"login":"denisdimitrov","id":18435853,"avatar_url":"https://avatars.githubusercontent.com/u/18435853?v=3","gravatar_id":"","url":"https://api.github.com/users/denisdimitrov","html_url":"https://github.com/denisdimitrov","followers_url":"https://api.github.com/users/denisdimitrov/followers","following_url":"https://api.github.com/users/denisdimitrov/following{/other_user}","gists_url":"https://api.github.com/users/denisdimitrov/gists{/gist_id}","starred_url":"https://api.github.com/users/denisdimitrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denisdimitrov/subscriptions","organizations_url":"https://api.github.com/users/denisdimitrov/orgs","repos_url":"https://api.github.com/users/denisdimitrov/repos","events_url":"https://api.github.com/users/denisdimitrov/events{/privacy}","received_events_url":"https://api.github.com/users/denisdimitrov/received_events","type":"User","site_admin":false},"body":"Fixed.","created_at":"2016-09-21T05:54:41Z","updated_at":"2016-09-21T05:54:41Z","html_url":"https://github.com/clouway-incubator/threads/pull/25#discussion_r79764374","pull_request_url":"https://api.github.com/repos/clouway-incubator/threads/pulls/25","_links":{"self":{"href":"https://api.github.com/repos/clouway-incubator/threads/pulls/comments/79764374"},"html":{"href":"https://github.com/clouway-incubator/threads/pull/25#discussion_r79764374"},"pull_request":{"href":"https://api.github.com/repos/clouway-incubator/threads/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/clouway-incubator/threads/pulls/25","id":85789820,"html_url":"https://github.com/clouway-incubator/threads/pull/25","diff_url":"https://github.com/clouway-incubator/threads/pull/25.diff","patch_url":"https://github.com/clouway-incubator/threads/pull/25.patch","issue_url":"https://api.github.com/repos/clouway-incubator/threads/issues/25","number":25,"state":"open","locked":false,"title":"Threads: Thread Interrupting","user":{"login":"denisdimitrov","id":18435853,"avatar_url":"https://avatars.githubusercontent.com/u/18435853?v=3","gravatar_id":"","url":"https://api.github.com/users/denisdimitrov","html_url":"https://github.com/denisdimitrov","followers_url":"https://api.github.com/users/denisdimitrov/followers","following_url":"https://api.github.com/users/denisdimitrov/following{/other_user}","gists_url":"https://api.github.com/users/denisdimitrov/gists{/gist_id}","starred_url":"https://api.github.com/users/denisdimitrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denisdimitrov/subscriptions","organizations_url":"https://api.github.com/users/denisdimitrov/orgs","repos_url":"https://api.github.com/users/denisdimitrov/repos","events_url":"https://api.github.com/users/denisdimitrov/events{/privacy}","received_events_url":"https://api.github.com/users/denisdimitrov/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-19T13:07:48Z","updated_at":"2016-09-21T05:54:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a5573fec606b86e6a884ec0cea9f22e21ac9d9f7","assignee":{"login":"EmilGeorgiev","id":5961191,"avatar_url":"https://avatars.githubusercontent.com/u/5961191?v=3","gravatar_id":"","url":"https://api.github.com/users/EmilGeorgiev","html_url":"https://github.com/EmilGeorgiev","followers_url":"https://api.github.com/users/EmilGeorgiev/followers","following_url":"https://api.github.com/users/EmilGeorgiev/following{/other_user}","gists_url":"https://api.github.com/users/EmilGeorgiev/gists{/gist_id}","starred_url":"https://api.github.com/users/EmilGeorgiev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmilGeorgiev/subscriptions","organizations_url":"https://api.github.com/users/EmilGeorgiev/orgs","repos_url":"https://api.github.com/users/EmilGeorgiev/repos","events_url":"https://api.github.com/users/EmilGeorgiev/events{/privacy}","received_events_url":"https://api.github.com/users/EmilGeorgiev/received_events","type":"User","site_admin":false},"assignees":[{"login":"EmilGeorgiev","id":5961191,"avatar_url":"https://avatars.githubusercontent.com/u/5961191?v=3","gravatar_id":"","url":"https://api.github.com/users/EmilGeorgiev","html_url":"https://github.com/EmilGeorgiev","followers_url":"https://api.github.com/users/EmilGeorgiev/followers","following_url":"https://api.github.com/users/EmilGeorgiev/following{/other_user}","gists_url":"https://api.github.com/users/EmilGeorgiev/gists{/gist_id}","starred_url":"https://api.github.com/users/EmilGeorgiev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmilGeorgiev/subscriptions","organizations_url":"https://api.github.com/users/EmilGeorgiev/orgs","repos_url":"https://api.github.com/users/EmilGeorgiev/repos","events_url":"https://api.github.com/users/EmilGeorgiev/events{/privacy}","received_events_url":"https://api.github.com/users/EmilGeorgiev/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/clouway-incubator/threads/pulls/25/commits","review_comments_url":"https://api.github.com/repos/clouway-incubator/threads/pulls/25/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/25/comments","statuses_url":"https://api.github.com/repos/clouway-incubator/threads/statuses/664651ec169d40e9ff6c98872900bdd907083f4b","head":{"label":"denisdimitrov:task2","ref":"task2","sha":"664651ec169d40e9ff6c98872900bdd907083f4b","user":{"login":"denisdimitrov","id":18435853,"avatar_url":"https://avatars.githubusercontent.com/u/18435853?v=3","gravatar_id":"","url":"https://api.github.com/users/denisdimitrov","html_url":"https://github.com/denisdimitrov","followers_url":"https://api.github.com/users/denisdimitrov/followers","following_url":"https://api.github.com/users/denisdimitrov/following{/other_user}","gists_url":"https://api.github.com/users/denisdimitrov/gists{/gist_id}","starred_url":"https://api.github.com/users/denisdimitrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denisdimitrov/subscriptions","organizations_url":"https://api.github.com/users/denisdimitrov/orgs","repos_url":"https://api.github.com/users/denisdimitrov/repos","events_url":"https://api.github.com/users/denisdimitrov/events{/privacy}","received_events_url":"https://api.github.com/users/denisdimitrov/received_events","type":"User","site_admin":false},"repo":{"id":68285754,"name":"threads","full_name":"denisdimitrov/threads","owner":{"login":"denisdimitrov","id":18435853,"avatar_url":"https://avatars.githubusercontent.com/u/18435853?v=3","gravatar_id":"","url":"https://api.github.com/users/denisdimitrov","html_url":"https://github.com/denisdimitrov","followers_url":"https://api.github.com/users/denisdimitrov/followers","following_url":"https://api.github.com/users/denisdimitrov/following{/other_user}","gists_url":"https://api.github.com/users/denisdimitrov/gists{/gist_id}","starred_url":"https://api.github.com/users/denisdimitrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denisdimitrov/subscriptions","organizations_url":"https://api.github.com/users/denisdimitrov/orgs","repos_url":"https://api.github.com/users/denisdimitrov/repos","events_url":"https://api.github.com/users/denisdimitrov/events{/privacy}","received_events_url":"https://api.github.com/users/denisdimitrov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/denisdimitrov/threads","description":"Threads","fork":true,"url":"https://api.github.com/repos/denisdimitrov/threads","forks_url":"https://api.github.com/repos/denisdimitrov/threads/forks","keys_url":"https://api.github.com/repos/denisdimitrov/threads/keys{/key_id}","collaborators_url":"https://api.github.com/repos/denisdimitrov/threads/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/denisdimitrov/threads/teams","hooks_url":"https://api.github.com/repos/denisdimitrov/threads/hooks","issue_events_url":"https://api.github.com/repos/denisdimitrov/threads/issues/events{/number}","events_url":"https://api.github.com/repos/denisdimitrov/threads/events","assignees_url":"https://api.github.com/repos/denisdimitrov/threads/assignees{/user}","branches_url":"https://api.github.com/repos/denisdimitrov/threads/branches{/branch}","tags_url":"https://api.github.com/repos/denisdimitrov/threads/tags","blobs_url":"https://api.github.com/repos/denisdimitrov/threads/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/denisdimitrov/threads/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/denisdimitrov/threads/git/refs{/sha}","trees_url":"https://api.github.com/repos/denisdimitrov/threads/git/trees{/sha}","statuses_url":"https://api.github.com/repos/denisdimitrov/threads/statuses/{sha}","languages_url":"https://api.github.com/repos/denisdimitrov/threads/languages","stargazers_url":"https://api.github.com/repos/denisdimitrov/threads/stargazers","contributors_url":"https://api.github.com/repos/denisdimitrov/threads/contributors","subscribers_url":"https://api.github.com/repos/denisdimitrov/threads/subscribers","subscription_url":"https://api.github.com/repos/denisdimitrov/threads/subscription","commits_url":"https://api.github.com/repos/denisdimitrov/threads/commits{/sha}","git_commits_url":"https://api.github.com/repos/denisdimitrov/threads/git/commits{/sha}","comments_url":"https://api.github.com/repos/denisdimitrov/threads/comments{/number}","issue_comment_url":"https://api.github.com/repos/denisdimitrov/threads/issues/comments{/number}","contents_url":"https://api.github.com/repos/denisdimitrov/threads/contents/{+path}","compare_url":"https://api.github.com/repos/denisdimitrov/threads/compare/{base}...{head}","merges_url":"https://api.github.com/repos/denisdimitrov/threads/merges","archive_url":"https://api.github.com/repos/denisdimitrov/threads/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/denisdimitrov/threads/downloads","issues_url":"https://api.github.com/repos/denisdimitrov/threads/issues{/number}","pulls_url":"https://api.github.com/repos/denisdimitrov/threads/pulls{/number}","milestones_url":"https://api.github.com/repos/denisdimitrov/threads/milestones{/number}","notifications_url":"https://api.github.com/repos/denisdimitrov/threads/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/denisdimitrov/threads/labels{/name}","releases_url":"https://api.github.com/repos/denisdimitrov/threads/releases{/id}","deployments_url":"https://api.github.com/repos/denisdimitrov/threads/deployments","created_at":"2016-09-15T10:40:49Z","updated_at":"2016-04-13T13:18:17Z","pushed_at":"2016-09-19T12:34:40Z","git_url":"git://github.com/denisdimitrov/threads.git","ssh_url":"git@github.com:denisdimitrov/threads.git","clone_url":"https://github.com/denisdimitrov/threads.git","svn_url":"https://github.com/denisdimitrov/threads","homepage":null,"size":62,"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:denis_dimitrov","ref":"denis_dimitrov","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-20T12:30:07Z","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":146,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":3,"forks":8,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/clouway-incubator/threads/pulls/25"},"html":{"href":"https://github.com/clouway-incubator/threads/pull/25"},"issue":{"href":"https://api.github.com/repos/clouway-incubator/threads/issues/25"},"comments":{"href":"https://api.github.com/repos/clouway-incubator/threads/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/clouway-incubator/threads/pulls/25/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/25/commits"},"statuses":{"href":"https://api.github.com/repos/clouway-incubator/threads/statuses/664651ec169d40e9ff6c98872900bdd907083f4b"}}}}
{"actor":{"display_login":"denisdimitrov"}}