{"action":"created","comment":{"url":"https://api.github.com/repos/CodingCourse/coding/pulls/comments/205111580","pull_request_review_id":140315415,"id":205111580,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTExMTU4MA==","diff_hunk":"@@ -0,0 +1,18 @@\n+package org.carledriss.coding.tania;\n+\n+/**\n+ * Created by Tania on 7/17/2018.\n+ */\n+public class DnaStrand {\n+    /**\n+     * This Method change \"A\" to \"T\" and vice versa the same whit as \"C\" and \"G\".\n+     *\n+     * @param dna the word that contain letters A,T,C or G and these will be replaced with their complement.\n+     * @return dnd word where each word were replaced with their complement.\n+     */\n+    public String makeComplement(String dna) {\n+        dna = dna.replace(\"T\", \"X\").replace(\"A\", \"T\").replace(\"X\", \"A\");\n+        dna = dna.replace(\"C\", \"X\").replace(\"G\", \"C\").replace(\"X\", \"G\");\n+        return dna;","path":"src/main/java/org/carledriss/coding/tania/DnaStrand.java","position":16,"original_position":16,"commit_id":"b0a07ea6e9711632bb30c0c7211c46a4cd9d3958","original_commit_id":"b0a07ea6e9711632bb30c0c7211c46a4cd9d3958","user":{"login":"carledriss","id":3298869,"node_id":"MDQ6VXNlcjMyOTg4Njk=","avatar_url":"https://avatars2.githubusercontent.com/u/3298869?v=4","gravatar_id":"","url":"https://api.github.com/users/carledriss","html_url":"https://github.com/carledriss","followers_url":"https://api.github.com/users/carledriss/followers","following_url":"https://api.github.com/users/carledriss/following{/other_user}","gists_url":"https://api.github.com/users/carledriss/gists{/gist_id}","starred_url":"https://api.github.com/users/carledriss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carledriss/subscriptions","organizations_url":"https://api.github.com/users/carledriss/orgs","repos_url":"https://api.github.com/users/carledriss/repos","events_url":"https://api.github.com/users/carledriss/events{/privacy}","received_events_url":"https://api.github.com/users/carledriss/received_events","type":"User","site_admin":false},"body":"You can handle this in a single line of code.\r\n```java\r\n    public String makeComplement(String dna) {\r\n        return dna.replace(\"T\", \"X\").replace(\"A\", \"T\").replace(\"X\", \"A\")\r\n                .replace(\"C\", \"X\").replace(\"G\", \"C\").replace(\"X\", \"G\");\r\n    }\r\n```","created_at":"2018-07-25T13:39:30Z","updated_at":"2018-07-25T13:39:34Z","html_url":"https://github.com/CodingCourse/coding/pull/6#discussion_r205111580","pull_request_url":"https://api.github.com/repos/CodingCourse/coding/pulls/6","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/CodingCourse/coding/pulls/comments/205111580"},"html":{"href":"https://github.com/CodingCourse/coding/pull/6#discussion_r205111580"},"pull_request":{"href":"https://api.github.com/repos/CodingCourse/coding/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/CodingCourse/coding/pulls/6","id":202112861,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyMTEyODYx","html_url":"https://github.com/CodingCourse/coding/pull/6","diff_url":"https://github.com/CodingCourse/coding/pull/6.diff","patch_url":"https://github.com/CodingCourse/coding/pull/6.patch","issue_url":"https://api.github.com/repos/CodingCourse/coding/issues/6","number":6,"state":"open","locked":false,"title":"kata5","user":{"login":"tanialop","id":25551086,"node_id":"MDQ6VXNlcjI1NTUxMDg2","avatar_url":"https://avatars1.githubusercontent.com/u/25551086?v=4","gravatar_id":"","url":"https://api.github.com/users/tanialop","html_url":"https://github.com/tanialop","followers_url":"https://api.github.com/users/tanialop/followers","following_url":"https://api.github.com/users/tanialop/following{/other_user}","gists_url":"https://api.github.com/users/tanialop/gists{/gist_id}","starred_url":"https://api.github.com/users/tanialop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanialop/subscriptions","organizations_url":"https://api.github.com/users/tanialop/orgs","repos_url":"https://api.github.com/users/tanialop/repos","events_url":"https://api.github.com/users/tanialop/events{/privacy}","received_events_url":"https://api.github.com/users/tanialop/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-18T01:05:12Z","updated_at":"2018-07-25T13:39:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"49252173fc453a310927394d76c89d8deaa9c55b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CodingCourse/coding/pulls/6/commits","review_comments_url":"https://api.github.com/repos/CodingCourse/coding/pulls/6/comments","review_comment_url":"https://api.github.com/repos/CodingCourse/coding/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CodingCourse/coding/issues/6/comments","statuses_url":"https://api.github.com/repos/CodingCourse/coding/statuses/b0a07ea6e9711632bb30c0c7211c46a4cd9d3958","head":{"label":"CodingCourse:kata5","ref":"kata5","sha":"b0a07ea6e9711632bb30c0c7211c46a4cd9d3958","user":{"login":"CodingCourse","id":37111741,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MTExNzQx","avatar_url":"https://avatars0.githubusercontent.com/u/37111741?v=4","gravatar_id":"","url":"https://api.github.com/users/CodingCourse","html_url":"https://github.com/CodingCourse","followers_url":"https://api.github.com/users/CodingCourse/followers","following_url":"https://api.github.com/users/CodingCourse/following{/other_user}","gists_url":"https://api.github.com/users/CodingCourse/gists{/gist_id}","starred_url":"https://api.github.com/users/CodingCourse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodingCourse/subscriptions","organizations_url":"https://api.github.com/users/CodingCourse/orgs","repos_url":"https://api.github.com/users/CodingCourse/repos","events_url":"https://api.github.com/users/CodingCourse/events{/privacy}","received_events_url":"https://api.github.com/users/CodingCourse/received_events","type":"Organization","site_admin":false},"repo":{"id":124084815,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQwODQ4MTU=","name":"coding","full_name":"CodingCourse/coding","owner":{"login":"CodingCourse","id":37111741,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MTExNzQx","avatar_url":"https://avatars0.githubusercontent.com/u/37111741?v=4","gravatar_id":"","url":"https://api.github.com/users/CodingCourse","html_url":"https://github.com/CodingCourse","followers_url":"https://api.github.com/users/CodingCourse/followers","following_url":"https://api.github.com/users/CodingCourse/following{/other_user}","gists_url":"https://api.github.com/users/CodingCourse/gists{/gist_id}","starred_url":"https://api.github.com/users/CodingCourse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodingCourse/subscriptions","organizations_url":"https://api.github.com/users/CodingCourse/orgs","repos_url":"https://api.github.com/users/CodingCourse/repos","events_url":"https://api.github.com/users/CodingCourse/events{/privacy}","received_events_url":"https://api.github.com/users/CodingCourse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CodingCourse/coding","description":null,"fork":false,"url":"https://api.github.com/repos/CodingCourse/coding","forks_url":"https://api.github.com/repos/CodingCourse/coding/forks","keys_url":"https://api.github.com/repos/CodingCourse/coding/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodingCourse/coding/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodingCourse/coding/teams","hooks_url":"https://api.github.com/repos/CodingCourse/coding/hooks","issue_events_url":"https://api.github.com/repos/CodingCourse/coding/issues/events{/number}","events_url":"https://api.github.com/repos/CodingCourse/coding/events","assignees_url":"https://api.github.com/repos/CodingCourse/coding/assignees{/user}","branches_url":"https://api.github.com/repos/CodingCourse/coding/branches{/branch}","tags_url":"https://api.github.com/repos/CodingCourse/coding/tags","blobs_url":"https://api.github.com/repos/CodingCourse/coding/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodingCourse/coding/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodingCourse/coding/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodingCourse/coding/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodingCourse/coding/statuses/{sha}","languages_url":"https://api.github.com/repos/CodingCourse/coding/languages","stargazers_url":"https://api.github.com/repos/CodingCourse/coding/stargazers","contributors_url":"https://api.github.com/repos/CodingCourse/coding/contributors","subscribers_url":"https://api.github.com/repos/CodingCourse/coding/subscribers","subscription_url":"https://api.github.com/repos/CodingCourse/coding/subscription","commits_url":"https://api.github.com/repos/CodingCourse/coding/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodingCourse/coding/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodingCourse/coding/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodingCourse/coding/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodingCourse/coding/contents/{+path}","compare_url":"https://api.github.com/repos/CodingCourse/coding/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodingCourse/coding/merges","archive_url":"https://api.github.com/repos/CodingCourse/coding/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodingCourse/coding/downloads","issues_url":"https://api.github.com/repos/CodingCourse/coding/issues{/number}","pulls_url":"https://api.github.com/repos/CodingCourse/coding/pulls{/number}","milestones_url":"https://api.github.com/repos/CodingCourse/coding/milestones{/number}","notifications_url":"https://api.github.com/repos/CodingCourse/coding/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodingCourse/coding/labels{/name}","releases_url":"https://api.github.com/repos/CodingCourse/coding/releases{/id}","deployments_url":"https://api.github.com/repos/CodingCourse/coding/deployments","created_at":"2018-03-06T13:48:34Z","updated_at":"2018-07-25T13:33:54Z","pushed_at":"2018-07-25T13:33:54Z","git_url":"git://github.com/CodingCourse/coding.git","ssh_url":"git@github.com:CodingCourse/coding.git","clone_url":"https://github.com/CodingCourse/coding.git","svn_url":"https://github.com/CodingCourse/coding","homepage":null,"size":21,"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":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"base":{"label":"CodingCourse:develop","ref":"develop","sha":"4256e5325cdc17bf45e3b19fde7142549fcfded1","user":{"login":"CodingCourse","id":37111741,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MTExNzQx","avatar_url":"https://avatars0.githubusercontent.com/u/37111741?v=4","gravatar_id":"","url":"https://api.github.com/users/CodingCourse","html_url":"https://github.com/CodingCourse","followers_url":"https://api.github.com/users/CodingCourse/followers","following_url":"https://api.github.com/users/CodingCourse/following{/other_user}","gists_url":"https://api.github.com/users/CodingCourse/gists{/gist_id}","starred_url":"https://api.github.com/users/CodingCourse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodingCourse/subscriptions","organizations_url":"https://api.github.com/users/CodingCourse/orgs","repos_url":"https://api.github.com/users/CodingCourse/repos","events_url":"https://api.github.com/users/CodingCourse/events{/privacy}","received_events_url":"https://api.github.com/users/CodingCourse/received_events","type":"Organization","site_admin":false},"repo":{"id":124084815,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQwODQ4MTU=","name":"coding","full_name":"CodingCourse/coding","owner":{"login":"CodingCourse","id":37111741,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MTExNzQx","avatar_url":"https://avatars0.githubusercontent.com/u/37111741?v=4","gravatar_id":"","url":"https://api.github.com/users/CodingCourse","html_url":"https://github.com/CodingCourse","followers_url":"https://api.github.com/users/CodingCourse/followers","following_url":"https://api.github.com/users/CodingCourse/following{/other_user}","gists_url":"https://api.github.com/users/CodingCourse/gists{/gist_id}","starred_url":"https://api.github.com/users/CodingCourse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodingCourse/subscriptions","organizations_url":"https://api.github.com/users/CodingCourse/orgs","repos_url":"https://api.github.com/users/CodingCourse/repos","events_url":"https://api.github.com/users/CodingCourse/events{/privacy}","received_events_url":"https://api.github.com/users/CodingCourse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CodingCourse/coding","description":null,"fork":false,"url":"https://api.github.com/repos/CodingCourse/coding","forks_url":"https://api.github.com/repos/CodingCourse/coding/forks","keys_url":"https://api.github.com/repos/CodingCourse/coding/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodingCourse/coding/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodingCourse/coding/teams","hooks_url":"https://api.github.com/repos/CodingCourse/coding/hooks","issue_events_url":"https://api.github.com/repos/CodingCourse/coding/issues/events{/number}","events_url":"https://api.github.com/repos/CodingCourse/coding/events","assignees_url":"https://api.github.com/repos/CodingCourse/coding/assignees{/user}","branches_url":"https://api.github.com/repos/CodingCourse/coding/branches{/branch}","tags_url":"https://api.github.com/repos/CodingCourse/coding/tags","blobs_url":"https://api.github.com/repos/CodingCourse/coding/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodingCourse/coding/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodingCourse/coding/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodingCourse/coding/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodingCourse/coding/statuses/{sha}","languages_url":"https://api.github.com/repos/CodingCourse/coding/languages","stargazers_url":"https://api.github.com/repos/CodingCourse/coding/stargazers","contributors_url":"https://api.github.com/repos/CodingCourse/coding/contributors","subscribers_url":"https://api.github.com/repos/CodingCourse/coding/subscribers","subscription_url":"https://api.github.com/repos/CodingCourse/coding/subscription","commits_url":"https://api.github.com/repos/CodingCourse/coding/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodingCourse/coding/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodingCourse/coding/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodingCourse/coding/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodingCourse/coding/contents/{+path}","compare_url":"https://api.github.com/repos/CodingCourse/coding/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodingCourse/coding/merges","archive_url":"https://api.github.com/repos/CodingCourse/coding/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodingCourse/coding/downloads","issues_url":"https://api.github.com/repos/CodingCourse/coding/issues{/number}","pulls_url":"https://api.github.com/repos/CodingCourse/coding/pulls{/number}","milestones_url":"https://api.github.com/repos/CodingCourse/coding/milestones{/number}","notifications_url":"https://api.github.com/repos/CodingCourse/coding/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodingCourse/coding/labels{/name}","releases_url":"https://api.github.com/repos/CodingCourse/coding/releases{/id}","deployments_url":"https://api.github.com/repos/CodingCourse/coding/deployments","created_at":"2018-03-06T13:48:34Z","updated_at":"2018-07-25T13:33:54Z","pushed_at":"2018-07-25T13:33:54Z","git_url":"git://github.com/CodingCourse/coding.git","ssh_url":"git@github.com:CodingCourse/coding.git","clone_url":"https://github.com/CodingCourse/coding.git","svn_url":"https://github.com/CodingCourse/coding","homepage":null,"size":21,"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":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/CodingCourse/coding/pulls/6"},"html":{"href":"https://github.com/CodingCourse/coding/pull/6"},"issue":{"href":"https://api.github.com/repos/CodingCourse/coding/issues/6"},"comments":{"href":"https://api.github.com/repos/CodingCourse/coding/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/CodingCourse/coding/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/CodingCourse/coding/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CodingCourse/coding/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/CodingCourse/coding/statuses/b0a07ea6e9711632bb30c0c7211c46a4cd9d3958"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"carledriss"}}