{"action":"created","comment":{"url":"https://api.github.com/repos/SonarSource/sonar-css/pulls/comments/196719863","pull_request_review_id":130324632,"id":196719863,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NjcxOTg2Mw==","diff_hunk":"@@ -19,9 +19,14 @@\n  */\n package org.sonar.css.plugin;\n \n+import java.util.Arrays;\n import java.util.Collections;\n+import java.util.List;\n import org.sonar.api.server.rule.RulesDefinition;\n import org.sonar.css.plugin.rules.ColorNoInvalidHex;\n+import org.sonar.css.plugin.rules.CommentNoEmpty;","path":"sonar-css-plugin/src/main/java/org/sonar/css/plugin/CssRulesDefinition.java","position":9,"original_position":9,"commit_id":"f2614957b88737357567c81416f0b5bbcc747ac6","original_commit_id":"f2614957b88737357567c81416f0b5bbcc747ac6","user":{"login":"sonarsource-next[bot]","id":39046940,"node_id":"MDM6Qm90MzkwNDY5NDA=","avatar_url":"https://avatars1.githubusercontent.com/in/11855?v=4","gravatar_id":"","url":"https://api.github.com/users/sonarsource-next%5Bbot%5D","html_url":"https://github.com/apps/sonarsource-next","followers_url":"https://api.github.com/users/sonarsource-next%5Bbot%5D/followers","following_url":"https://api.github.com/users/sonarsource-next%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/sonarsource-next%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/sonarsource-next%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonarsource-next%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/sonarsource-next%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/sonarsource-next%5Bbot%5D/repos","events_url":"https://api.github.com/users/sonarsource-next%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/sonarsource-next%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"![Code Smell](https://sonarsource.github.io/sonar-github/code_smell.png 'Code Smell') Code Smell: Remove this unused import 'org.sonar.css.plugin.rules.CommentNoEmpty'. ([squid:UselessImportCheck](https://next.sonarqube.com/sonarqube/coding_rules#rule_key=squid%3AUselessImportCheck))\n\n[See it in SonarQube](https://next.sonarqube.com/sonarqube/project/issues?id=org.sonarsource.css%3Acss&pullRequest=52&issues=AWQcqw92KjEPJwPVvISR&open=AWQcqw92KjEPJwPVvISR)\n\n[ISSUE_KEY]: AWQcqw92KjEPJwPVvISR","created_at":"2018-06-20T10:08:55Z","updated_at":"2018-06-20T10:08:55Z","html_url":"https://github.com/SonarSource/sonar-css/pull/52#discussion_r196719863","pull_request_url":"https://api.github.com/repos/SonarSource/sonar-css/pulls/52","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/SonarSource/sonar-css/pulls/comments/196719863"},"html":{"href":"https://github.com/SonarSource/sonar-css/pull/52#discussion_r196719863"},"pull_request":{"href":"https://api.github.com/repos/SonarSource/sonar-css/pulls/52"}}},"pull_request":{"url":"https://api.github.com/repos/SonarSource/sonar-css/pulls/52","id":195871261,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1ODcxMjYx","html_url":"https://github.com/SonarSource/sonar-css/pull/52","diff_url":"https://github.com/SonarSource/sonar-css/pull/52.diff","patch_url":"https://github.com/SonarSource/sonar-css/pull/52.patch","issue_url":"https://api.github.com/repos/SonarSource/sonar-css/issues/52","number":52,"state":"open","locked":false,"title":"[5/X] Rule S4652: Strings should not contain new lines","user":{"login":"Evangelink","id":11340282,"node_id":"MDQ6VXNlcjExMzQwMjgy","avatar_url":"https://avatars0.githubusercontent.com/u/11340282?v=4","gravatar_id":"","url":"https://api.github.com/users/Evangelink","html_url":"https://github.com/Evangelink","followers_url":"https://api.github.com/users/Evangelink/followers","following_url":"https://api.github.com/users/Evangelink/following{/other_user}","gists_url":"https://api.github.com/users/Evangelink/gists{/gist_id}","starred_url":"https://api.github.com/users/Evangelink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Evangelink/subscriptions","organizations_url":"https://api.github.com/users/Evangelink/orgs","repos_url":"https://api.github.com/users/Evangelink/repos","events_url":"https://api.github.com/users/Evangelink/events{/privacy}","received_events_url":"https://api.github.com/users/Evangelink/received_events","type":"User","site_admin":false},"body":"This PR needs to be reviewed in order (see title) as PR's are based on each other.\r\n\r\nFix #18 ","created_at":"2018-06-19T15:38:41Z","updated_at":"2018-06-20T10:08:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f4ea52a42656433850c3b0a8187d0892ec4fc94","assignee":{"login":"vilchik-elena","id":10108186,"node_id":"MDQ6VXNlcjEwMTA4MTg2","avatar_url":"https://avatars1.githubusercontent.com/u/10108186?v=4","gravatar_id":"","url":"https://api.github.com/users/vilchik-elena","html_url":"https://github.com/vilchik-elena","followers_url":"https://api.github.com/users/vilchik-elena/followers","following_url":"https://api.github.com/users/vilchik-elena/following{/other_user}","gists_url":"https://api.github.com/users/vilchik-elena/gists{/gist_id}","starred_url":"https://api.github.com/users/vilchik-elena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vilchik-elena/subscriptions","organizations_url":"https://api.github.com/users/vilchik-elena/orgs","repos_url":"https://api.github.com/users/vilchik-elena/repos","events_url":"https://api.github.com/users/vilchik-elena/events{/privacy}","received_events_url":"https://api.github.com/users/vilchik-elena/received_events","type":"User","site_admin":false},"assignees":[{"login":"vilchik-elena","id":10108186,"node_id":"MDQ6VXNlcjEwMTA4MTg2","avatar_url":"https://avatars1.githubusercontent.com/u/10108186?v=4","gravatar_id":"","url":"https://api.github.com/users/vilchik-elena","html_url":"https://github.com/vilchik-elena","followers_url":"https://api.github.com/users/vilchik-elena/followers","following_url":"https://api.github.com/users/vilchik-elena/following{/other_user}","gists_url":"https://api.github.com/users/vilchik-elena/gists{/gist_id}","starred_url":"https://api.github.com/users/vilchik-elena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vilchik-elena/subscriptions","organizations_url":"https://api.github.com/users/vilchik-elena/orgs","repos_url":"https://api.github.com/users/vilchik-elena/repos","events_url":"https://api.github.com/users/vilchik-elena/events{/privacy}","received_events_url":"https://api.github.com/users/vilchik-elena/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"vilchik-elena","id":10108186,"node_id":"MDQ6VXNlcjEwMTA4MTg2","avatar_url":"https://avatars1.githubusercontent.com/u/10108186?v=4","gravatar_id":"","url":"https://api.github.com/users/vilchik-elena","html_url":"https://github.com/vilchik-elena","followers_url":"https://api.github.com/users/vilchik-elena/followers","following_url":"https://api.github.com/users/vilchik-elena/following{/other_user}","gists_url":"https://api.github.com/users/vilchik-elena/gists{/gist_id}","starred_url":"https://api.github.com/users/vilchik-elena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vilchik-elena/subscriptions","organizations_url":"https://api.github.com/users/vilchik-elena/orgs","repos_url":"https://api.github.com/users/vilchik-elena/repos","events_url":"https://api.github.com/users/vilchik-elena/events{/privacy}","received_events_url":"https://api.github.com/users/vilchik-elena/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":950301103,"node_id":"MDU6TGFiZWw5NTAzMDExMDM=","url":"https://api.github.com/repos/SonarSource/sonar-css/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/SonarSource/sonar-css/pulls/52/commits","review_comments_url":"https://api.github.com/repos/SonarSource/sonar-css/pulls/52/comments","review_comment_url":"https://api.github.com/repos/SonarSource/sonar-css/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SonarSource/sonar-css/issues/52/comments","statuses_url":"https://api.github.com/repos/SonarSource/sonar-css/statuses/f2614957b88737357567c81416f0b5bbcc747ac6","head":{"label":"SonarSource:ammo/S4652","ref":"ammo/S4652","sha":"f2614957b88737357567c81416f0b5bbcc747ac6","user":{"login":"SonarSource","id":545988,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0NTk4OA==","avatar_url":"https://avatars0.githubusercontent.com/u/545988?v=4","gravatar_id":"","url":"https://api.github.com/users/SonarSource","html_url":"https://github.com/SonarSource","followers_url":"https://api.github.com/users/SonarSource/followers","following_url":"https://api.github.com/users/SonarSource/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource/subscriptions","organizations_url":"https://api.github.com/users/SonarSource/orgs","repos_url":"https://api.github.com/users/SonarSource/repos","events_url":"https://api.github.com/users/SonarSource/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource/received_events","type":"Organization","site_admin":false},"repo":{"id":135256100,"node_id":"MDEwOlJlcG9zaXRvcnkxMzUyNTYxMDA=","name":"sonar-css","full_name":"SonarSource/sonar-css","owner":{"login":"SonarSource","id":545988,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0NTk4OA==","avatar_url":"https://avatars0.githubusercontent.com/u/545988?v=4","gravatar_id":"","url":"https://api.github.com/users/SonarSource","html_url":"https://github.com/SonarSource","followers_url":"https://api.github.com/users/SonarSource/followers","following_url":"https://api.github.com/users/SonarSource/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource/subscriptions","organizations_url":"https://api.github.com/users/SonarSource/orgs","repos_url":"https://api.github.com/users/SonarSource/repos","events_url":"https://api.github.com/users/SonarSource/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SonarSource/sonar-css","description":"SonarCSS: CSS Analyzer for SonarQube","fork":false,"url":"https://api.github.com/repos/SonarSource/sonar-css","forks_url":"https://api.github.com/repos/SonarSource/sonar-css/forks","keys_url":"https://api.github.com/repos/SonarSource/sonar-css/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SonarSource/sonar-css/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SonarSource/sonar-css/teams","hooks_url":"https://api.github.com/repos/SonarSource/sonar-css/hooks","issue_events_url":"https://api.github.com/repos/SonarSource/sonar-css/issues/events{/number}","events_url":"https://api.github.com/repos/SonarSource/sonar-css/events","assignees_url":"https://api.github.com/repos/SonarSource/sonar-css/assignees{/user}","branches_url":"https://api.github.com/repos/SonarSource/sonar-css/branches{/branch}","tags_url":"https://api.github.com/repos/SonarSource/sonar-css/tags","blobs_url":"https://api.github.com/repos/SonarSource/sonar-css/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SonarSource/sonar-css/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SonarSource/sonar-css/git/refs{/sha}","trees_url":"https://api.github.com/repos/SonarSource/sonar-css/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SonarSource/sonar-css/statuses/{sha}","languages_url":"https://api.github.com/repos/SonarSource/sonar-css/languages","stargazers_url":"https://api.github.com/repos/SonarSource/sonar-css/stargazers","contributors_url":"https://api.github.com/repos/SonarSource/sonar-css/contributors","subscribers_url":"https://api.github.com/repos/SonarSource/sonar-css/subscribers","subscription_url":"https://api.github.com/repos/SonarSource/sonar-css/subscription","commits_url":"https://api.github.com/repos/SonarSource/sonar-css/commits{/sha}","git_commits_url":"https://api.github.com/repos/SonarSource/sonar-css/git/commits{/sha}","comments_url":"https://api.github.com/repos/SonarSource/sonar-css/comments{/number}","issue_comment_url":"https://api.github.com/repos/SonarSource/sonar-css/issues/comments{/number}","contents_url":"https://api.github.com/repos/SonarSource/sonar-css/contents/{+path}","compare_url":"https://api.github.com/repos/SonarSource/sonar-css/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SonarSource/sonar-css/merges","archive_url":"https://api.github.com/repos/SonarSource/sonar-css/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SonarSource/sonar-css/downloads","issues_url":"https://api.github.com/repos/SonarSource/sonar-css/issues{/number}","pulls_url":"https://api.github.com/repos/SonarSource/sonar-css/pulls{/number}","milestones_url":"https://api.github.com/repos/SonarSource/sonar-css/milestones{/number}","notifications_url":"https://api.github.com/repos/SonarSource/sonar-css/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SonarSource/sonar-css/labels{/name}","releases_url":"https://api.github.com/repos/SonarSource/sonar-css/releases{/id}","deployments_url":"https://api.github.com/repos/SonarSource/sonar-css/deployments","created_at":"2018-05-29T07:12:43Z","updated_at":"2018-06-15T09:43:36Z","pushed_at":"2018-06-20T10:08:34Z","git_url":"git://github.com/SonarSource/sonar-css.git","ssh_url":"git@github.com:SonarSource/sonar-css.git","clone_url":"https://github.com/SonarSource/sonar-css.git","svn_url":"https://github.com/SonarSource/sonar-css","homepage":null,"size":114,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":34,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":34,"watchers":1,"default_branch":"master"}},"base":{"label":"SonarSource:master","ref":"master","sha":"5fa2bf885df67839732ce45bca9b2d7dbdd1eb67","user":{"login":"SonarSource","id":545988,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0NTk4OA==","avatar_url":"https://avatars0.githubusercontent.com/u/545988?v=4","gravatar_id":"","url":"https://api.github.com/users/SonarSource","html_url":"https://github.com/SonarSource","followers_url":"https://api.github.com/users/SonarSource/followers","following_url":"https://api.github.com/users/SonarSource/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource/subscriptions","organizations_url":"https://api.github.com/users/SonarSource/orgs","repos_url":"https://api.github.com/users/SonarSource/repos","events_url":"https://api.github.com/users/SonarSource/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource/received_events","type":"Organization","site_admin":false},"repo":{"id":135256100,"node_id":"MDEwOlJlcG9zaXRvcnkxMzUyNTYxMDA=","name":"sonar-css","full_name":"SonarSource/sonar-css","owner":{"login":"SonarSource","id":545988,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0NTk4OA==","avatar_url":"https://avatars0.githubusercontent.com/u/545988?v=4","gravatar_id":"","url":"https://api.github.com/users/SonarSource","html_url":"https://github.com/SonarSource","followers_url":"https://api.github.com/users/SonarSource/followers","following_url":"https://api.github.com/users/SonarSource/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource/subscriptions","organizations_url":"https://api.github.com/users/SonarSource/orgs","repos_url":"https://api.github.com/users/SonarSource/repos","events_url":"https://api.github.com/users/SonarSource/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SonarSource/sonar-css","description":"SonarCSS: CSS Analyzer for SonarQube","fork":false,"url":"https://api.github.com/repos/SonarSource/sonar-css","forks_url":"https://api.github.com/repos/SonarSource/sonar-css/forks","keys_url":"https://api.github.com/repos/SonarSource/sonar-css/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SonarSource/sonar-css/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SonarSource/sonar-css/teams","hooks_url":"https://api.github.com/repos/SonarSource/sonar-css/hooks","issue_events_url":"https://api.github.com/repos/SonarSource/sonar-css/issues/events{/number}","events_url":"https://api.github.com/repos/SonarSource/sonar-css/events","assignees_url":"https://api.github.com/repos/SonarSource/sonar-css/assignees{/user}","branches_url":"https://api.github.com/repos/SonarSource/sonar-css/branches{/branch}","tags_url":"https://api.github.com/repos/SonarSource/sonar-css/tags","blobs_url":"https://api.github.com/repos/SonarSource/sonar-css/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SonarSource/sonar-css/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SonarSource/sonar-css/git/refs{/sha}","trees_url":"https://api.github.com/repos/SonarSource/sonar-css/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SonarSource/sonar-css/statuses/{sha}","languages_url":"https://api.github.com/repos/SonarSource/sonar-css/languages","stargazers_url":"https://api.github.com/repos/SonarSource/sonar-css/stargazers","contributors_url":"https://api.github.com/repos/SonarSource/sonar-css/contributors","subscribers_url":"https://api.github.com/repos/SonarSource/sonar-css/subscribers","subscription_url":"https://api.github.com/repos/SonarSource/sonar-css/subscription","commits_url":"https://api.github.com/repos/SonarSource/sonar-css/commits{/sha}","git_commits_url":"https://api.github.com/repos/SonarSource/sonar-css/git/commits{/sha}","comments_url":"https://api.github.com/repos/SonarSource/sonar-css/comments{/number}","issue_comment_url":"https://api.github.com/repos/SonarSource/sonar-css/issues/comments{/number}","contents_url":"https://api.github.com/repos/SonarSource/sonar-css/contents/{+path}","compare_url":"https://api.github.com/repos/SonarSource/sonar-css/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SonarSource/sonar-css/merges","archive_url":"https://api.github.com/repos/SonarSource/sonar-css/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SonarSource/sonar-css/downloads","issues_url":"https://api.github.com/repos/SonarSource/sonar-css/issues{/number}","pulls_url":"https://api.github.com/repos/SonarSource/sonar-css/pulls{/number}","milestones_url":"https://api.github.com/repos/SonarSource/sonar-css/milestones{/number}","notifications_url":"https://api.github.com/repos/SonarSource/sonar-css/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SonarSource/sonar-css/labels{/name}","releases_url":"https://api.github.com/repos/SonarSource/sonar-css/releases{/id}","deployments_url":"https://api.github.com/repos/SonarSource/sonar-css/deployments","created_at":"2018-05-29T07:12:43Z","updated_at":"2018-06-15T09:43:36Z","pushed_at":"2018-06-20T10:08:34Z","git_url":"git://github.com/SonarSource/sonar-css.git","ssh_url":"git@github.com:SonarSource/sonar-css.git","clone_url":"https://github.com/SonarSource/sonar-css.git","svn_url":"https://github.com/SonarSource/sonar-css","homepage":null,"size":114,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":34,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":34,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SonarSource/sonar-css/pulls/52"},"html":{"href":"https://github.com/SonarSource/sonar-css/pull/52"},"issue":{"href":"https://api.github.com/repos/SonarSource/sonar-css/issues/52"},"comments":{"href":"https://api.github.com/repos/SonarSource/sonar-css/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/SonarSource/sonar-css/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/SonarSource/sonar-css/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SonarSource/sonar-css/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/SonarSource/sonar-css/statuses/f2614957b88737357567c81416f0b5bbcc747ac6"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"sonarsource-next"}}