{"action":"created","comment":{"url":"https://api.github.com/repos/Zimbra/zm-taglib/pulls/comments/176620734","pull_request_review_id":106357932,"id":176620734,"diff_hunk":"@@ -526,6 +529,43 @@ public void setSendReminderYIM(boolean mSendReminderYIM) {\n         this.mSendReminderYIM = mSendReminderYIM;\n     }\n \n+    public void setColor(String color) {\n+        mColor = color;\n+    }\n+\n+    public String getColor() {\n+        return mColor;\n+    }\n+\n+    public String getRgbColorValue() {\n+        int color = 0;\n+        try {\n+            color = Integer.parseInt(mColor);\n+        } catch (NumberFormatException e) {\n+        }\n+        return new com.zimbra.common.mailbox.Color((byte)color).toString();\n+    }\n+\n+    public String getColorName() {\n+        try {\n+            int color = 0;\n+            color = Integer.parseInt(mColor);\n+            Color colorObj = Color.fromInt(color);\n+            return colorObj.getName();\n+        } catch (NumberFormatException e) {","path":"src/java/com/zimbra/cs/taglib/bean/ZMessageComposeBean.java","position":null,"original_position":44,"commit_id":"02a3bea0e4c0eb12d616c45e6666529c6dfc0e6b","original_commit_id":"8c79108365f93ffc7b7282e49b7e218ad85f31d7","user":{"login":"k-kato","id":32184593,"avatar_url":"https://avatars2.githubusercontent.com/u/32184593?v=4","gravatar_id":"","url":"https://api.github.com/users/k-kato","html_url":"https://github.com/k-kato","followers_url":"https://api.github.com/users/k-kato/followers","following_url":"https://api.github.com/users/k-kato/following{/other_user}","gists_url":"https://api.github.com/users/k-kato/gists{/gist_id}","starred_url":"https://api.github.com/users/k-kato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k-kato/subscriptions","organizations_url":"https://api.github.com/users/k-kato/orgs","repos_url":"https://api.github.com/users/k-kato/repos","events_url":"https://api.github.com/users/k-kato/events{/privacy}","received_events_url":"https://api.github.com/users/k-kato/received_events","type":"User","site_admin":false},"body":"fixed it. Thank you for your comment.","created_at":"2018-03-23T01:50:47Z","updated_at":"2018-03-23T01:50:47Z","html_url":"https://github.com/Zimbra/zm-taglib/pull/5#discussion_r176620734","pull_request_url":"https://api.github.com/repos/Zimbra/zm-taglib/pulls/5","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Zimbra/zm-taglib/pulls/comments/176620734"},"html":{"href":"https://github.com/Zimbra/zm-taglib/pull/5#discussion_r176620734"},"pull_request":{"href":"https://api.github.com/repos/Zimbra/zm-taglib/pulls/5"}},"in_reply_to_id":176373582},"pull_request":{"url":"https://api.github.com/repos/Zimbra/zm-taglib/pulls/5","id":175893508,"html_url":"https://github.com/Zimbra/zm-taglib/pull/5","diff_url":"https://github.com/Zimbra/zm-taglib/pull/5.diff","patch_url":"https://github.com/Zimbra/zm-taglib/pull/5.patch","issue_url":"https://api.github.com/repos/Zimbra/zm-taglib/issues/5","number":5,"state":"open","locked":false,"title":"snickers: NICPS-32: add function to set appointment color","user":{"login":"k-kato","id":32184593,"avatar_url":"https://avatars2.githubusercontent.com/u/32184593?v=4","gravatar_id":"","url":"https://api.github.com/users/k-kato","html_url":"https://github.com/k-kato","followers_url":"https://api.github.com/users/k-kato/followers","following_url":"https://api.github.com/users/k-kato/following{/other_user}","gists_url":"https://api.github.com/users/k-kato/gists{/gist_id}","starred_url":"https://api.github.com/users/k-kato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k-kato/subscriptions","organizations_url":"https://api.github.com/users/k-kato/orgs","repos_url":"https://api.github.com/users/k-kato/repos","events_url":"https://api.github.com/users/k-kato/events{/privacy}","received_events_url":"https://api.github.com/users/k-kato/received_events","type":"User","site_admin":false},"body":"See the following pull requests: \r\nhttps://github.com/Zimbra/zm-mailbox/pull/564\r\nhttps://github.com/Zimbra/zm-web-client/pull/250","created_at":"2018-03-19T13:07:21Z","updated_at":"2018-03-23T01:50:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9cf05e30c32b89a192a3265e3a01eafedb29661e","assignee":null,"assignees":[],"requested_reviewers":[{"login":"jeastman","id":278119,"avatar_url":"https://avatars2.githubusercontent.com/u/278119?v=4","gravatar_id":"","url":"https://api.github.com/users/jeastman","html_url":"https://github.com/jeastman","followers_url":"https://api.github.com/users/jeastman/followers","following_url":"https://api.github.com/users/jeastman/following{/other_user}","gists_url":"https://api.github.com/users/jeastman/gists{/gist_id}","starred_url":"https://api.github.com/users/jeastman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeastman/subscriptions","organizations_url":"https://api.github.com/users/jeastman/orgs","repos_url":"https://api.github.com/users/jeastman/repos","events_url":"https://api.github.com/users/jeastman/events{/privacy}","received_events_url":"https://api.github.com/users/jeastman/received_events","type":"User","site_admin":false},{"login":"chinmay15","id":1153219,"avatar_url":"https://avatars0.githubusercontent.com/u/1153219?v=4","gravatar_id":"","url":"https://api.github.com/users/chinmay15","html_url":"https://github.com/chinmay15","followers_url":"https://api.github.com/users/chinmay15/followers","following_url":"https://api.github.com/users/chinmay15/following{/other_user}","gists_url":"https://api.github.com/users/chinmay15/gists{/gist_id}","starred_url":"https://api.github.com/users/chinmay15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chinmay15/subscriptions","organizations_url":"https://api.github.com/users/chinmay15/orgs","repos_url":"https://api.github.com/users/chinmay15/repos","events_url":"https://api.github.com/users/chinmay15/events{/privacy}","received_events_url":"https://api.github.com/users/chinmay15/received_events","type":"User","site_admin":false},{"login":"MakiWatanabe","id":34907928,"avatar_url":"https://avatars0.githubusercontent.com/u/34907928?v=4","gravatar_id":"","url":"https://api.github.com/users/MakiWatanabe","html_url":"https://github.com/MakiWatanabe","followers_url":"https://api.github.com/users/MakiWatanabe/followers","following_url":"https://api.github.com/users/MakiWatanabe/following{/other_user}","gists_url":"https://api.github.com/users/MakiWatanabe/gists{/gist_id}","starred_url":"https://api.github.com/users/MakiWatanabe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MakiWatanabe/subscriptions","organizations_url":"https://api.github.com/users/MakiWatanabe/orgs","repos_url":"https://api.github.com/users/MakiWatanabe/repos","events_url":"https://api.github.com/users/MakiWatanabe/events{/privacy}","received_events_url":"https://api.github.com/users/MakiWatanabe/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Zimbra/zm-taglib/pulls/5/commits","review_comments_url":"https://api.github.com/repos/Zimbra/zm-taglib/pulls/5/comments","review_comment_url":"https://api.github.com/repos/Zimbra/zm-taglib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Zimbra/zm-taglib/issues/5/comments","statuses_url":"https://api.github.com/repos/Zimbra/zm-taglib/statuses/02a3bea0e4c0eb12d616c45e6666529c6dfc0e6b","head":{"label":"Zimbra:bugfix/NICPS-32","ref":"bugfix/NICPS-32","sha":"02a3bea0e4c0eb12d616c45e6666529c6dfc0e6b","user":{"login":"Zimbra","id":8135764,"avatar_url":"https://avatars2.githubusercontent.com/u/8135764?v=4","gravatar_id":"","url":"https://api.github.com/users/Zimbra","html_url":"https://github.com/Zimbra","followers_url":"https://api.github.com/users/Zimbra/followers","following_url":"https://api.github.com/users/Zimbra/following{/other_user}","gists_url":"https://api.github.com/users/Zimbra/gists{/gist_id}","starred_url":"https://api.github.com/users/Zimbra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zimbra/subscriptions","organizations_url":"https://api.github.com/users/Zimbra/orgs","repos_url":"https://api.github.com/users/Zimbra/repos","events_url":"https://api.github.com/users/Zimbra/events{/privacy}","received_events_url":"https://api.github.com/users/Zimbra/received_events","type":"Organization","site_admin":false},"repo":{"id":85609880,"name":"zm-taglib","full_name":"Zimbra/zm-taglib","owner":{"login":"Zimbra","id":8135764,"avatar_url":"https://avatars2.githubusercontent.com/u/8135764?v=4","gravatar_id":"","url":"https://api.github.com/users/Zimbra","html_url":"https://github.com/Zimbra","followers_url":"https://api.github.com/users/Zimbra/followers","following_url":"https://api.github.com/users/Zimbra/following{/other_user}","gists_url":"https://api.github.com/users/Zimbra/gists{/gist_id}","starred_url":"https://api.github.com/users/Zimbra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zimbra/subscriptions","organizations_url":"https://api.github.com/users/Zimbra/orgs","repos_url":"https://api.github.com/users/Zimbra/repos","events_url":"https://api.github.com/users/Zimbra/events{/privacy}","received_events_url":"https://api.github.com/users/Zimbra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Zimbra/zm-taglib","description":"zm-taglib for Zimbra Collaboration Suite, FOSS Edition","fork":false,"url":"https://api.github.com/repos/Zimbra/zm-taglib","forks_url":"https://api.github.com/repos/Zimbra/zm-taglib/forks","keys_url":"https://api.github.com/repos/Zimbra/zm-taglib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Zimbra/zm-taglib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Zimbra/zm-taglib/teams","hooks_url":"https://api.github.com/repos/Zimbra/zm-taglib/hooks","issue_events_url":"https://api.github.com/repos/Zimbra/zm-taglib/issues/events{/number}","events_url":"https://api.github.com/repos/Zimbra/zm-taglib/events","assignees_url":"https://api.github.com/repos/Zimbra/zm-taglib/assignees{/user}","branches_url":"https://api.github.com/repos/Zimbra/zm-taglib/branches{/branch}","tags_url":"https://api.github.com/repos/Zimbra/zm-taglib/tags","blobs_url":"https://api.github.com/repos/Zimbra/zm-taglib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Zimbra/zm-taglib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Zimbra/zm-taglib/git/refs{/sha}","trees_url":"https://api.github.com/repos/Zimbra/zm-taglib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Zimbra/zm-taglib/statuses/{sha}","languages_url":"https://api.github.com/repos/Zimbra/zm-taglib/languages","stargazers_url":"https://api.github.com/repos/Zimbra/zm-taglib/stargazers","contributors_url":"https://api.github.com/repos/Zimbra/zm-taglib/contributors","subscribers_url":"https://api.github.com/repos/Zimbra/zm-taglib/subscribers","subscription_url":"https://api.github.com/repos/Zimbra/zm-taglib/subscription","commits_url":"https://api.github.com/repos/Zimbra/zm-taglib/commits{/sha}","git_commits_url":"https://api.github.com/repos/Zimbra/zm-taglib/git/commits{/sha}","comments_url":"https://api.github.com/repos/Zimbra/zm-taglib/comments{/number}","issue_comment_url":"https://api.github.com/repos/Zimbra/zm-taglib/issues/comments{/number}","contents_url":"https://api.github.com/repos/Zimbra/zm-taglib/contents/{+path}","compare_url":"https://api.github.com/repos/Zimbra/zm-taglib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Zimbra/zm-taglib/merges","archive_url":"https://api.github.com/repos/Zimbra/zm-taglib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Zimbra/zm-taglib/downloads","issues_url":"https://api.github.com/repos/Zimbra/zm-taglib/issues{/number}","pulls_url":"https://api.github.com/repos/Zimbra/zm-taglib/pulls{/number}","milestones_url":"https://api.github.com/repos/Zimbra/zm-taglib/milestones{/number}","notifications_url":"https://api.github.com/repos/Zimbra/zm-taglib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Zimbra/zm-taglib/labels{/name}","releases_url":"https://api.github.com/repos/Zimbra/zm-taglib/releases{/id}","deployments_url":"https://api.github.com/repos/Zimbra/zm-taglib/deployments","created_at":"2017-03-20T18:07:15Z","updated_at":"2018-03-21T04:26:46Z","pushed_at":"2018-03-23T01:49:14Z","git_url":"git://github.com/Zimbra/zm-taglib.git","ssh_url":"git@github.com:Zimbra/zm-taglib.git","clone_url":"https://github.com/Zimbra/zm-taglib.git","svn_url":"https://github.com/Zimbra/zm-taglib","homepage":null,"size":3945,"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":2,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":2,"open_issues":2,"watchers":0,"default_branch":"develop"}},"base":{"label":"Zimbra:snickers","ref":"snickers","sha":"7c13bef3d4afa402a5686478267314cfccccfd74","user":{"login":"Zimbra","id":8135764,"avatar_url":"https://avatars2.githubusercontent.com/u/8135764?v=4","gravatar_id":"","url":"https://api.github.com/users/Zimbra","html_url":"https://github.com/Zimbra","followers_url":"https://api.github.com/users/Zimbra/followers","following_url":"https://api.github.com/users/Zimbra/following{/other_user}","gists_url":"https://api.github.com/users/Zimbra/gists{/gist_id}","starred_url":"https://api.github.com/users/Zimbra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zimbra/subscriptions","organizations_url":"https://api.github.com/users/Zimbra/orgs","repos_url":"https://api.github.com/users/Zimbra/repos","events_url":"https://api.github.com/users/Zimbra/events{/privacy}","received_events_url":"https://api.github.com/users/Zimbra/received_events","type":"Organization","site_admin":false},"repo":{"id":85609880,"name":"zm-taglib","full_name":"Zimbra/zm-taglib","owner":{"login":"Zimbra","id":8135764,"avatar_url":"https://avatars2.githubusercontent.com/u/8135764?v=4","gravatar_id":"","url":"https://api.github.com/users/Zimbra","html_url":"https://github.com/Zimbra","followers_url":"https://api.github.com/users/Zimbra/followers","following_url":"https://api.github.com/users/Zimbra/following{/other_user}","gists_url":"https://api.github.com/users/Zimbra/gists{/gist_id}","starred_url":"https://api.github.com/users/Zimbra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zimbra/subscriptions","organizations_url":"https://api.github.com/users/Zimbra/orgs","repos_url":"https://api.github.com/users/Zimbra/repos","events_url":"https://api.github.com/users/Zimbra/events{/privacy}","received_events_url":"https://api.github.com/users/Zimbra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Zimbra/zm-taglib","description":"zm-taglib for Zimbra Collaboration Suite, FOSS Edition","fork":false,"url":"https://api.github.com/repos/Zimbra/zm-taglib","forks_url":"https://api.github.com/repos/Zimbra/zm-taglib/forks","keys_url":"https://api.github.com/repos/Zimbra/zm-taglib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Zimbra/zm-taglib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Zimbra/zm-taglib/teams","hooks_url":"https://api.github.com/repos/Zimbra/zm-taglib/hooks","issue_events_url":"https://api.github.com/repos/Zimbra/zm-taglib/issues/events{/number}","events_url":"https://api.github.com/repos/Zimbra/zm-taglib/events","assignees_url":"https://api.github.com/repos/Zimbra/zm-taglib/assignees{/user}","branches_url":"https://api.github.com/repos/Zimbra/zm-taglib/branches{/branch}","tags_url":"https://api.github.com/repos/Zimbra/zm-taglib/tags","blobs_url":"https://api.github.com/repos/Zimbra/zm-taglib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Zimbra/zm-taglib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Zimbra/zm-taglib/git/refs{/sha}","trees_url":"https://api.github.com/repos/Zimbra/zm-taglib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Zimbra/zm-taglib/statuses/{sha}","languages_url":"https://api.github.com/repos/Zimbra/zm-taglib/languages","stargazers_url":"https://api.github.com/repos/Zimbra/zm-taglib/stargazers","contributors_url":"https://api.github.com/repos/Zimbra/zm-taglib/contributors","subscribers_url":"https://api.github.com/repos/Zimbra/zm-taglib/subscribers","subscription_url":"https://api.github.com/repos/Zimbra/zm-taglib/subscription","commits_url":"https://api.github.com/repos/Zimbra/zm-taglib/commits{/sha}","git_commits_url":"https://api.github.com/repos/Zimbra/zm-taglib/git/commits{/sha}","comments_url":"https://api.github.com/repos/Zimbra/zm-taglib/comments{/number}","issue_comment_url":"https://api.github.com/repos/Zimbra/zm-taglib/issues/comments{/number}","contents_url":"https://api.github.com/repos/Zimbra/zm-taglib/contents/{+path}","compare_url":"https://api.github.com/repos/Zimbra/zm-taglib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Zimbra/zm-taglib/merges","archive_url":"https://api.github.com/repos/Zimbra/zm-taglib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Zimbra/zm-taglib/downloads","issues_url":"https://api.github.com/repos/Zimbra/zm-taglib/issues{/number}","pulls_url":"https://api.github.com/repos/Zimbra/zm-taglib/pulls{/number}","milestones_url":"https://api.github.com/repos/Zimbra/zm-taglib/milestones{/number}","notifications_url":"https://api.github.com/repos/Zimbra/zm-taglib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Zimbra/zm-taglib/labels{/name}","releases_url":"https://api.github.com/repos/Zimbra/zm-taglib/releases{/id}","deployments_url":"https://api.github.com/repos/Zimbra/zm-taglib/deployments","created_at":"2017-03-20T18:07:15Z","updated_at":"2018-03-21T04:26:46Z","pushed_at":"2018-03-23T01:49:14Z","git_url":"git://github.com/Zimbra/zm-taglib.git","ssh_url":"git@github.com:Zimbra/zm-taglib.git","clone_url":"https://github.com/Zimbra/zm-taglib.git","svn_url":"https://github.com/Zimbra/zm-taglib","homepage":null,"size":3945,"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":2,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":2,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Zimbra/zm-taglib/pulls/5"},"html":{"href":"https://github.com/Zimbra/zm-taglib/pull/5"},"issue":{"href":"https://api.github.com/repos/Zimbra/zm-taglib/issues/5"},"comments":{"href":"https://api.github.com/repos/Zimbra/zm-taglib/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/Zimbra/zm-taglib/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/Zimbra/zm-taglib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Zimbra/zm-taglib/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/Zimbra/zm-taglib/statuses/02a3bea0e4c0eb12d616c45e6666529c6dfc0e6b"}},"author_association":"NONE"}}
{"actor":{"display_login":"k-kato"}}