{"action":"opened","number":2096,"pull_request":{"url":"https://api.github.com/repos/Atmosphere/atmosphere/pulls/2096","id":51851771,"html_url":"https://github.com/Atmosphere/atmosphere/pull/2096","diff_url":"https://github.com/Atmosphere/atmosphere/pull/2096.diff","patch_url":"https://github.com/Atmosphere/atmosphere/pull/2096.patch","issue_url":"https://api.github.com/repos/Atmosphere/atmosphere/issues/2096","number":2096,"state":"open","locked":false,"title":"Code quality fix - Strings literals should be placed on the left side when checking for equality","user":{"login":"AhmedDaraz","id":15817510,"avatar_url":"https://avatars.githubusercontent.com/u/15817510?v=3","gravatar_id":"","url":"https://api.github.com/users/AhmedDaraz","html_url":"https://github.com/AhmedDaraz","followers_url":"https://api.github.com/users/AhmedDaraz/followers","following_url":"https://api.github.com/users/AhmedDaraz/following{/other_user}","gists_url":"https://api.github.com/users/AhmedDaraz/gists{/gist_id}","starred_url":"https://api.github.com/users/AhmedDaraz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AhmedDaraz/subscriptions","organizations_url":"https://api.github.com/users/AhmedDaraz/orgs","repos_url":"https://api.github.com/users/AhmedDaraz/repos","events_url":"https://api.github.com/users/AhmedDaraz/events{/privacy}","received_events_url":"https://api.github.com/users/AhmedDaraz/received_events","type":"User","site_admin":false},"body":"This pull request is focused on resolving occurrences of Sonar rule squid:S1132 - “Strings literals should be placed on the left side when checking for equality”. You can find more information about the issue here: https://dev.eclipse.org/sonar/coding_rules#q=squid%3AS1132\r\n\r\nPlease let me know if you have any questions.\r\n\r\nAhmed","created_at":"2015-11-25T22:11:22Z","updated_at":"2015-11-25T22:11:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"abc7b59c9c60c2d62837f649fd000eb115f85c6b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Atmosphere/atmosphere/pulls/2096/commits","review_comments_url":"https://api.github.com/repos/Atmosphere/atmosphere/pulls/2096/comments","review_comment_url":"https://api.github.com/repos/Atmosphere/atmosphere/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Atmosphere/atmosphere/issues/2096/comments","statuses_url":"https://api.github.com/repos/Atmosphere/atmosphere/statuses/1f4cc1aa38dcc8028ea018917d3555efb0362ffa","head":{"label":"DevFactory:staging-string-literal-should-placed-leftside-fix-1","ref":"staging-string-literal-should-placed-leftside-fix-1","sha":"1f4cc1aa38dcc8028ea018917d3555efb0362ffa","user":{"login":"DevFactory","id":1516696,"avatar_url":"https://avatars.githubusercontent.com/u/1516696?v=3","gravatar_id":"","url":"https://api.github.com/users/DevFactory","html_url":"https://github.com/DevFactory","followers_url":"https://api.github.com/users/DevFactory/followers","following_url":"https://api.github.com/users/DevFactory/following{/other_user}","gists_url":"https://api.github.com/users/DevFactory/gists{/gist_id}","starred_url":"https://api.github.com/users/DevFactory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevFactory/subscriptions","organizations_url":"https://api.github.com/users/DevFactory/orgs","repos_url":"https://api.github.com/users/DevFactory/repos","events_url":"https://api.github.com/users/DevFactory/events{/privacy}","received_events_url":"https://api.github.com/users/DevFactory/received_events","type":"Organization","site_admin":false},"repo":{"id":46849289,"name":"atmosphere","full_name":"DevFactory/atmosphere","owner":{"login":"DevFactory","id":1516696,"avatar_url":"https://avatars.githubusercontent.com/u/1516696?v=3","gravatar_id":"","url":"https://api.github.com/users/DevFactory","html_url":"https://github.com/DevFactory","followers_url":"https://api.github.com/users/DevFactory/followers","following_url":"https://api.github.com/users/DevFactory/following{/other_user}","gists_url":"https://api.github.com/users/DevFactory/gists{/gist_id}","starred_url":"https://api.github.com/users/DevFactory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevFactory/subscriptions","organizations_url":"https://api.github.com/users/DevFactory/orgs","repos_url":"https://api.github.com/users/DevFactory/repos","events_url":"https://api.github.com/users/DevFactory/events{/privacy}","received_events_url":"https://api.github.com/users/DevFactory/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DevFactory/atmosphere","description":"Realtime Client Server Framework for the JVM, supporting WebSockets with Cross-Browser Fallbacks","fork":true,"url":"https://api.github.com/repos/DevFactory/atmosphere","forks_url":"https://api.github.com/repos/DevFactory/atmosphere/forks","keys_url":"https://api.github.com/repos/DevFactory/atmosphere/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DevFactory/atmosphere/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DevFactory/atmosphere/teams","hooks_url":"https://api.github.com/repos/DevFactory/atmosphere/hooks","issue_events_url":"https://api.github.com/repos/DevFactory/atmosphere/issues/events{/number}","events_url":"https://api.github.com/repos/DevFactory/atmosphere/events","assignees_url":"https://api.github.com/repos/DevFactory/atmosphere/assignees{/user}","branches_url":"https://api.github.com/repos/DevFactory/atmosphere/branches{/branch}","tags_url":"https://api.github.com/repos/DevFactory/atmosphere/tags","blobs_url":"https://api.github.com/repos/DevFactory/atmosphere/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DevFactory/atmosphere/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DevFactory/atmosphere/git/refs{/sha}","trees_url":"https://api.github.com/repos/DevFactory/atmosphere/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DevFactory/atmosphere/statuses/{sha}","languages_url":"https://api.github.com/repos/DevFactory/atmosphere/languages","stargazers_url":"https://api.github.com/repos/DevFactory/atmosphere/stargazers","contributors_url":"https://api.github.com/repos/DevFactory/atmosphere/contributors","subscribers_url":"https://api.github.com/repos/DevFactory/atmosphere/subscribers","subscription_url":"https://api.github.com/repos/DevFactory/atmosphere/subscription","commits_url":"https://api.github.com/repos/DevFactory/atmosphere/commits{/sha}","git_commits_url":"https://api.github.com/repos/DevFactory/atmosphere/git/commits{/sha}","comments_url":"https://api.github.com/repos/DevFactory/atmosphere/comments{/number}","issue_comment_url":"https://api.github.com/repos/DevFactory/atmosphere/issues/comments{/number}","contents_url":"https://api.github.com/repos/DevFactory/atmosphere/contents/{+path}","compare_url":"https://api.github.com/repos/DevFactory/atmosphere/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DevFactory/atmosphere/merges","archive_url":"https://api.github.com/repos/DevFactory/atmosphere/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DevFactory/atmosphere/downloads","issues_url":"https://api.github.com/repos/DevFactory/atmosphere/issues{/number}","pulls_url":"https://api.github.com/repos/DevFactory/atmosphere/pulls{/number}","milestones_url":"https://api.github.com/repos/DevFactory/atmosphere/milestones{/number}","notifications_url":"https://api.github.com/repos/DevFactory/atmosphere/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DevFactory/atmosphere/labels{/name}","releases_url":"https://api.github.com/repos/DevFactory/atmosphere/releases{/id}","created_at":"2015-11-25T08:55:43Z","updated_at":"2015-11-25T08:55:58Z","pushed_at":"2015-11-25T21:29:30Z","git_url":"git://github.com/DevFactory/atmosphere.git","ssh_url":"git@github.com:DevFactory/atmosphere.git","clone_url":"https://github.com/DevFactory/atmosphere.git","svn_url":"https://github.com/DevFactory/atmosphere","homepage":"http://async-io.org/","size":105125,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Atmosphere:master","ref":"master","sha":"a2ba7d3b22ab7554231a0be9aa8171244efbf05a","user":{"login":"Atmosphere","id":318873,"avatar_url":"https://avatars.githubusercontent.com/u/318873?v=3","gravatar_id":"","url":"https://api.github.com/users/Atmosphere","html_url":"https://github.com/Atmosphere","followers_url":"https://api.github.com/users/Atmosphere/followers","following_url":"https://api.github.com/users/Atmosphere/following{/other_user}","gists_url":"https://api.github.com/users/Atmosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/Atmosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Atmosphere/subscriptions","organizations_url":"https://api.github.com/users/Atmosphere/orgs","repos_url":"https://api.github.com/users/Atmosphere/repos","events_url":"https://api.github.com/users/Atmosphere/events{/privacy}","received_events_url":"https://api.github.com/users/Atmosphere/received_events","type":"Organization","site_admin":false},"repo":{"id":749137,"name":"atmosphere","full_name":"Atmosphere/atmosphere","owner":{"login":"Atmosphere","id":318873,"avatar_url":"https://avatars.githubusercontent.com/u/318873?v=3","gravatar_id":"","url":"https://api.github.com/users/Atmosphere","html_url":"https://github.com/Atmosphere","followers_url":"https://api.github.com/users/Atmosphere/followers","following_url":"https://api.github.com/users/Atmosphere/following{/other_user}","gists_url":"https://api.github.com/users/Atmosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/Atmosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Atmosphere/subscriptions","organizations_url":"https://api.github.com/users/Atmosphere/orgs","repos_url":"https://api.github.com/users/Atmosphere/repos","events_url":"https://api.github.com/users/Atmosphere/events{/privacy}","received_events_url":"https://api.github.com/users/Atmosphere/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Atmosphere/atmosphere","description":"Realtime Client Server Framework for the JVM, supporting WebSockets with Cross-Browser Fallbacks","fork":false,"url":"https://api.github.com/repos/Atmosphere/atmosphere","forks_url":"https://api.github.com/repos/Atmosphere/atmosphere/forks","keys_url":"https://api.github.com/repos/Atmosphere/atmosphere/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Atmosphere/atmosphere/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Atmosphere/atmosphere/teams","hooks_url":"https://api.github.com/repos/Atmosphere/atmosphere/hooks","issue_events_url":"https://api.github.com/repos/Atmosphere/atmosphere/issues/events{/number}","events_url":"https://api.github.com/repos/Atmosphere/atmosphere/events","assignees_url":"https://api.github.com/repos/Atmosphere/atmosphere/assignees{/user}","branches_url":"https://api.github.com/repos/Atmosphere/atmosphere/branches{/branch}","tags_url":"https://api.github.com/repos/Atmosphere/atmosphere/tags","blobs_url":"https://api.github.com/repos/Atmosphere/atmosphere/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Atmosphere/atmosphere/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Atmosphere/atmosphere/git/refs{/sha}","trees_url":"https://api.github.com/repos/Atmosphere/atmosphere/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Atmosphere/atmosphere/statuses/{sha}","languages_url":"https://api.github.com/repos/Atmosphere/atmosphere/languages","stargazers_url":"https://api.github.com/repos/Atmosphere/atmosphere/stargazers","contributors_url":"https://api.github.com/repos/Atmosphere/atmosphere/contributors","subscribers_url":"https://api.github.com/repos/Atmosphere/atmosphere/subscribers","subscription_url":"https://api.github.com/repos/Atmosphere/atmosphere/subscription","commits_url":"https://api.github.com/repos/Atmosphere/atmosphere/commits{/sha}","git_commits_url":"https://api.github.com/repos/Atmosphere/atmosphere/git/commits{/sha}","comments_url":"https://api.github.com/repos/Atmosphere/atmosphere/comments{/number}","issue_comment_url":"https://api.github.com/repos/Atmosphere/atmosphere/issues/comments{/number}","contents_url":"https://api.github.com/repos/Atmosphere/atmosphere/contents/{+path}","compare_url":"https://api.github.com/repos/Atmosphere/atmosphere/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Atmosphere/atmosphere/merges","archive_url":"https://api.github.com/repos/Atmosphere/atmosphere/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Atmosphere/atmosphere/downloads","issues_url":"https://api.github.com/repos/Atmosphere/atmosphere/issues{/number}","pulls_url":"https://api.github.com/repos/Atmosphere/atmosphere/pulls{/number}","milestones_url":"https://api.github.com/repos/Atmosphere/atmosphere/milestones{/number}","notifications_url":"https://api.github.com/repos/Atmosphere/atmosphere/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Atmosphere/atmosphere/labels{/name}","releases_url":"https://api.github.com/repos/Atmosphere/atmosphere/releases{/id}","created_at":"2010-06-30T14:26:23Z","updated_at":"2015-11-25T15:01:54Z","pushed_at":"2015-11-25T22:11:22Z","git_url":"git://github.com/Atmosphere/atmosphere.git","ssh_url":"git@github.com:Atmosphere/atmosphere.git","clone_url":"https://github.com/Atmosphere/atmosphere.git","svn_url":"https://github.com/Atmosphere/atmosphere","homepage":"http://async-io.org/","size":180239,"stargazers_count":2388,"watchers_count":2388,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":544,"mirror_url":null,"open_issues_count":54,"forks":544,"open_issues":54,"watchers":2388,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Atmosphere/atmosphere/pulls/2096"},"html":{"href":"https://github.com/Atmosphere/atmosphere/pull/2096"},"issue":{"href":"https://api.github.com/repos/Atmosphere/atmosphere/issues/2096"},"comments":{"href":"https://api.github.com/repos/Atmosphere/atmosphere/issues/2096/comments"},"review_comments":{"href":"https://api.github.com/repos/Atmosphere/atmosphere/pulls/2096/comments"},"review_comment":{"href":"https://api.github.com/repos/Atmosphere/atmosphere/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Atmosphere/atmosphere/pulls/2096/commits"},"statuses":{"href":"https://api.github.com/repos/Atmosphere/atmosphere/statuses/1f4cc1aa38dcc8028ea018917d3555efb0362ffa"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":22,"deletions":22,"changed_files":3}}