{"action":"created","comment":{"url":"https://api.github.com/repos/Alfresco/alfresco-data-model/pulls/comments/207590256","pull_request_review_id":143238485,"id":207590256,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNzU5MDI1Ng==","diff_hunk":"@@ -317,7 +317,7 @@ private void checkContentUrl(String contentUrl, String mimetype, String encoding\n                 throw new IllegalArgumentException(\"\\n\" +\n                         \"The content mimetype must be set whenever the URL is set: \\n\" +\n                         \"   content URL: \" + contentUrl + \"\\n\" +\n-                        \"   mimetype: \" + mimetype);\n+                        \"  and cannot be 'null'.\");","path":"src/main/java/org/alfresco/service/cmr/repository/ContentData.java","position":18,"original_position":18,"commit_id":"525e06ed0931fa3ce52c93ec56dc17ceda87d4cd","original_commit_id":"525e06ed0931fa3ce52c93ec56dc17ceda87d4cd","user":{"login":"michaelsuzukisagi","id":2110513,"node_id":"MDQ6VXNlcjIxMTA1MTM=","avatar_url":"https://avatars1.githubusercontent.com/u/2110513?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelsuzukisagi","html_url":"https://github.com/michaelsuzukisagi","followers_url":"https://api.github.com/users/michaelsuzukisagi/followers","following_url":"https://api.github.com/users/michaelsuzukisagi/following{/other_user}","gists_url":"https://api.github.com/users/michaelsuzukisagi/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelsuzukisagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelsuzukisagi/subscriptions","organizations_url":"https://api.github.com/users/michaelsuzukisagi/orgs","repos_url":"https://api.github.com/users/michaelsuzukisagi/repos","events_url":"https://api.github.com/users/michaelsuzukisagi/events{/privacy}","received_events_url":"https://api.github.com/users/michaelsuzukisagi/received_events","type":"User","site_admin":false},"body":"\"and mimetype cannot be null.\" would makes more sense.","created_at":"2018-08-03T15:54:11Z","updated_at":"2018-08-03T15:54:11Z","html_url":"https://github.com/Alfresco/alfresco-data-model/pull/22#discussion_r207590256","pull_request_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/pulls/22","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Alfresco/alfresco-data-model/pulls/comments/207590256"},"html":{"href":"https://github.com/Alfresco/alfresco-data-model/pull/22#discussion_r207590256"},"pull_request":{"href":"https://api.github.com/repos/Alfresco/alfresco-data-model/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/Alfresco/alfresco-data-model/pulls/22","id":206067681,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2MDY3Njgx","html_url":"https://github.com/Alfresco/alfresco-data-model/pull/22","diff_url":"https://github.com/Alfresco/alfresco-data-model/pull/22.diff","patch_url":"https://github.com/Alfresco/alfresco-data-model/pull/22.patch","issue_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/issues/22","number":22,"state":"open","locked":false,"title":"SEARCH-956 (Critical Sonar Reports: Alfresco Data Model)","user":{"login":"tunaaksoy","id":4615249,"node_id":"MDQ6VXNlcjQ2MTUyNDk=","avatar_url":"https://avatars3.githubusercontent.com/u/4615249?v=4","gravatar_id":"","url":"https://api.github.com/users/tunaaksoy","html_url":"https://github.com/tunaaksoy","followers_url":"https://api.github.com/users/tunaaksoy/followers","following_url":"https://api.github.com/users/tunaaksoy/following{/other_user}","gists_url":"https://api.github.com/users/tunaaksoy/gists{/gist_id}","starred_url":"https://api.github.com/users/tunaaksoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tunaaksoy/subscriptions","organizations_url":"https://api.github.com/users/tunaaksoy/orgs","repos_url":"https://api.github.com/users/tunaaksoy/repos","events_url":"https://api.github.com/users/tunaaksoy/events{/privacy}","received_events_url":"https://api.github.com/users/tunaaksoy/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-03T15:39:14Z","updated_at":"2018-08-03T15:54:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e50101e8fc83b74299ad657c9b8335aea5e58cb3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/pulls/22/commits","review_comments_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/pulls/22/comments","review_comment_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/issues/22/comments","statuses_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/statuses/525e06ed0931fa3ce52c93ec56dc17ceda87d4cd","head":{"label":"Alfresco:fix/SEARCH-956_Critical_Sonar_Reports_for_Alfresco_Data_Model","ref":"fix/SEARCH-956_Critical_Sonar_Reports_for_Alfresco_Data_Model","sha":"525e06ed0931fa3ce52c93ec56dc17ceda87d4cd","user":{"login":"Alfresco","id":391127,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MTEyNw==","avatar_url":"https://avatars2.githubusercontent.com/u/391127?v=4","gravatar_id":"","url":"https://api.github.com/users/Alfresco","html_url":"https://github.com/Alfresco","followers_url":"https://api.github.com/users/Alfresco/followers","following_url":"https://api.github.com/users/Alfresco/following{/other_user}","gists_url":"https://api.github.com/users/Alfresco/gists{/gist_id}","starred_url":"https://api.github.com/users/Alfresco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alfresco/subscriptions","organizations_url":"https://api.github.com/users/Alfresco/orgs","repos_url":"https://api.github.com/users/Alfresco/repos","events_url":"https://api.github.com/users/Alfresco/events{/privacy}","received_events_url":"https://api.github.com/users/Alfresco/received_events","type":"Organization","site_admin":false},"repo":{"id":80006223,"node_id":"MDEwOlJlcG9zaXRvcnk4MDAwNjIyMw==","name":"alfresco-data-model","full_name":"Alfresco/alfresco-data-model","owner":{"login":"Alfresco","id":391127,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MTEyNw==","avatar_url":"https://avatars2.githubusercontent.com/u/391127?v=4","gravatar_id":"","url":"https://api.github.com/users/Alfresco","html_url":"https://github.com/Alfresco","followers_url":"https://api.github.com/users/Alfresco/followers","following_url":"https://api.github.com/users/Alfresco/following{/other_user}","gists_url":"https://api.github.com/users/Alfresco/gists{/gist_id}","starred_url":"https://api.github.com/users/Alfresco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alfresco/subscriptions","organizations_url":"https://api.github.com/users/Alfresco/orgs","repos_url":"https://api.github.com/users/Alfresco/repos","events_url":"https://api.github.com/users/Alfresco/events{/privacy}","received_events_url":"https://api.github.com/users/Alfresco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Alfresco/alfresco-data-model","description":null,"fork":false,"url":"https://api.github.com/repos/Alfresco/alfresco-data-model","forks_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/forks","keys_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/teams","hooks_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/hooks","issue_events_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/issues/events{/number}","events_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/events","assignees_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/assignees{/user}","branches_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/branches{/branch}","tags_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/tags","blobs_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/git/refs{/sha}","trees_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/statuses/{sha}","languages_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/languages","stargazers_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/stargazers","contributors_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/contributors","subscribers_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/subscribers","subscription_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/subscription","commits_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/commits{/sha}","git_commits_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/git/commits{/sha}","comments_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/comments{/number}","issue_comment_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/issues/comments{/number}","contents_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/contents/{+path}","compare_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/merges","archive_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/downloads","issues_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/issues{/number}","pulls_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/pulls{/number}","milestones_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/milestones{/number}","notifications_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/labels{/name}","releases_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/releases{/id}","deployments_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/deployments","created_at":"2017-01-25T10:56:14Z","updated_at":"2018-08-03T10:12:36Z","pushed_at":"2018-08-03T15:39:15Z","git_url":"git://github.com/Alfresco/alfresco-data-model.git","ssh_url":"git@github.com:Alfresco/alfresco-data-model.git","clone_url":"https://github.com/Alfresco/alfresco-data-model.git","svn_url":"https://github.com/Alfresco/alfresco-data-model","homepage":null,"size":874,"stargazers_count":9,"watchers_count":9,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0","node_id":"MDc6TGljZW5zZTEy"},"forks":4,"open_issues":1,"watchers":9,"default_branch":"master"}},"base":{"label":"Alfresco:master","ref":"master","sha":"bfe79a7a9c6f4930f2e10eb669908580a5e4c36d","user":{"login":"Alfresco","id":391127,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MTEyNw==","avatar_url":"https://avatars2.githubusercontent.com/u/391127?v=4","gravatar_id":"","url":"https://api.github.com/users/Alfresco","html_url":"https://github.com/Alfresco","followers_url":"https://api.github.com/users/Alfresco/followers","following_url":"https://api.github.com/users/Alfresco/following{/other_user}","gists_url":"https://api.github.com/users/Alfresco/gists{/gist_id}","starred_url":"https://api.github.com/users/Alfresco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alfresco/subscriptions","organizations_url":"https://api.github.com/users/Alfresco/orgs","repos_url":"https://api.github.com/users/Alfresco/repos","events_url":"https://api.github.com/users/Alfresco/events{/privacy}","received_events_url":"https://api.github.com/users/Alfresco/received_events","type":"Organization","site_admin":false},"repo":{"id":80006223,"node_id":"MDEwOlJlcG9zaXRvcnk4MDAwNjIyMw==","name":"alfresco-data-model","full_name":"Alfresco/alfresco-data-model","owner":{"login":"Alfresco","id":391127,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MTEyNw==","avatar_url":"https://avatars2.githubusercontent.com/u/391127?v=4","gravatar_id":"","url":"https://api.github.com/users/Alfresco","html_url":"https://github.com/Alfresco","followers_url":"https://api.github.com/users/Alfresco/followers","following_url":"https://api.github.com/users/Alfresco/following{/other_user}","gists_url":"https://api.github.com/users/Alfresco/gists{/gist_id}","starred_url":"https://api.github.com/users/Alfresco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alfresco/subscriptions","organizations_url":"https://api.github.com/users/Alfresco/orgs","repos_url":"https://api.github.com/users/Alfresco/repos","events_url":"https://api.github.com/users/Alfresco/events{/privacy}","received_events_url":"https://api.github.com/users/Alfresco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Alfresco/alfresco-data-model","description":null,"fork":false,"url":"https://api.github.com/repos/Alfresco/alfresco-data-model","forks_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/forks","keys_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/teams","hooks_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/hooks","issue_events_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/issues/events{/number}","events_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/events","assignees_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/assignees{/user}","branches_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/branches{/branch}","tags_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/tags","blobs_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/git/refs{/sha}","trees_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/statuses/{sha}","languages_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/languages","stargazers_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/stargazers","contributors_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/contributors","subscribers_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/subscribers","subscription_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/subscription","commits_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/commits{/sha}","git_commits_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/git/commits{/sha}","comments_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/comments{/number}","issue_comment_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/issues/comments{/number}","contents_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/contents/{+path}","compare_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/merges","archive_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/downloads","issues_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/issues{/number}","pulls_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/pulls{/number}","milestones_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/milestones{/number}","notifications_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/labels{/name}","releases_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/releases{/id}","deployments_url":"https://api.github.com/repos/Alfresco/alfresco-data-model/deployments","created_at":"2017-01-25T10:56:14Z","updated_at":"2018-08-03T10:12:36Z","pushed_at":"2018-08-03T15:39:15Z","git_url":"git://github.com/Alfresco/alfresco-data-model.git","ssh_url":"git@github.com:Alfresco/alfresco-data-model.git","clone_url":"https://github.com/Alfresco/alfresco-data-model.git","svn_url":"https://github.com/Alfresco/alfresco-data-model","homepage":null,"size":874,"stargazers_count":9,"watchers_count":9,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0","node_id":"MDc6TGljZW5zZTEy"},"forks":4,"open_issues":1,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Alfresco/alfresco-data-model/pulls/22"},"html":{"href":"https://github.com/Alfresco/alfresco-data-model/pull/22"},"issue":{"href":"https://api.github.com/repos/Alfresco/alfresco-data-model/issues/22"},"comments":{"href":"https://api.github.com/repos/Alfresco/alfresco-data-model/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/Alfresco/alfresco-data-model/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/Alfresco/alfresco-data-model/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Alfresco/alfresco-data-model/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/Alfresco/alfresco-data-model/statuses/525e06ed0931fa3ce52c93ec56dc17ceda87d4cd"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"michaelsuzukisagi"}}