{"action":"created","comment":{"url":"https://api.github.com/repos/apache/james-project/pulls/comments/244282122","pull_request_review_id":188243166,"id":244282122,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NDI4MjEyMg==","diff_hunk":"@@ -146,9 +146,9 @@ private String attachFooterToHTML(String content) throws MessagingException,\n         }\n         int insertionIndex = matcher.start(matcher.groupCount() - 1);\n         return new StringBuilder()\n-                .append(content.substring(0, insertionIndex))\n+                .append(content, 0, insertionIndex)","path":"mailet/standard/src/main/java/org/apache/james/transport/mailets/AddFooter.java","position":14,"original_position":14,"commit_id":"bccc7b1ebe962b83b3cf7ed876a035779793a946","original_commit_id":"bccc7b1ebe962b83b3cf7ed876a035779793a946","user":{"login":"chibenwa","id":6928740,"node_id":"MDQ6VXNlcjY5Mjg3NDA=","avatar_url":"https://avatars1.githubusercontent.com/u/6928740?v=4","gravatar_id":"","url":"https://api.github.com/users/chibenwa","html_url":"https://github.com/chibenwa","followers_url":"https://api.github.com/users/chibenwa/followers","following_url":"https://api.github.com/users/chibenwa/following{/other_user}","gists_url":"https://api.github.com/users/chibenwa/gists{/gist_id}","starred_url":"https://api.github.com/users/chibenwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chibenwa/subscriptions","organizations_url":"https://api.github.com/users/chibenwa/orgs","repos_url":"https://api.github.com/users/chibenwa/repos","events_url":"https://api.github.com/users/chibenwa/events{/privacy}","received_events_url":"https://api.github.com/users/chibenwa/received_events","type":"User","site_admin":false},"body":"`.append(content.substring(0, insertionIndex))` was IMO more explicit","created_at":"2018-12-28T08:36:31Z","updated_at":"2018-12-28T08:55:05Z","html_url":"https://github.com/apache/james-project/pull/145#discussion_r244282122","pull_request_url":"https://api.github.com/repos/apache/james-project/pulls/145","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/apache/james-project/pulls/comments/244282122"},"html":{"href":"https://github.com/apache/james-project/pull/145#discussion_r244282122"},"pull_request":{"href":"https://api.github.com/repos/apache/james-project/pulls/145"}}},"pull_request":{"url":"https://api.github.com/repos/apache/james-project/pulls/145","id":237534990,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3NTM0OTkw","html_url":"https://github.com/apache/james-project/pull/145","diff_url":"https://github.com/apache/james-project/pull/145.diff","patch_url":"https://github.com/apache/james-project/pull/145.patch","issue_url":"https://api.github.com/repos/apache/james-project/issues/145","number":145,"state":"open","locked":false,"title":"JAMES-2171: refactor LogMessage class","user":{"login":"ReturnHttp402","id":28802159,"node_id":"MDQ6VXNlcjI4ODAyMTU5","avatar_url":"https://avatars1.githubusercontent.com/u/28802159?v=4","gravatar_id":"","url":"https://api.github.com/users/ReturnHttp402","html_url":"https://github.com/ReturnHttp402","followers_url":"https://api.github.com/users/ReturnHttp402/followers","following_url":"https://api.github.com/users/ReturnHttp402/following{/other_user}","gists_url":"https://api.github.com/users/ReturnHttp402/gists{/gist_id}","starred_url":"https://api.github.com/users/ReturnHttp402/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReturnHttp402/subscriptions","organizations_url":"https://api.github.com/users/ReturnHttp402/orgs","repos_url":"https://api.github.com/users/ReturnHttp402/repos","events_url":"https://api.github.com/users/ReturnHttp402/events{/privacy}","received_events_url":"https://api.github.com/users/ReturnHttp402/received_events","type":"User","site_admin":false},"body":"Add LogLevel defined by enum and use it by switch case;\r\nConcatenate log messages by using StringBuffer for its thread safety;\r\nUse builder pattern to build LogMessage and set configuration value like specificHeaders, specificAttribute, Logger, header, body;\r\nAdd a specific exception in the initialization phase and throw exception when maxBody is negative;\r\nFix old uts and add new uts for new feature;","created_at":"2018-12-11T02:57:04Z","updated_at":"2018-12-28T08:55:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8cc74348372044c55dfa887a3e97969e39ac0348","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/james-project/pulls/145/commits","review_comments_url":"https://api.github.com/repos/apache/james-project/pulls/145/comments","review_comment_url":"https://api.github.com/repos/apache/james-project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/james-project/issues/145/comments","statuses_url":"https://api.github.com/repos/apache/james-project/statuses/bccc7b1ebe962b83b3cf7ed876a035779793a946","head":{"label":"ReturnHttp402:JAMES-2171","ref":"JAMES-2171","sha":"bccc7b1ebe962b83b3cf7ed876a035779793a946","user":{"login":"ReturnHttp402","id":28802159,"node_id":"MDQ6VXNlcjI4ODAyMTU5","avatar_url":"https://avatars1.githubusercontent.com/u/28802159?v=4","gravatar_id":"","url":"https://api.github.com/users/ReturnHttp402","html_url":"https://github.com/ReturnHttp402","followers_url":"https://api.github.com/users/ReturnHttp402/followers","following_url":"https://api.github.com/users/ReturnHttp402/following{/other_user}","gists_url":"https://api.github.com/users/ReturnHttp402/gists{/gist_id}","starred_url":"https://api.github.com/users/ReturnHttp402/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReturnHttp402/subscriptions","organizations_url":"https://api.github.com/users/ReturnHttp402/orgs","repos_url":"https://api.github.com/users/ReturnHttp402/repos","events_url":"https://api.github.com/users/ReturnHttp402/events{/privacy}","received_events_url":"https://api.github.com/users/ReturnHttp402/received_events","type":"User","site_admin":false},"repo":{"id":161169391,"node_id":"MDEwOlJlcG9zaXRvcnkxNjExNjkzOTE=","name":"james-project","full_name":"ReturnHttp402/james-project","private":false,"owner":{"login":"ReturnHttp402","id":28802159,"node_id":"MDQ6VXNlcjI4ODAyMTU5","avatar_url":"https://avatars1.githubusercontent.com/u/28802159?v=4","gravatar_id":"","url":"https://api.github.com/users/ReturnHttp402","html_url":"https://github.com/ReturnHttp402","followers_url":"https://api.github.com/users/ReturnHttp402/followers","following_url":"https://api.github.com/users/ReturnHttp402/following{/other_user}","gists_url":"https://api.github.com/users/ReturnHttp402/gists{/gist_id}","starred_url":"https://api.github.com/users/ReturnHttp402/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReturnHttp402/subscriptions","organizations_url":"https://api.github.com/users/ReturnHttp402/orgs","repos_url":"https://api.github.com/users/ReturnHttp402/repos","events_url":"https://api.github.com/users/ReturnHttp402/events{/privacy}","received_events_url":"https://api.github.com/users/ReturnHttp402/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ReturnHttp402/james-project","description":"Mirror of Apache James Project","fork":true,"url":"https://api.github.com/repos/ReturnHttp402/james-project","forks_url":"https://api.github.com/repos/ReturnHttp402/james-project/forks","keys_url":"https://api.github.com/repos/ReturnHttp402/james-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ReturnHttp402/james-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ReturnHttp402/james-project/teams","hooks_url":"https://api.github.com/repos/ReturnHttp402/james-project/hooks","issue_events_url":"https://api.github.com/repos/ReturnHttp402/james-project/issues/events{/number}","events_url":"https://api.github.com/repos/ReturnHttp402/james-project/events","assignees_url":"https://api.github.com/repos/ReturnHttp402/james-project/assignees{/user}","branches_url":"https://api.github.com/repos/ReturnHttp402/james-project/branches{/branch}","tags_url":"https://api.github.com/repos/ReturnHttp402/james-project/tags","blobs_url":"https://api.github.com/repos/ReturnHttp402/james-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ReturnHttp402/james-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ReturnHttp402/james-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/ReturnHttp402/james-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ReturnHttp402/james-project/statuses/{sha}","languages_url":"https://api.github.com/repos/ReturnHttp402/james-project/languages","stargazers_url":"https://api.github.com/repos/ReturnHttp402/james-project/stargazers","contributors_url":"https://api.github.com/repos/ReturnHttp402/james-project/contributors","subscribers_url":"https://api.github.com/repos/ReturnHttp402/james-project/subscribers","subscription_url":"https://api.github.com/repos/ReturnHttp402/james-project/subscription","commits_url":"https://api.github.com/repos/ReturnHttp402/james-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/ReturnHttp402/james-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/ReturnHttp402/james-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/ReturnHttp402/james-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/ReturnHttp402/james-project/contents/{+path}","compare_url":"https://api.github.com/repos/ReturnHttp402/james-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ReturnHttp402/james-project/merges","archive_url":"https://api.github.com/repos/ReturnHttp402/james-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ReturnHttp402/james-project/downloads","issues_url":"https://api.github.com/repos/ReturnHttp402/james-project/issues{/number}","pulls_url":"https://api.github.com/repos/ReturnHttp402/james-project/pulls{/number}","milestones_url":"https://api.github.com/repos/ReturnHttp402/james-project/milestones{/number}","notifications_url":"https://api.github.com/repos/ReturnHttp402/james-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ReturnHttp402/james-project/labels{/name}","releases_url":"https://api.github.com/repos/ReturnHttp402/james-project/releases{/id}","deployments_url":"https://api.github.com/repos/ReturnHttp402/james-project/deployments","created_at":"2018-12-10T12:09:51Z","updated_at":"2018-12-10T12:10:09Z","pushed_at":"2018-12-27T08:48:14Z","git_url":"git://github.com/ReturnHttp402/james-project.git","ssh_url":"git@github.com:ReturnHttp402/james-project.git","clone_url":"https://github.com/ReturnHttp402/james-project.git","svn_url":"https://github.com/ReturnHttp402/james-project","homepage":null,"size":37582,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"97edbf904270b095d3d5d94de9a45bee57c15525","user":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":38917208,"node_id":"MDEwOlJlcG9zaXRvcnkzODkxNzIwOA==","name":"james-project","full_name":"apache/james-project","private":false,"owner":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/apache/james-project","description":"Mirror of Apache James Project","fork":false,"url":"https://api.github.com/repos/apache/james-project","forks_url":"https://api.github.com/repos/apache/james-project/forks","keys_url":"https://api.github.com/repos/apache/james-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/james-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/james-project/teams","hooks_url":"https://api.github.com/repos/apache/james-project/hooks","issue_events_url":"https://api.github.com/repos/apache/james-project/issues/events{/number}","events_url":"https://api.github.com/repos/apache/james-project/events","assignees_url":"https://api.github.com/repos/apache/james-project/assignees{/user}","branches_url":"https://api.github.com/repos/apache/james-project/branches{/branch}","tags_url":"https://api.github.com/repos/apache/james-project/tags","blobs_url":"https://api.github.com/repos/apache/james-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/james-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/james-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/james-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/james-project/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/james-project/languages","stargazers_url":"https://api.github.com/repos/apache/james-project/stargazers","contributors_url":"https://api.github.com/repos/apache/james-project/contributors","subscribers_url":"https://api.github.com/repos/apache/james-project/subscribers","subscription_url":"https://api.github.com/repos/apache/james-project/subscription","commits_url":"https://api.github.com/repos/apache/james-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/james-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/james-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/james-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/james-project/contents/{+path}","compare_url":"https://api.github.com/repos/apache/james-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/james-project/merges","archive_url":"https://api.github.com/repos/apache/james-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/james-project/downloads","issues_url":"https://api.github.com/repos/apache/james-project/issues{/number}","pulls_url":"https://api.github.com/repos/apache/james-project/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/james-project/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/james-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/james-project/labels{/name}","releases_url":"https://api.github.com/repos/apache/james-project/releases{/id}","deployments_url":"https://api.github.com/repos/apache/james-project/deployments","created_at":"2015-07-11T07:00:06Z","updated_at":"2018-12-21T16:18:56Z","pushed_at":"2018-12-27T08:48:16Z","git_url":"git://github.com/apache/james-project.git","ssh_url":"git@github.com:apache/james-project.git","clone_url":"https://github.com/apache/james-project.git","svn_url":"https://github.com/apache/james-project","homepage":null,"size":38145,"stargazers_count":251,"watchers_count":251,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":214,"mirror_url":null,"archived":false,"open_issues_count":18,"license":null,"forks":214,"open_issues":18,"watchers":251,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/james-project/pulls/145"},"html":{"href":"https://github.com/apache/james-project/pull/145"},"issue":{"href":"https://api.github.com/repos/apache/james-project/issues/145"},"comments":{"href":"https://api.github.com/repos/apache/james-project/issues/145/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/james-project/pulls/145/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/james-project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/james-project/pulls/145/commits"},"statuses":{"href":"https://api.github.com/repos/apache/james-project/statuses/bccc7b1ebe962b83b3cf7ed876a035779793a946"}},"author_association":"NONE"}}
{"actor":{"display_login":"chibenwa"}}