{"action":"created","comment":{"url":"https://api.github.com/repos/AT-07/coding/pulls/comments/199644667","pull_request_review_id":133804528,"id":199644667,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5OTY0NDY2Nw==","diff_hunk":"@@ -0,0 +1,27 @@\n+package org.fundacionjala.coding.ana;\n+\n+/**\n+ * word invert when the word is major that 5.\n+ *\n+ * @author Ana Maria Mamani Zenteno.\n+ */\n+public class Word {\n+    private static final int NUMBER = 5;\n+\n+    /**\n+     * A word that has more than 5 letters is inverted.\n+     *\n+     * @param words enter the value \"this is another test\".\n+     * @return a string.\n+     */\n+    public String stringWords(String words) {\n+        String wordInvert = \"\";\n+        for (String separatedWord : words.split(\" \")) {\n+            StringBuilder word = new StringBuilder(separatedWord);\n+            wordInvert += word.length() >= NUMBER ? word.reverse().append(\" \").toString() : word.append(\" \").toString();","path":"src/main/java/org/fundacionjala/coding/ana/Word.java","position":21,"original_position":21,"commit_id":"2d5b456d195a8c5276e83dd86a4612fe22a4b0e7","original_commit_id":"2d5b456d195a8c5276e83dd86a4612fe22a4b0e7","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":"![MAJOR](https://sonarsource.github.io/sonar-github/severity-major.png 'Severity: MAJOR') Use a StringBuilder instead. [![rule](https://sonarsource.github.io/sonar-github/rule.png)](https://sonarcloud.io/coding_rules#rule_key=squid%3AS1643)\n","created_at":"2018-07-02T23:06:30Z","updated_at":"2018-07-02T23:06:30Z","html_url":"https://github.com/AT-07/coding/pull/60#discussion_r199644667","pull_request_url":"https://api.github.com/repos/AT-07/coding/pulls/60","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/AT-07/coding/pulls/comments/199644667"},"html":{"href":"https://github.com/AT-07/coding/pull/60#discussion_r199644667"},"pull_request":{"href":"https://api.github.com/repos/AT-07/coding/pulls/60"}}},"pull_request":{"url":"https://api.github.com/repos/AT-07/coding/pulls/60","id":198539969,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4NTM5OTY5","html_url":"https://github.com/AT-07/coding/pull/60","diff_url":"https://github.com/AT-07/coding/pull/60.diff","patch_url":"https://github.com/AT-07/coding/pull/60.patch","issue_url":"https://api.github.com/repos/AT-07/coding/issues/60","number":60,"state":"open","locked":false,"title":"ana word","user":{"login":"AnaMamani","id":40204306,"node_id":"MDQ6VXNlcjQwMjA0MzA2","avatar_url":"https://avatars1.githubusercontent.com/u/40204306?v=4","gravatar_id":"","url":"https://api.github.com/users/AnaMamani","html_url":"https://github.com/AnaMamani","followers_url":"https://api.github.com/users/AnaMamani/followers","following_url":"https://api.github.com/users/AnaMamani/following{/other_user}","gists_url":"https://api.github.com/users/AnaMamani/gists{/gist_id}","starred_url":"https://api.github.com/users/AnaMamani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnaMamani/subscriptions","organizations_url":"https://api.github.com/users/AnaMamani/orgs","repos_url":"https://api.github.com/users/AnaMamani/repos","events_url":"https://api.github.com/users/AnaMamani/events{/privacy}","received_events_url":"https://api.github.com/users/AnaMamani/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-01T19:59:04Z","updated_at":"2018-07-02T23:06:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3030f91edcdd47d90befad867a595399319f6178","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/AT-07/coding/pulls/60/commits","review_comments_url":"https://api.github.com/repos/AT-07/coding/pulls/60/comments","review_comment_url":"https://api.github.com/repos/AT-07/coding/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AT-07/coding/issues/60/comments","statuses_url":"https://api.github.com/repos/AT-07/coding/statuses/2d5b456d195a8c5276e83dd86a4612fe22a4b0e7","head":{"label":"AT-07:zenteno/word","ref":"zenteno/word","sha":"2d5b456d195a8c5276e83dd86a4612fe22a4b0e7","user":{"login":"AT-07","id":40148813,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwMTQ4ODEz","avatar_url":"https://avatars2.githubusercontent.com/u/40148813?v=4","gravatar_id":"","url":"https://api.github.com/users/AT-07","html_url":"https://github.com/AT-07","followers_url":"https://api.github.com/users/AT-07/followers","following_url":"https://api.github.com/users/AT-07/following{/other_user}","gists_url":"https://api.github.com/users/AT-07/gists{/gist_id}","starred_url":"https://api.github.com/users/AT-07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AT-07/subscriptions","organizations_url":"https://api.github.com/users/AT-07/orgs","repos_url":"https://api.github.com/users/AT-07/repos","events_url":"https://api.github.com/users/AT-07/events{/privacy}","received_events_url":"https://api.github.com/users/AT-07/received_events","type":"Organization","site_admin":false},"repo":{"id":136834518,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY4MzQ1MTg=","name":"coding","full_name":"AT-07/coding","owner":{"login":"AT-07","id":40148813,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwMTQ4ODEz","avatar_url":"https://avatars2.githubusercontent.com/u/40148813?v=4","gravatar_id":"","url":"https://api.github.com/users/AT-07","html_url":"https://github.com/AT-07","followers_url":"https://api.github.com/users/AT-07/followers","following_url":"https://api.github.com/users/AT-07/following{/other_user}","gists_url":"https://api.github.com/users/AT-07/gists{/gist_id}","starred_url":"https://api.github.com/users/AT-07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AT-07/subscriptions","organizations_url":"https://api.github.com/users/AT-07/orgs","repos_url":"https://api.github.com/users/AT-07/repos","events_url":"https://api.github.com/users/AT-07/events{/privacy}","received_events_url":"https://api.github.com/users/AT-07/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AT-07/coding","description":null,"fork":false,"url":"https://api.github.com/repos/AT-07/coding","forks_url":"https://api.github.com/repos/AT-07/coding/forks","keys_url":"https://api.github.com/repos/AT-07/coding/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AT-07/coding/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AT-07/coding/teams","hooks_url":"https://api.github.com/repos/AT-07/coding/hooks","issue_events_url":"https://api.github.com/repos/AT-07/coding/issues/events{/number}","events_url":"https://api.github.com/repos/AT-07/coding/events","assignees_url":"https://api.github.com/repos/AT-07/coding/assignees{/user}","branches_url":"https://api.github.com/repos/AT-07/coding/branches{/branch}","tags_url":"https://api.github.com/repos/AT-07/coding/tags","blobs_url":"https://api.github.com/repos/AT-07/coding/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AT-07/coding/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AT-07/coding/git/refs{/sha}","trees_url":"https://api.github.com/repos/AT-07/coding/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AT-07/coding/statuses/{sha}","languages_url":"https://api.github.com/repos/AT-07/coding/languages","stargazers_url":"https://api.github.com/repos/AT-07/coding/stargazers","contributors_url":"https://api.github.com/repos/AT-07/coding/contributors","subscribers_url":"https://api.github.com/repos/AT-07/coding/subscribers","subscription_url":"https://api.github.com/repos/AT-07/coding/subscription","commits_url":"https://api.github.com/repos/AT-07/coding/commits{/sha}","git_commits_url":"https://api.github.com/repos/AT-07/coding/git/commits{/sha}","comments_url":"https://api.github.com/repos/AT-07/coding/comments{/number}","issue_comment_url":"https://api.github.com/repos/AT-07/coding/issues/comments{/number}","contents_url":"https://api.github.com/repos/AT-07/coding/contents/{+path}","compare_url":"https://api.github.com/repos/AT-07/coding/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AT-07/coding/merges","archive_url":"https://api.github.com/repos/AT-07/coding/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AT-07/coding/downloads","issues_url":"https://api.github.com/repos/AT-07/coding/issues{/number}","pulls_url":"https://api.github.com/repos/AT-07/coding/pulls{/number}","milestones_url":"https://api.github.com/repos/AT-07/coding/milestones{/number}","notifications_url":"https://api.github.com/repos/AT-07/coding/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AT-07/coding/labels{/name}","releases_url":"https://api.github.com/repos/AT-07/coding/releases{/id}","deployments_url":"https://api.github.com/repos/AT-07/coding/deployments","created_at":"2018-06-10T18:30:00Z","updated_at":"2018-07-02T22:57:06Z","pushed_at":"2018-07-02T23:03:48Z","git_url":"git://github.com/AT-07/coding.git","ssh_url":"git@github.com:AT-07/coding.git","clone_url":"https://github.com/AT-07/coding.git","svn_url":"https://github.com/AT-07/coding","homepage":null,"size":195,"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":20,"license":null,"forks":0,"open_issues":20,"watchers":0,"default_branch":"develop"}},"base":{"label":"AT-07:develop","ref":"develop","sha":"e896b599be1bb3b36821ea660b32470917bfc40b","user":{"login":"AT-07","id":40148813,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwMTQ4ODEz","avatar_url":"https://avatars2.githubusercontent.com/u/40148813?v=4","gravatar_id":"","url":"https://api.github.com/users/AT-07","html_url":"https://github.com/AT-07","followers_url":"https://api.github.com/users/AT-07/followers","following_url":"https://api.github.com/users/AT-07/following{/other_user}","gists_url":"https://api.github.com/users/AT-07/gists{/gist_id}","starred_url":"https://api.github.com/users/AT-07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AT-07/subscriptions","organizations_url":"https://api.github.com/users/AT-07/orgs","repos_url":"https://api.github.com/users/AT-07/repos","events_url":"https://api.github.com/users/AT-07/events{/privacy}","received_events_url":"https://api.github.com/users/AT-07/received_events","type":"Organization","site_admin":false},"repo":{"id":136834518,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY4MzQ1MTg=","name":"coding","full_name":"AT-07/coding","owner":{"login":"AT-07","id":40148813,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwMTQ4ODEz","avatar_url":"https://avatars2.githubusercontent.com/u/40148813?v=4","gravatar_id":"","url":"https://api.github.com/users/AT-07","html_url":"https://github.com/AT-07","followers_url":"https://api.github.com/users/AT-07/followers","following_url":"https://api.github.com/users/AT-07/following{/other_user}","gists_url":"https://api.github.com/users/AT-07/gists{/gist_id}","starred_url":"https://api.github.com/users/AT-07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AT-07/subscriptions","organizations_url":"https://api.github.com/users/AT-07/orgs","repos_url":"https://api.github.com/users/AT-07/repos","events_url":"https://api.github.com/users/AT-07/events{/privacy}","received_events_url":"https://api.github.com/users/AT-07/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AT-07/coding","description":null,"fork":false,"url":"https://api.github.com/repos/AT-07/coding","forks_url":"https://api.github.com/repos/AT-07/coding/forks","keys_url":"https://api.github.com/repos/AT-07/coding/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AT-07/coding/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AT-07/coding/teams","hooks_url":"https://api.github.com/repos/AT-07/coding/hooks","issue_events_url":"https://api.github.com/repos/AT-07/coding/issues/events{/number}","events_url":"https://api.github.com/repos/AT-07/coding/events","assignees_url":"https://api.github.com/repos/AT-07/coding/assignees{/user}","branches_url":"https://api.github.com/repos/AT-07/coding/branches{/branch}","tags_url":"https://api.github.com/repos/AT-07/coding/tags","blobs_url":"https://api.github.com/repos/AT-07/coding/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AT-07/coding/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AT-07/coding/git/refs{/sha}","trees_url":"https://api.github.com/repos/AT-07/coding/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AT-07/coding/statuses/{sha}","languages_url":"https://api.github.com/repos/AT-07/coding/languages","stargazers_url":"https://api.github.com/repos/AT-07/coding/stargazers","contributors_url":"https://api.github.com/repos/AT-07/coding/contributors","subscribers_url":"https://api.github.com/repos/AT-07/coding/subscribers","subscription_url":"https://api.github.com/repos/AT-07/coding/subscription","commits_url":"https://api.github.com/repos/AT-07/coding/commits{/sha}","git_commits_url":"https://api.github.com/repos/AT-07/coding/git/commits{/sha}","comments_url":"https://api.github.com/repos/AT-07/coding/comments{/number}","issue_comment_url":"https://api.github.com/repos/AT-07/coding/issues/comments{/number}","contents_url":"https://api.github.com/repos/AT-07/coding/contents/{+path}","compare_url":"https://api.github.com/repos/AT-07/coding/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AT-07/coding/merges","archive_url":"https://api.github.com/repos/AT-07/coding/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AT-07/coding/downloads","issues_url":"https://api.github.com/repos/AT-07/coding/issues{/number}","pulls_url":"https://api.github.com/repos/AT-07/coding/pulls{/number}","milestones_url":"https://api.github.com/repos/AT-07/coding/milestones{/number}","notifications_url":"https://api.github.com/repos/AT-07/coding/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AT-07/coding/labels{/name}","releases_url":"https://api.github.com/repos/AT-07/coding/releases{/id}","deployments_url":"https://api.github.com/repos/AT-07/coding/deployments","created_at":"2018-06-10T18:30:00Z","updated_at":"2018-07-02T22:57:06Z","pushed_at":"2018-07-02T23:03:48Z","git_url":"git://github.com/AT-07/coding.git","ssh_url":"git@github.com:AT-07/coding.git","clone_url":"https://github.com/AT-07/coding.git","svn_url":"https://github.com/AT-07/coding","homepage":null,"size":195,"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":20,"license":null,"forks":0,"open_issues":20,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/AT-07/coding/pulls/60"},"html":{"href":"https://github.com/AT-07/coding/pull/60"},"issue":{"href":"https://api.github.com/repos/AT-07/coding/issues/60"},"comments":{"href":"https://api.github.com/repos/AT-07/coding/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/AT-07/coding/pulls/60/comments"},"review_comment":{"href":"https://api.github.com/repos/AT-07/coding/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AT-07/coding/pulls/60/commits"},"statuses":{"href":"https://api.github.com/repos/AT-07/coding/statuses/2d5b456d195a8c5276e83dd86a4612fe22a4b0e7"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"carledriss"}}