{"action":"created","comment":{"url":"https://api.github.com/repos/Lony13/thesis-browser-server/pulls/comments/232450004","pull_request_review_id":173659151,"id":232450004,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMjQ1MDAwNA==","diff_hunk":"@@ -25,31 +25,17 @@ public Author getAuthorById(int id) {\n \n         session.close();\n \n-        if (authors.size() > 0) {\n+        if (!authors.isEmpty()) {","path":"src/main/java/com/koczy/kurek/mizera/thesisbrowser/hibUtils/AuthorDAO.java","position":5,"original_position":5,"commit_id":"eeb1cf70f2e3db2b33162d98a56aa1c182afc539","original_commit_id":"fd36634faf7660916c02b7e33876badd9932626e","user":{"login":"mizeramaciej","id":18185824,"node_id":"MDQ6VXNlcjE4MTg1ODI0","avatar_url":"https://avatars0.githubusercontent.com/u/18185824?v=4","gravatar_id":"","url":"https://api.github.com/users/mizeramaciej","html_url":"https://github.com/mizeramaciej","followers_url":"https://api.github.com/users/mizeramaciej/followers","following_url":"https://api.github.com/users/mizeramaciej/following{/other_user}","gists_url":"https://api.github.com/users/mizeramaciej/gists{/gist_id}","starred_url":"https://api.github.com/users/mizeramaciej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mizeramaciej/subscriptions","organizations_url":"https://api.github.com/users/mizeramaciej/orgs","repos_url":"https://api.github.com/users/mizeramaciej/repos","events_url":"https://api.github.com/users/mizeramaciej/events{/privacy}","received_events_url":"https://api.github.com/users/mizeramaciej/received_events","type":"User","site_admin":false},"body":"Raczej nie bedzie nigdy nullem.","created_at":"2018-11-10T11:40:06Z","updated_at":"2018-11-10T11:40:06Z","html_url":"https://github.com/Lony13/thesis-browser-server/pull/17#discussion_r232450004","pull_request_url":"https://api.github.com/repos/Lony13/thesis-browser-server/pulls/17","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Lony13/thesis-browser-server/pulls/comments/232450004"},"html":{"href":"https://github.com/Lony13/thesis-browser-server/pull/17#discussion_r232450004"},"pull_request":{"href":"https://api.github.com/repos/Lony13/thesis-browser-server/pulls/17"}},"in_reply_to_id":232444108},"pull_request":{"url":"https://api.github.com/repos/Lony13/thesis-browser-server/pulls/17","id":229811590,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5ODExNTkw","html_url":"https://github.com/Lony13/thesis-browser-server/pull/17","diff_url":"https://github.com/Lony13/thesis-browser-server/pull/17.diff","patch_url":"https://github.com/Lony13/thesis-browser-server/pull/17.patch","issue_url":"https://api.github.com/repos/Lony13/thesis-browser-server/issues/17","number":17,"state":"open","locked":false,"title":"Dev mizera","user":{"login":"mizeramaciej","id":18185824,"node_id":"MDQ6VXNlcjE4MTg1ODI0","avatar_url":"https://avatars0.githubusercontent.com/u/18185824?v=4","gravatar_id":"","url":"https://api.github.com/users/mizeramaciej","html_url":"https://github.com/mizeramaciej","followers_url":"https://api.github.com/users/mizeramaciej/followers","following_url":"https://api.github.com/users/mizeramaciej/following{/other_user}","gists_url":"https://api.github.com/users/mizeramaciej/gists{/gist_id}","starred_url":"https://api.github.com/users/mizeramaciej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mizeramaciej/subscriptions","organizations_url":"https://api.github.com/users/mizeramaciej/orgs","repos_url":"https://api.github.com/users/mizeramaciej/repos","events_url":"https://api.github.com/users/mizeramaciej/events{/privacy}","received_events_url":"https://api.github.com/users/mizeramaciej/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-09T20:33:28Z","updated_at":"2018-11-10T11:40:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"08b42f15fa7622807aa339cb6810c5b990482f3f","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Thomasz111","id":26261719,"node_id":"MDQ6VXNlcjI2MjYxNzE5","avatar_url":"https://avatars3.githubusercontent.com/u/26261719?v=4","gravatar_id":"","url":"https://api.github.com/users/Thomasz111","html_url":"https://github.com/Thomasz111","followers_url":"https://api.github.com/users/Thomasz111/followers","following_url":"https://api.github.com/users/Thomasz111/following{/other_user}","gists_url":"https://api.github.com/users/Thomasz111/gists{/gist_id}","starred_url":"https://api.github.com/users/Thomasz111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thomasz111/subscriptions","organizations_url":"https://api.github.com/users/Thomasz111/orgs","repos_url":"https://api.github.com/users/Thomasz111/repos","events_url":"https://api.github.com/users/Thomasz111/events{/privacy}","received_events_url":"https://api.github.com/users/Thomasz111/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Lony13/thesis-browser-server/pulls/17/commits","review_comments_url":"https://api.github.com/repos/Lony13/thesis-browser-server/pulls/17/comments","review_comment_url":"https://api.github.com/repos/Lony13/thesis-browser-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Lony13/thesis-browser-server/issues/17/comments","statuses_url":"https://api.github.com/repos/Lony13/thesis-browser-server/statuses/eeb1cf70f2e3db2b33162d98a56aa1c182afc539","head":{"label":"Lony13:dev-mizera","ref":"dev-mizera","sha":"eeb1cf70f2e3db2b33162d98a56aa1c182afc539","user":{"login":"Lony13","id":26119083,"node_id":"MDQ6VXNlcjI2MTE5MDgz","avatar_url":"https://avatars3.githubusercontent.com/u/26119083?v=4","gravatar_id":"","url":"https://api.github.com/users/Lony13","html_url":"https://github.com/Lony13","followers_url":"https://api.github.com/users/Lony13/followers","following_url":"https://api.github.com/users/Lony13/following{/other_user}","gists_url":"https://api.github.com/users/Lony13/gists{/gist_id}","starred_url":"https://api.github.com/users/Lony13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lony13/subscriptions","organizations_url":"https://api.github.com/users/Lony13/orgs","repos_url":"https://api.github.com/users/Lony13/repos","events_url":"https://api.github.com/users/Lony13/events{/privacy}","received_events_url":"https://api.github.com/users/Lony13/received_events","type":"User","site_admin":false},"repo":{"id":136705861,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY3MDU4NjE=","name":"thesis-browser-server","full_name":"Lony13/thesis-browser-server","private":false,"owner":{"login":"Lony13","id":26119083,"node_id":"MDQ6VXNlcjI2MTE5MDgz","avatar_url":"https://avatars3.githubusercontent.com/u/26119083?v=4","gravatar_id":"","url":"https://api.github.com/users/Lony13","html_url":"https://github.com/Lony13","followers_url":"https://api.github.com/users/Lony13/followers","following_url":"https://api.github.com/users/Lony13/following{/other_user}","gists_url":"https://api.github.com/users/Lony13/gists{/gist_id}","starred_url":"https://api.github.com/users/Lony13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lony13/subscriptions","organizations_url":"https://api.github.com/users/Lony13/orgs","repos_url":"https://api.github.com/users/Lony13/repos","events_url":"https://api.github.com/users/Lony13/events{/privacy}","received_events_url":"https://api.github.com/users/Lony13/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Lony13/thesis-browser-server","description":null,"fork":false,"url":"https://api.github.com/repos/Lony13/thesis-browser-server","forks_url":"https://api.github.com/repos/Lony13/thesis-browser-server/forks","keys_url":"https://api.github.com/repos/Lony13/thesis-browser-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lony13/thesis-browser-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lony13/thesis-browser-server/teams","hooks_url":"https://api.github.com/repos/Lony13/thesis-browser-server/hooks","issue_events_url":"https://api.github.com/repos/Lony13/thesis-browser-server/issues/events{/number}","events_url":"https://api.github.com/repos/Lony13/thesis-browser-server/events","assignees_url":"https://api.github.com/repos/Lony13/thesis-browser-server/assignees{/user}","branches_url":"https://api.github.com/repos/Lony13/thesis-browser-server/branches{/branch}","tags_url":"https://api.github.com/repos/Lony13/thesis-browser-server/tags","blobs_url":"https://api.github.com/repos/Lony13/thesis-browser-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lony13/thesis-browser-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lony13/thesis-browser-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lony13/thesis-browser-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lony13/thesis-browser-server/statuses/{sha}","languages_url":"https://api.github.com/repos/Lony13/thesis-browser-server/languages","stargazers_url":"https://api.github.com/repos/Lony13/thesis-browser-server/stargazers","contributors_url":"https://api.github.com/repos/Lony13/thesis-browser-server/contributors","subscribers_url":"https://api.github.com/repos/Lony13/thesis-browser-server/subscribers","subscription_url":"https://api.github.com/repos/Lony13/thesis-browser-server/subscription","commits_url":"https://api.github.com/repos/Lony13/thesis-browser-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lony13/thesis-browser-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lony13/thesis-browser-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lony13/thesis-browser-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/Lony13/thesis-browser-server/contents/{+path}","compare_url":"https://api.github.com/repos/Lony13/thesis-browser-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lony13/thesis-browser-server/merges","archive_url":"https://api.github.com/repos/Lony13/thesis-browser-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lony13/thesis-browser-server/downloads","issues_url":"https://api.github.com/repos/Lony13/thesis-browser-server/issues{/number}","pulls_url":"https://api.github.com/repos/Lony13/thesis-browser-server/pulls{/number}","milestones_url":"https://api.github.com/repos/Lony13/thesis-browser-server/milestones{/number}","notifications_url":"https://api.github.com/repos/Lony13/thesis-browser-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lony13/thesis-browser-server/labels{/name}","releases_url":"https://api.github.com/repos/Lony13/thesis-browser-server/releases{/id}","deployments_url":"https://api.github.com/repos/Lony13/thesis-browser-server/deployments","created_at":"2018-06-09T08:38:56Z","updated_at":"2018-11-10T10:41:47Z","pushed_at":"2018-11-10T11:35:35Z","git_url":"git://github.com/Lony13/thesis-browser-server.git","ssh_url":"git@github.com:Lony13/thesis-browser-server.git","clone_url":"https://github.com/Lony13/thesis-browser-server.git","svn_url":"https://github.com/Lony13/thesis-browser-server","homepage":null,"size":240,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Lony13:master","ref":"master","sha":"ee5df06b364f76cad9cb4c9c2a465b2e17b5939e","user":{"login":"Lony13","id":26119083,"node_id":"MDQ6VXNlcjI2MTE5MDgz","avatar_url":"https://avatars3.githubusercontent.com/u/26119083?v=4","gravatar_id":"","url":"https://api.github.com/users/Lony13","html_url":"https://github.com/Lony13","followers_url":"https://api.github.com/users/Lony13/followers","following_url":"https://api.github.com/users/Lony13/following{/other_user}","gists_url":"https://api.github.com/users/Lony13/gists{/gist_id}","starred_url":"https://api.github.com/users/Lony13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lony13/subscriptions","organizations_url":"https://api.github.com/users/Lony13/orgs","repos_url":"https://api.github.com/users/Lony13/repos","events_url":"https://api.github.com/users/Lony13/events{/privacy}","received_events_url":"https://api.github.com/users/Lony13/received_events","type":"User","site_admin":false},"repo":{"id":136705861,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY3MDU4NjE=","name":"thesis-browser-server","full_name":"Lony13/thesis-browser-server","private":false,"owner":{"login":"Lony13","id":26119083,"node_id":"MDQ6VXNlcjI2MTE5MDgz","avatar_url":"https://avatars3.githubusercontent.com/u/26119083?v=4","gravatar_id":"","url":"https://api.github.com/users/Lony13","html_url":"https://github.com/Lony13","followers_url":"https://api.github.com/users/Lony13/followers","following_url":"https://api.github.com/users/Lony13/following{/other_user}","gists_url":"https://api.github.com/users/Lony13/gists{/gist_id}","starred_url":"https://api.github.com/users/Lony13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lony13/subscriptions","organizations_url":"https://api.github.com/users/Lony13/orgs","repos_url":"https://api.github.com/users/Lony13/repos","events_url":"https://api.github.com/users/Lony13/events{/privacy}","received_events_url":"https://api.github.com/users/Lony13/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Lony13/thesis-browser-server","description":null,"fork":false,"url":"https://api.github.com/repos/Lony13/thesis-browser-server","forks_url":"https://api.github.com/repos/Lony13/thesis-browser-server/forks","keys_url":"https://api.github.com/repos/Lony13/thesis-browser-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lony13/thesis-browser-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lony13/thesis-browser-server/teams","hooks_url":"https://api.github.com/repos/Lony13/thesis-browser-server/hooks","issue_events_url":"https://api.github.com/repos/Lony13/thesis-browser-server/issues/events{/number}","events_url":"https://api.github.com/repos/Lony13/thesis-browser-server/events","assignees_url":"https://api.github.com/repos/Lony13/thesis-browser-server/assignees{/user}","branches_url":"https://api.github.com/repos/Lony13/thesis-browser-server/branches{/branch}","tags_url":"https://api.github.com/repos/Lony13/thesis-browser-server/tags","blobs_url":"https://api.github.com/repos/Lony13/thesis-browser-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lony13/thesis-browser-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lony13/thesis-browser-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lony13/thesis-browser-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lony13/thesis-browser-server/statuses/{sha}","languages_url":"https://api.github.com/repos/Lony13/thesis-browser-server/languages","stargazers_url":"https://api.github.com/repos/Lony13/thesis-browser-server/stargazers","contributors_url":"https://api.github.com/repos/Lony13/thesis-browser-server/contributors","subscribers_url":"https://api.github.com/repos/Lony13/thesis-browser-server/subscribers","subscription_url":"https://api.github.com/repos/Lony13/thesis-browser-server/subscription","commits_url":"https://api.github.com/repos/Lony13/thesis-browser-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lony13/thesis-browser-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lony13/thesis-browser-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lony13/thesis-browser-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/Lony13/thesis-browser-server/contents/{+path}","compare_url":"https://api.github.com/repos/Lony13/thesis-browser-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lony13/thesis-browser-server/merges","archive_url":"https://api.github.com/repos/Lony13/thesis-browser-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lony13/thesis-browser-server/downloads","issues_url":"https://api.github.com/repos/Lony13/thesis-browser-server/issues{/number}","pulls_url":"https://api.github.com/repos/Lony13/thesis-browser-server/pulls{/number}","milestones_url":"https://api.github.com/repos/Lony13/thesis-browser-server/milestones{/number}","notifications_url":"https://api.github.com/repos/Lony13/thesis-browser-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lony13/thesis-browser-server/labels{/name}","releases_url":"https://api.github.com/repos/Lony13/thesis-browser-server/releases{/id}","deployments_url":"https://api.github.com/repos/Lony13/thesis-browser-server/deployments","created_at":"2018-06-09T08:38:56Z","updated_at":"2018-11-10T10:41:47Z","pushed_at":"2018-11-10T11:35:35Z","git_url":"git://github.com/Lony13/thesis-browser-server.git","ssh_url":"git@github.com:Lony13/thesis-browser-server.git","clone_url":"https://github.com/Lony13/thesis-browser-server.git","svn_url":"https://github.com/Lony13/thesis-browser-server","homepage":null,"size":240,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Lony13/thesis-browser-server/pulls/17"},"html":{"href":"https://github.com/Lony13/thesis-browser-server/pull/17"},"issue":{"href":"https://api.github.com/repos/Lony13/thesis-browser-server/issues/17"},"comments":{"href":"https://api.github.com/repos/Lony13/thesis-browser-server/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/Lony13/thesis-browser-server/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/Lony13/thesis-browser-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Lony13/thesis-browser-server/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/Lony13/thesis-browser-server/statuses/eeb1cf70f2e3db2b33162d98a56aa1c182afc539"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"mizeramaciej"}}