{"action":"created","comment":{"url":"https://api.github.com/repos/yegor256/netbout/pulls/comments/55679468","id":55679468,"diff_hunk":"@@ -120,14 +122,8 @@ public Response act(final Request req) throws IOException {\n                 \"%semverify/%s\",\n                 new RqHref.Smart(new RqHref.Base(req)).home().bare(), code\n             );\n-            final String old;\n-            if (alias.email().contains(\"!\")) {\n-                old = alias.email().substring(0, alias.email().indexOf('!'));\n-            } else {\n-                old = alias.email();\n-            }\n             try {\n-                alias.email(String.format(\"%s!%s\", old, email), link);\n+                alias.email(combinedEmails(alias, email), link);","path":"netbout-web/src/main/java/com/netbout/rest/account/TkSaveEmail.java","position":27,"original_position":27,"commit_id":"c1f24cbf560be0435fe3e72251bb1b26d74b6294","original_commit_id":"c1f24cbf560be0435fe3e72251bb1b26d74b6294","user":{"login":"HDouss","id":2956255,"avatar_url":"https://avatars.githubusercontent.com/u/2956255?v=3","gravatar_id":"","url":"https://api.github.com/users/HDouss","html_url":"https://github.com/HDouss","followers_url":"https://api.github.com/users/HDouss/followers","following_url":"https://api.github.com/users/HDouss/following{/other_user}","gists_url":"https://api.github.com/users/HDouss/gists{/gist_id}","starred_url":"https://api.github.com/users/HDouss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HDouss/subscriptions","organizations_url":"https://api.github.com/users/HDouss/orgs","repos_url":"https://api.github.com/users/HDouss/repos","events_url":"https://api.github.com/users/HDouss/events{/privacy}","received_events_url":"https://api.github.com/users/HDouss/received_events","type":"User","site_admin":false},"body":"@CarlosGines Same here. Please address it in a static way `TkSaveEmail.combinedEmails()`","created_at":"2016-03-10T13:42:35Z","updated_at":"2016-03-10T13:42:35Z","html_url":"https://github.com/yegor256/netbout/pull/1079#discussion_r55679468","pull_request_url":"https://api.github.com/repos/yegor256/netbout/pulls/1079","_links":{"self":{"href":"https://api.github.com/repos/yegor256/netbout/pulls/comments/55679468"},"html":{"href":"https://github.com/yegor256/netbout/pull/1079#discussion_r55679468"},"pull_request":{"href":"https://api.github.com/repos/yegor256/netbout/pulls/1079"}}},"pull_request":{"url":"https://api.github.com/repos/yegor256/netbout/pulls/1079","id":62330284,"html_url":"https://github.com/yegor256/netbout/pull/1079","diff_url":"https://github.com/yegor256/netbout/pull/1079.diff","patch_url":"https://github.com/yegor256/netbout/pull/1079.patch","issue_url":"https://api.github.com/repos/yegor256/netbout/issues/1079","number":1079,"state":"open","locked":false,"title":"#879 Adapted RtAlias and TkSaveMail to test tags \"email\" and \"newEmail\" from XeAlias are properly populated.","user":{"login":"CarlosGines","id":16798121,"avatar_url":"https://avatars.githubusercontent.com/u/16798121?v=3","gravatar_id":"","url":"https://api.github.com/users/CarlosGines","html_url":"https://github.com/CarlosGines","followers_url":"https://api.github.com/users/CarlosGines/followers","following_url":"https://api.github.com/users/CarlosGines/following{/other_user}","gists_url":"https://api.github.com/users/CarlosGines/gists{/gist_id}","starred_url":"https://api.github.com/users/CarlosGines/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarlosGines/subscriptions","organizations_url":"https://api.github.com/users/CarlosGines/orgs","repos_url":"https://api.github.com/users/CarlosGines/repos","events_url":"https://api.github.com/users/CarlosGines/events{/privacy}","received_events_url":"https://api.github.com/users/CarlosGines/received_events","type":"User","site_admin":false},"body":"Fixes for #879:\r\n- `TkSaveEmail.act()` uses \"combined emails\" format also when running locally to store email.\r\n- `RtAlias.email()` now returns email using \"combined emails\" format.\r\n- `RtAiasITCase.updateAndRetrieveEmail()` checks `email` and `newEmail` from returned email that uses \"combined emails\" format.","created_at":"2016-03-10T02:27:46Z","updated_at":"2016-03-10T13:42:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5b96bdc5d7c549e658448072faa343566b76423e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yegor256/netbout/pulls/1079/commits","review_comments_url":"https://api.github.com/repos/yegor256/netbout/pulls/1079/comments","review_comment_url":"https://api.github.com/repos/yegor256/netbout/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yegor256/netbout/issues/1079/comments","statuses_url":"https://api.github.com/repos/yegor256/netbout/statuses/c1f24cbf560be0435fe3e72251bb1b26d74b6294","head":{"label":"CarlosGines:#879","ref":"#879","sha":"c1f24cbf560be0435fe3e72251bb1b26d74b6294","user":{"login":"CarlosGines","id":16798121,"avatar_url":"https://avatars.githubusercontent.com/u/16798121?v=3","gravatar_id":"","url":"https://api.github.com/users/CarlosGines","html_url":"https://github.com/CarlosGines","followers_url":"https://api.github.com/users/CarlosGines/followers","following_url":"https://api.github.com/users/CarlosGines/following{/other_user}","gists_url":"https://api.github.com/users/CarlosGines/gists{/gist_id}","starred_url":"https://api.github.com/users/CarlosGines/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarlosGines/subscriptions","organizations_url":"https://api.github.com/users/CarlosGines/orgs","repos_url":"https://api.github.com/users/CarlosGines/repos","events_url":"https://api.github.com/users/CarlosGines/events{/privacy}","received_events_url":"https://api.github.com/users/CarlosGines/received_events","type":"User","site_admin":false},"repo":{"id":53325068,"name":"netbout","full_name":"CarlosGines/netbout","owner":{"login":"CarlosGines","id":16798121,"avatar_url":"https://avatars.githubusercontent.com/u/16798121?v=3","gravatar_id":"","url":"https://api.github.com/users/CarlosGines","html_url":"https://github.com/CarlosGines","followers_url":"https://api.github.com/users/CarlosGines/followers","following_url":"https://api.github.com/users/CarlosGines/following{/other_user}","gists_url":"https://api.github.com/users/CarlosGines/gists{/gist_id}","starred_url":"https://api.github.com/users/CarlosGines/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarlosGines/subscriptions","organizations_url":"https://api.github.com/users/CarlosGines/orgs","repos_url":"https://api.github.com/users/CarlosGines/repos","events_url":"https://api.github.com/users/CarlosGines/events{/privacy}","received_events_url":"https://api.github.com/users/CarlosGines/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/CarlosGines/netbout","description":"Private talks made easy","fork":true,"url":"https://api.github.com/repos/CarlosGines/netbout","forks_url":"https://api.github.com/repos/CarlosGines/netbout/forks","keys_url":"https://api.github.com/repos/CarlosGines/netbout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CarlosGines/netbout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CarlosGines/netbout/teams","hooks_url":"https://api.github.com/repos/CarlosGines/netbout/hooks","issue_events_url":"https://api.github.com/repos/CarlosGines/netbout/issues/events{/number}","events_url":"https://api.github.com/repos/CarlosGines/netbout/events","assignees_url":"https://api.github.com/repos/CarlosGines/netbout/assignees{/user}","branches_url":"https://api.github.com/repos/CarlosGines/netbout/branches{/branch}","tags_url":"https://api.github.com/repos/CarlosGines/netbout/tags","blobs_url":"https://api.github.com/repos/CarlosGines/netbout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CarlosGines/netbout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CarlosGines/netbout/git/refs{/sha}","trees_url":"https://api.github.com/repos/CarlosGines/netbout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CarlosGines/netbout/statuses/{sha}","languages_url":"https://api.github.com/repos/CarlosGines/netbout/languages","stargazers_url":"https://api.github.com/repos/CarlosGines/netbout/stargazers","contributors_url":"https://api.github.com/repos/CarlosGines/netbout/contributors","subscribers_url":"https://api.github.com/repos/CarlosGines/netbout/subscribers","subscription_url":"https://api.github.com/repos/CarlosGines/netbout/subscription","commits_url":"https://api.github.com/repos/CarlosGines/netbout/commits{/sha}","git_commits_url":"https://api.github.com/repos/CarlosGines/netbout/git/commits{/sha}","comments_url":"https://api.github.com/repos/CarlosGines/netbout/comments{/number}","issue_comment_url":"https://api.github.com/repos/CarlosGines/netbout/issues/comments{/number}","contents_url":"https://api.github.com/repos/CarlosGines/netbout/contents/{+path}","compare_url":"https://api.github.com/repos/CarlosGines/netbout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CarlosGines/netbout/merges","archive_url":"https://api.github.com/repos/CarlosGines/netbout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CarlosGines/netbout/downloads","issues_url":"https://api.github.com/repos/CarlosGines/netbout/issues{/number}","pulls_url":"https://api.github.com/repos/CarlosGines/netbout/pulls{/number}","milestones_url":"https://api.github.com/repos/CarlosGines/netbout/milestones{/number}","notifications_url":"https://api.github.com/repos/CarlosGines/netbout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CarlosGines/netbout/labels{/name}","releases_url":"https://api.github.com/repos/CarlosGines/netbout/releases{/id}","deployments_url":"https://api.github.com/repos/CarlosGines/netbout/deployments","created_at":"2016-03-07T12:47:17Z","updated_at":"2016-03-07T12:47:18Z","pushed_at":"2016-03-10T02:16:12Z","git_url":"git://github.com/CarlosGines/netbout.git","ssh_url":"git@github.com:CarlosGines/netbout.git","clone_url":"https://github.com/CarlosGines/netbout.git","svn_url":"https://github.com/CarlosGines/netbout","homepage":"www.netbout.com","size":18264,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"yegor256:master","ref":"master","sha":"37f66491c31995522d17576ad223d69306f18d22","user":{"login":"yegor256","id":526301,"avatar_url":"https://avatars.githubusercontent.com/u/526301?v=3","gravatar_id":"","url":"https://api.github.com/users/yegor256","html_url":"https://github.com/yegor256","followers_url":"https://api.github.com/users/yegor256/followers","following_url":"https://api.github.com/users/yegor256/following{/other_user}","gists_url":"https://api.github.com/users/yegor256/gists{/gist_id}","starred_url":"https://api.github.com/users/yegor256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yegor256/subscriptions","organizations_url":"https://api.github.com/users/yegor256/orgs","repos_url":"https://api.github.com/users/yegor256/repos","events_url":"https://api.github.com/users/yegor256/events{/privacy}","received_events_url":"https://api.github.com/users/yegor256/received_events","type":"User","site_admin":false},"repo":{"id":9580819,"name":"netbout","full_name":"yegor256/netbout","owner":{"login":"yegor256","id":526301,"avatar_url":"https://avatars.githubusercontent.com/u/526301?v=3","gravatar_id":"","url":"https://api.github.com/users/yegor256","html_url":"https://github.com/yegor256","followers_url":"https://api.github.com/users/yegor256/followers","following_url":"https://api.github.com/users/yegor256/following{/other_user}","gists_url":"https://api.github.com/users/yegor256/gists{/gist_id}","starred_url":"https://api.github.com/users/yegor256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yegor256/subscriptions","organizations_url":"https://api.github.com/users/yegor256/orgs","repos_url":"https://api.github.com/users/yegor256/repos","events_url":"https://api.github.com/users/yegor256/events{/privacy}","received_events_url":"https://api.github.com/users/yegor256/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yegor256/netbout","description":"Private talks made easy","fork":false,"url":"https://api.github.com/repos/yegor256/netbout","forks_url":"https://api.github.com/repos/yegor256/netbout/forks","keys_url":"https://api.github.com/repos/yegor256/netbout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yegor256/netbout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yegor256/netbout/teams","hooks_url":"https://api.github.com/repos/yegor256/netbout/hooks","issue_events_url":"https://api.github.com/repos/yegor256/netbout/issues/events{/number}","events_url":"https://api.github.com/repos/yegor256/netbout/events","assignees_url":"https://api.github.com/repos/yegor256/netbout/assignees{/user}","branches_url":"https://api.github.com/repos/yegor256/netbout/branches{/branch}","tags_url":"https://api.github.com/repos/yegor256/netbout/tags","blobs_url":"https://api.github.com/repos/yegor256/netbout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yegor256/netbout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yegor256/netbout/git/refs{/sha}","trees_url":"https://api.github.com/repos/yegor256/netbout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yegor256/netbout/statuses/{sha}","languages_url":"https://api.github.com/repos/yegor256/netbout/languages","stargazers_url":"https://api.github.com/repos/yegor256/netbout/stargazers","contributors_url":"https://api.github.com/repos/yegor256/netbout/contributors","subscribers_url":"https://api.github.com/repos/yegor256/netbout/subscribers","subscription_url":"https://api.github.com/repos/yegor256/netbout/subscription","commits_url":"https://api.github.com/repos/yegor256/netbout/commits{/sha}","git_commits_url":"https://api.github.com/repos/yegor256/netbout/git/commits{/sha}","comments_url":"https://api.github.com/repos/yegor256/netbout/comments{/number}","issue_comment_url":"https://api.github.com/repos/yegor256/netbout/issues/comments{/number}","contents_url":"https://api.github.com/repos/yegor256/netbout/contents/{+path}","compare_url":"https://api.github.com/repos/yegor256/netbout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yegor256/netbout/merges","archive_url":"https://api.github.com/repos/yegor256/netbout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yegor256/netbout/downloads","issues_url":"https://api.github.com/repos/yegor256/netbout/issues{/number}","pulls_url":"https://api.github.com/repos/yegor256/netbout/pulls{/number}","milestones_url":"https://api.github.com/repos/yegor256/netbout/milestones{/number}","notifications_url":"https://api.github.com/repos/yegor256/netbout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yegor256/netbout/labels{/name}","releases_url":"https://api.github.com/repos/yegor256/netbout/releases{/id}","deployments_url":"https://api.github.com/repos/yegor256/netbout/deployments","created_at":"2013-04-21T14:49:21Z","updated_at":"2016-02-28T14:14:11Z","pushed_at":"2016-03-10T02:27:47Z","git_url":"git://github.com/yegor256/netbout.git","ssh_url":"git@github.com:yegor256/netbout.git","clone_url":"https://github.com/yegor256/netbout.git","svn_url":"https://github.com/yegor256/netbout","homepage":"www.netbout.com","size":18271,"stargazers_count":28,"watchers_count":28,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":32,"mirror_url":null,"open_issues_count":95,"forks":32,"open_issues":95,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yegor256/netbout/pulls/1079"},"html":{"href":"https://github.com/yegor256/netbout/pull/1079"},"issue":{"href":"https://api.github.com/repos/yegor256/netbout/issues/1079"},"comments":{"href":"https://api.github.com/repos/yegor256/netbout/issues/1079/comments"},"review_comments":{"href":"https://api.github.com/repos/yegor256/netbout/pulls/1079/comments"},"review_comment":{"href":"https://api.github.com/repos/yegor256/netbout/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yegor256/netbout/pulls/1079/commits"},"statuses":{"href":"https://api.github.com/repos/yegor256/netbout/statuses/c1f24cbf560be0435fe3e72251bb1b26d74b6294"}}}}