{"action":"created","comment":{"url":"https://api.github.com/repos/zniszcz/gui/pulls/comments/91375487","pull_request_review_id":11883102,"id":91375487,"diff_hunk":"@@ -0,0 +1,37 @@\n+package gui3;\n+\n+import java.util.LinkedList;\n+import java.util.ListIterator;\n+\n+public class B extends Thread{\n+\tprivate Container container;\n+\tprivate LinkedList<String> stack;\n+\tprivate int sum = 0;\n+\n+\tB (Container container) {\n+\t\tthis.container = container;\n+\t}\n+\n+\tpublic void run() {\n+\t\tsynchronized(this.container) {\n+\t\t\tthis.stack = this.container.getStack();","path":"src/gui3/B.java","position":18,"original_position":17,"commit_id":"975ce81e87a0dceae7e1ef3acbc10b09ea5fe76b","original_commit_id":"982405e33c3e54a7f7eff55cf4f5ad4f44de6f4c","user":{"login":"andrzejgorski","id":13272962,"avatar_url":"https://avatars.githubusercontent.com/u/13272962?v=3","gravatar_id":"","url":"https://api.github.com/users/andrzejgorski","html_url":"https://github.com/andrzejgorski","followers_url":"https://api.github.com/users/andrzejgorski/followers","following_url":"https://api.github.com/users/andrzejgorski/following{/other_user}","gists_url":"https://api.github.com/users/andrzejgorski/gists{/gist_id}","starred_url":"https://api.github.com/users/andrzejgorski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrzejgorski/subscriptions","organizations_url":"https://api.github.com/users/andrzejgorski/orgs","repos_url":"https://api.github.com/users/andrzejgorski/repos","events_url":"https://api.github.com/users/andrzejgorski/events{/privacy}","received_events_url":"https://api.github.com/users/andrzejgorski/received_events","type":"User","site_admin":false},"body":"Use synchronized only for getting the top of stack in while loop.","created_at":"2016-12-07T20:04:01Z","updated_at":"2016-12-07T20:09:36Z","html_url":"https://github.com/zniszcz/gui/pull/1#discussion_r91375487","pull_request_url":"https://api.github.com/repos/zniszcz/gui/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/zniszcz/gui/pulls/comments/91375487"},"html":{"href":"https://github.com/zniszcz/gui/pull/1#discussion_r91375487"},"pull_request":{"href":"https://api.github.com/repos/zniszcz/gui/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/zniszcz/gui/pulls/1","id":96992617,"html_url":"https://github.com/zniszcz/gui/pull/1","diff_url":"https://github.com/zniszcz/gui/pull/1.diff","patch_url":"https://github.com/zniszcz/gui/pull/1.patch","issue_url":"https://api.github.com/repos/zniszcz/gui/issues/1","number":1,"state":"open","locked":false,"title":"Zad3","user":{"login":"zniszcz","id":10901905,"avatar_url":"https://avatars.githubusercontent.com/u/10901905?v=3","gravatar_id":"","url":"https://api.github.com/users/zniszcz","html_url":"https://github.com/zniszcz","followers_url":"https://api.github.com/users/zniszcz/followers","following_url":"https://api.github.com/users/zniszcz/following{/other_user}","gists_url":"https://api.github.com/users/zniszcz/gists{/gist_id}","starred_url":"https://api.github.com/users/zniszcz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zniszcz/subscriptions","organizations_url":"https://api.github.com/users/zniszcz/orgs","repos_url":"https://api.github.com/users/zniszcz/repos","events_url":"https://api.github.com/users/zniszcz/events{/privacy}","received_events_url":"https://api.github.com/users/zniszcz/received_events","type":"User","site_admin":false},"body":"Realisation of 'Zadanie 3' from README.md","created_at":"2016-12-07T19:40:34Z","updated_at":"2016-12-07T20:09:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9795a5a23b70c07cd381c5688078d7284aa22325","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/zniszcz/gui/pulls/1/commits","review_comments_url":"https://api.github.com/repos/zniszcz/gui/pulls/1/comments","review_comment_url":"https://api.github.com/repos/zniszcz/gui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zniszcz/gui/issues/1/comments","statuses_url":"https://api.github.com/repos/zniszcz/gui/statuses/975ce81e87a0dceae7e1ef3acbc10b09ea5fe76b","head":{"label":"zniszcz:zad3","ref":"zad3","sha":"975ce81e87a0dceae7e1ef3acbc10b09ea5fe76b","user":{"login":"zniszcz","id":10901905,"avatar_url":"https://avatars.githubusercontent.com/u/10901905?v=3","gravatar_id":"","url":"https://api.github.com/users/zniszcz","html_url":"https://github.com/zniszcz","followers_url":"https://api.github.com/users/zniszcz/followers","following_url":"https://api.github.com/users/zniszcz/following{/other_user}","gists_url":"https://api.github.com/users/zniszcz/gists{/gist_id}","starred_url":"https://api.github.com/users/zniszcz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zniszcz/subscriptions","organizations_url":"https://api.github.com/users/zniszcz/orgs","repos_url":"https://api.github.com/users/zniszcz/repos","events_url":"https://api.github.com/users/zniszcz/events{/privacy}","received_events_url":"https://api.github.com/users/zniszcz/received_events","type":"User","site_admin":false},"repo":{"id":75865961,"name":"gui","full_name":"zniszcz/gui","owner":{"login":"zniszcz","id":10901905,"avatar_url":"https://avatars.githubusercontent.com/u/10901905?v=3","gravatar_id":"","url":"https://api.github.com/users/zniszcz","html_url":"https://github.com/zniszcz","followers_url":"https://api.github.com/users/zniszcz/followers","following_url":"https://api.github.com/users/zniszcz/following{/other_user}","gists_url":"https://api.github.com/users/zniszcz/gists{/gist_id}","starred_url":"https://api.github.com/users/zniszcz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zniszcz/subscriptions","organizations_url":"https://api.github.com/users/zniszcz/orgs","repos_url":"https://api.github.com/users/zniszcz/repos","events_url":"https://api.github.com/users/zniszcz/events{/privacy}","received_events_url":"https://api.github.com/users/zniszcz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zniszcz/gui","description":null,"fork":false,"url":"https://api.github.com/repos/zniszcz/gui","forks_url":"https://api.github.com/repos/zniszcz/gui/forks","keys_url":"https://api.github.com/repos/zniszcz/gui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zniszcz/gui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zniszcz/gui/teams","hooks_url":"https://api.github.com/repos/zniszcz/gui/hooks","issue_events_url":"https://api.github.com/repos/zniszcz/gui/issues/events{/number}","events_url":"https://api.github.com/repos/zniszcz/gui/events","assignees_url":"https://api.github.com/repos/zniszcz/gui/assignees{/user}","branches_url":"https://api.github.com/repos/zniszcz/gui/branches{/branch}","tags_url":"https://api.github.com/repos/zniszcz/gui/tags","blobs_url":"https://api.github.com/repos/zniszcz/gui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zniszcz/gui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zniszcz/gui/git/refs{/sha}","trees_url":"https://api.github.com/repos/zniszcz/gui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zniszcz/gui/statuses/{sha}","languages_url":"https://api.github.com/repos/zniszcz/gui/languages","stargazers_url":"https://api.github.com/repos/zniszcz/gui/stargazers","contributors_url":"https://api.github.com/repos/zniszcz/gui/contributors","subscribers_url":"https://api.github.com/repos/zniszcz/gui/subscribers","subscription_url":"https://api.github.com/repos/zniszcz/gui/subscription","commits_url":"https://api.github.com/repos/zniszcz/gui/commits{/sha}","git_commits_url":"https://api.github.com/repos/zniszcz/gui/git/commits{/sha}","comments_url":"https://api.github.com/repos/zniszcz/gui/comments{/number}","issue_comment_url":"https://api.github.com/repos/zniszcz/gui/issues/comments{/number}","contents_url":"https://api.github.com/repos/zniszcz/gui/contents/{+path}","compare_url":"https://api.github.com/repos/zniszcz/gui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zniszcz/gui/merges","archive_url":"https://api.github.com/repos/zniszcz/gui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zniszcz/gui/downloads","issues_url":"https://api.github.com/repos/zniszcz/gui/issues{/number}","pulls_url":"https://api.github.com/repos/zniszcz/gui/pulls{/number}","milestones_url":"https://api.github.com/repos/zniszcz/gui/milestones{/number}","notifications_url":"https://api.github.com/repos/zniszcz/gui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zniszcz/gui/labels{/name}","releases_url":"https://api.github.com/repos/zniszcz/gui/releases{/id}","deployments_url":"https://api.github.com/repos/zniszcz/gui/deployments","created_at":"2016-12-07T18:55:31Z","updated_at":"2016-12-07T18:55:31Z","pushed_at":"2016-12-07T19:57:43Z","git_url":"git://github.com/zniszcz/gui.git","ssh_url":"git@github.com:zniszcz/gui.git","clone_url":"https://github.com/zniszcz/gui.git","svn_url":"https://github.com/zniszcz/gui","homepage":null,"size":92,"stargazers_count":0,"watchers_count":0,"language":null,"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":"zniszcz:master","ref":"master","sha":"723aac8f15a155bd9068331a8def6489c4f6e0dc","user":{"login":"zniszcz","id":10901905,"avatar_url":"https://avatars.githubusercontent.com/u/10901905?v=3","gravatar_id":"","url":"https://api.github.com/users/zniszcz","html_url":"https://github.com/zniszcz","followers_url":"https://api.github.com/users/zniszcz/followers","following_url":"https://api.github.com/users/zniszcz/following{/other_user}","gists_url":"https://api.github.com/users/zniszcz/gists{/gist_id}","starred_url":"https://api.github.com/users/zniszcz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zniszcz/subscriptions","organizations_url":"https://api.github.com/users/zniszcz/orgs","repos_url":"https://api.github.com/users/zniszcz/repos","events_url":"https://api.github.com/users/zniszcz/events{/privacy}","received_events_url":"https://api.github.com/users/zniszcz/received_events","type":"User","site_admin":false},"repo":{"id":75865961,"name":"gui","full_name":"zniszcz/gui","owner":{"login":"zniszcz","id":10901905,"avatar_url":"https://avatars.githubusercontent.com/u/10901905?v=3","gravatar_id":"","url":"https://api.github.com/users/zniszcz","html_url":"https://github.com/zniszcz","followers_url":"https://api.github.com/users/zniszcz/followers","following_url":"https://api.github.com/users/zniszcz/following{/other_user}","gists_url":"https://api.github.com/users/zniszcz/gists{/gist_id}","starred_url":"https://api.github.com/users/zniszcz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zniszcz/subscriptions","organizations_url":"https://api.github.com/users/zniszcz/orgs","repos_url":"https://api.github.com/users/zniszcz/repos","events_url":"https://api.github.com/users/zniszcz/events{/privacy}","received_events_url":"https://api.github.com/users/zniszcz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zniszcz/gui","description":null,"fork":false,"url":"https://api.github.com/repos/zniszcz/gui","forks_url":"https://api.github.com/repos/zniszcz/gui/forks","keys_url":"https://api.github.com/repos/zniszcz/gui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zniszcz/gui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zniszcz/gui/teams","hooks_url":"https://api.github.com/repos/zniszcz/gui/hooks","issue_events_url":"https://api.github.com/repos/zniszcz/gui/issues/events{/number}","events_url":"https://api.github.com/repos/zniszcz/gui/events","assignees_url":"https://api.github.com/repos/zniszcz/gui/assignees{/user}","branches_url":"https://api.github.com/repos/zniszcz/gui/branches{/branch}","tags_url":"https://api.github.com/repos/zniszcz/gui/tags","blobs_url":"https://api.github.com/repos/zniszcz/gui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zniszcz/gui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zniszcz/gui/git/refs{/sha}","trees_url":"https://api.github.com/repos/zniszcz/gui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zniszcz/gui/statuses/{sha}","languages_url":"https://api.github.com/repos/zniszcz/gui/languages","stargazers_url":"https://api.github.com/repos/zniszcz/gui/stargazers","contributors_url":"https://api.github.com/repos/zniszcz/gui/contributors","subscribers_url":"https://api.github.com/repos/zniszcz/gui/subscribers","subscription_url":"https://api.github.com/repos/zniszcz/gui/subscription","commits_url":"https://api.github.com/repos/zniszcz/gui/commits{/sha}","git_commits_url":"https://api.github.com/repos/zniszcz/gui/git/commits{/sha}","comments_url":"https://api.github.com/repos/zniszcz/gui/comments{/number}","issue_comment_url":"https://api.github.com/repos/zniszcz/gui/issues/comments{/number}","contents_url":"https://api.github.com/repos/zniszcz/gui/contents/{+path}","compare_url":"https://api.github.com/repos/zniszcz/gui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zniszcz/gui/merges","archive_url":"https://api.github.com/repos/zniszcz/gui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zniszcz/gui/downloads","issues_url":"https://api.github.com/repos/zniszcz/gui/issues{/number}","pulls_url":"https://api.github.com/repos/zniszcz/gui/pulls{/number}","milestones_url":"https://api.github.com/repos/zniszcz/gui/milestones{/number}","notifications_url":"https://api.github.com/repos/zniszcz/gui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zniszcz/gui/labels{/name}","releases_url":"https://api.github.com/repos/zniszcz/gui/releases{/id}","deployments_url":"https://api.github.com/repos/zniszcz/gui/deployments","created_at":"2016-12-07T18:55:31Z","updated_at":"2016-12-07T18:55:31Z","pushed_at":"2016-12-07T19:57:43Z","git_url":"git://github.com/zniszcz/gui.git","ssh_url":"git@github.com:zniszcz/gui.git","clone_url":"https://github.com/zniszcz/gui.git","svn_url":"https://github.com/zniszcz/gui","homepage":null,"size":92,"stargazers_count":0,"watchers_count":0,"language":null,"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/zniszcz/gui/pulls/1"},"html":{"href":"https://github.com/zniszcz/gui/pull/1"},"issue":{"href":"https://api.github.com/repos/zniszcz/gui/issues/1"},"comments":{"href":"https://api.github.com/repos/zniszcz/gui/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/zniszcz/gui/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/zniszcz/gui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zniszcz/gui/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/zniszcz/gui/statuses/975ce81e87a0dceae7e1ef3acbc10b09ea5fe76b"}}}}
{"actor":{"display_login":"andrzejgorski"}}