{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-identity-framework/pulls/comments/129529838","pull_request_review_id":52310808,"id":129529838,"diff_hunk":"@@ -92,7 +95,9 @@ public boolean isAssociationAsync(String eventName) throws IdentityEventExceptio\n \n     @Override\n     public void init(InitConfig configuration) throws IdentityRuntimeException {\n-        this.configs = (ModuleConfiguration)configuration;\n+        if (configuration instanceof ModuleConfiguration) {\n+            this.configs = (ModuleConfiguration) configuration;\n+        }","path":"components/identity-event/org.wso2.carbon.identity.event/src/main/java/org/wso2/carbon/identity/event/handler/AbstractEventHandler.java","position":37,"original_position":37,"commit_id":"54ad728e1d097c8dd4c99dd5c5f50703cf8c42e4","original_commit_id":"54ad728e1d097c8dd4c99dd5c5f50703cf8c42e4","user":{"login":"supunharsha","id":10153492,"avatar_url":"https://avatars2.githubusercontent.com/u/10153492?v=4","gravatar_id":"","url":"https://api.github.com/users/supunharsha","html_url":"https://github.com/supunharsha","followers_url":"https://api.github.com/users/supunharsha/followers","following_url":"https://api.github.com/users/supunharsha/following{/other_user}","gists_url":"https://api.github.com/users/supunharsha/gists{/gist_id}","starred_url":"https://api.github.com/users/supunharsha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supunharsha/subscriptions","organizations_url":"https://api.github.com/users/supunharsha/orgs","repos_url":"https://api.github.com/users/supunharsha/repos","events_url":"https://api.github.com/users/supunharsha/events{/privacy}","received_events_url":"https://api.github.com/users/supunharsha/received_events","type":"User","site_admin":false},"body":"add exception if casting is not possible","created_at":"2017-07-26T09:57:57Z","updated_at":"2017-07-26T09:57:57Z","html_url":"https://github.com/wso2/carbon-identity-framework/pull/947#discussion_r129529838","pull_request_url":"https://api.github.com/repos/wso2/carbon-identity-framework/pulls/947","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-identity-framework/pulls/comments/129529838"},"html":{"href":"https://github.com/wso2/carbon-identity-framework/pull/947#discussion_r129529838"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-identity-framework/pulls/947"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-identity-framework/pulls/947","id":131973789,"html_url":"https://github.com/wso2/carbon-identity-framework/pull/947","diff_url":"https://github.com/wso2/carbon-identity-framework/pull/947.diff","patch_url":"https://github.com/wso2/carbon-identity-framework/pull/947.patch","issue_url":"https://api.github.com/repos/wso2/carbon-identity-framework/issues/947","number":947,"state":"open","locked":false,"title":"Sonar fixes carbon identity framework","user":{"login":"supunharsha","id":10153492,"avatar_url":"https://avatars2.githubusercontent.com/u/10153492?v=4","gravatar_id":"","url":"https://api.github.com/users/supunharsha","html_url":"https://github.com/supunharsha","followers_url":"https://api.github.com/users/supunharsha/followers","following_url":"https://api.github.com/users/supunharsha/following{/other_user}","gists_url":"https://api.github.com/users/supunharsha/gists{/gist_id}","starred_url":"https://api.github.com/users/supunharsha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supunharsha/subscriptions","organizations_url":"https://api.github.com/users/supunharsha/orgs","repos_url":"https://api.github.com/users/supunharsha/repos","events_url":"https://api.github.com/users/supunharsha/events{/privacy}","received_events_url":"https://api.github.com/users/supunharsha/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-07-24T05:27:22Z","updated_at":"2017-07-26T09:57:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2c5ba6d9733a0d4eef76c16edb1986d026c7eea1","assignee":null,"assignees":[],"requested_reviewers":[{"login":"kasunbg","id":936037,"avatar_url":"https://avatars1.githubusercontent.com/u/936037?v=4","gravatar_id":"","url":"https://api.github.com/users/kasunbg","html_url":"https://github.com/kasunbg","followers_url":"https://api.github.com/users/kasunbg/followers","following_url":"https://api.github.com/users/kasunbg/following{/other_user}","gists_url":"https://api.github.com/users/kasunbg/gists{/gist_id}","starred_url":"https://api.github.com/users/kasunbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasunbg/subscriptions","organizations_url":"https://api.github.com/users/kasunbg/orgs","repos_url":"https://api.github.com/users/kasunbg/repos","events_url":"https://api.github.com/users/kasunbg/events{/privacy}","received_events_url":"https://api.github.com/users/kasunbg/received_events","type":"User","site_admin":false},{"login":"harsha1979","id":2236308,"avatar_url":"https://avatars1.githubusercontent.com/u/2236308?v=4","gravatar_id":"","url":"https://api.github.com/users/harsha1979","html_url":"https://github.com/harsha1979","followers_url":"https://api.github.com/users/harsha1979/followers","following_url":"https://api.github.com/users/harsha1979/following{/other_user}","gists_url":"https://api.github.com/users/harsha1979/gists{/gist_id}","starred_url":"https://api.github.com/users/harsha1979/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harsha1979/subscriptions","organizations_url":"https://api.github.com/users/harsha1979/orgs","repos_url":"https://api.github.com/users/harsha1979/repos","events_url":"https://api.github.com/users/harsha1979/events{/privacy}","received_events_url":"https://api.github.com/users/harsha1979/received_events","type":"User","site_admin":false},{"login":"dharshanaw","id":7080088,"avatar_url":"https://avatars0.githubusercontent.com/u/7080088?v=4","gravatar_id":"","url":"https://api.github.com/users/dharshanaw","html_url":"https://github.com/dharshanaw","followers_url":"https://api.github.com/users/dharshanaw/followers","following_url":"https://api.github.com/users/dharshanaw/following{/other_user}","gists_url":"https://api.github.com/users/dharshanaw/gists{/gist_id}","starred_url":"https://api.github.com/users/dharshanaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dharshanaw/subscriptions","organizations_url":"https://api.github.com/users/dharshanaw/orgs","repos_url":"https://api.github.com/users/dharshanaw/repos","events_url":"https://api.github.com/users/dharshanaw/events{/privacy}","received_events_url":"https://api.github.com/users/dharshanaw/received_events","type":"User","site_admin":false},{"login":"isharak","id":7835405,"avatar_url":"https://avatars2.githubusercontent.com/u/7835405?v=4","gravatar_id":"","url":"https://api.github.com/users/isharak","html_url":"https://github.com/isharak","followers_url":"https://api.github.com/users/isharak/followers","following_url":"https://api.github.com/users/isharak/following{/other_user}","gists_url":"https://api.github.com/users/isharak/gists{/gist_id}","starred_url":"https://api.github.com/users/isharak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isharak/subscriptions","organizations_url":"https://api.github.com/users/isharak/orgs","repos_url":"https://api.github.com/users/isharak/repos","events_url":"https://api.github.com/users/isharak/events{/privacy}","received_events_url":"https://api.github.com/users/isharak/received_events","type":"User","site_admin":false},{"login":"IsuraD","id":8455535,"avatar_url":"https://avatars2.githubusercontent.com/u/8455535?v=4","gravatar_id":"","url":"https://api.github.com/users/IsuraD","html_url":"https://github.com/IsuraD","followers_url":"https://api.github.com/users/IsuraD/followers","following_url":"https://api.github.com/users/IsuraD/following{/other_user}","gists_url":"https://api.github.com/users/IsuraD/gists{/gist_id}","starred_url":"https://api.github.com/users/IsuraD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IsuraD/subscriptions","organizations_url":"https://api.github.com/users/IsuraD/orgs","repos_url":"https://api.github.com/users/IsuraD/repos","events_url":"https://api.github.com/users/IsuraD/events{/privacy}","received_events_url":"https://api.github.com/users/IsuraD/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-identity-framework/pulls/947/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-identity-framework/pulls/947/comments","review_comment_url":"https://api.github.com/repos/wso2/carbon-identity-framework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/carbon-identity-framework/issues/947/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-identity-framework/statuses/54ad728e1d097c8dd4c99dd5c5f50703cf8c42e4","head":{"label":"supunharsha:sonar-fixes","ref":"sonar-fixes","sha":"54ad728e1d097c8dd4c99dd5c5f50703cf8c42e4","user":{"login":"supunharsha","id":10153492,"avatar_url":"https://avatars2.githubusercontent.com/u/10153492?v=4","gravatar_id":"","url":"https://api.github.com/users/supunharsha","html_url":"https://github.com/supunharsha","followers_url":"https://api.github.com/users/supunharsha/followers","following_url":"https://api.github.com/users/supunharsha/following{/other_user}","gists_url":"https://api.github.com/users/supunharsha/gists{/gist_id}","starred_url":"https://api.github.com/users/supunharsha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supunharsha/subscriptions","organizations_url":"https://api.github.com/users/supunharsha/orgs","repos_url":"https://api.github.com/users/supunharsha/repos","events_url":"https://api.github.com/users/supunharsha/events{/privacy}","received_events_url":"https://api.github.com/users/supunharsha/received_events","type":"User","site_admin":false},"repo":{"id":97559112,"name":"carbon-identity-framework","full_name":"supunharsha/carbon-identity-framework","owner":{"login":"supunharsha","id":10153492,"avatar_url":"https://avatars2.githubusercontent.com/u/10153492?v=4","gravatar_id":"","url":"https://api.github.com/users/supunharsha","html_url":"https://github.com/supunharsha","followers_url":"https://api.github.com/users/supunharsha/followers","following_url":"https://api.github.com/users/supunharsha/following{/other_user}","gists_url":"https://api.github.com/users/supunharsha/gists{/gist_id}","starred_url":"https://api.github.com/users/supunharsha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supunharsha/subscriptions","organizations_url":"https://api.github.com/users/supunharsha/orgs","repos_url":"https://api.github.com/users/supunharsha/repos","events_url":"https://api.github.com/users/supunharsha/events{/privacy}","received_events_url":"https://api.github.com/users/supunharsha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/supunharsha/carbon-identity-framework","description":null,"fork":true,"url":"https://api.github.com/repos/supunharsha/carbon-identity-framework","forks_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/forks","keys_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/teams","hooks_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/hooks","issue_events_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/issues/events{/number}","events_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/events","assignees_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/assignees{/user}","branches_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/branches{/branch}","tags_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/tags","blobs_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/languages","stargazers_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/stargazers","contributors_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/contributors","subscribers_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/subscribers","subscription_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/subscription","commits_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/contents/{+path}","compare_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/merges","archive_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/downloads","issues_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/issues{/number}","pulls_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/labels{/name}","releases_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/releases{/id}","deployments_url":"https://api.github.com/repos/supunharsha/carbon-identity-framework/deployments","created_at":"2017-07-18T06:08:15Z","updated_at":"2017-07-18T06:08:23Z","pushed_at":"2017-07-24T05:33:59Z","git_url":"git://github.com/supunharsha/carbon-identity-framework.git","ssh_url":"git@github.com:supunharsha/carbon-identity-framework.git","clone_url":"https://github.com/supunharsha/carbon-identity-framework.git","svn_url":"https://github.com/supunharsha/carbon-identity-framework","homepage":null,"size":58562,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"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":"wso2:master","ref":"master","sha":"53cf7ac1e2177a222d01cc27f3c0a639fee7efe8","user":{"login":"wso2","id":533043,"avatar_url":"https://avatars3.githubusercontent.com/u/533043?v=4","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"repo":{"id":52329722,"name":"carbon-identity-framework","full_name":"wso2/carbon-identity-framework","owner":{"login":"wso2","id":533043,"avatar_url":"https://avatars3.githubusercontent.com/u/533043?v=4","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2/carbon-identity-framework","description":null,"fork":false,"url":"https://api.github.com/repos/wso2/carbon-identity-framework","forks_url":"https://api.github.com/repos/wso2/carbon-identity-framework/forks","keys_url":"https://api.github.com/repos/wso2/carbon-identity-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/carbon-identity-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/carbon-identity-framework/teams","hooks_url":"https://api.github.com/repos/wso2/carbon-identity-framework/hooks","issue_events_url":"https://api.github.com/repos/wso2/carbon-identity-framework/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/carbon-identity-framework/events","assignees_url":"https://api.github.com/repos/wso2/carbon-identity-framework/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/carbon-identity-framework/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/carbon-identity-framework/tags","blobs_url":"https://api.github.com/repos/wso2/carbon-identity-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/carbon-identity-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/carbon-identity-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/carbon-identity-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/carbon-identity-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/carbon-identity-framework/languages","stargazers_url":"https://api.github.com/repos/wso2/carbon-identity-framework/stargazers","contributors_url":"https://api.github.com/repos/wso2/carbon-identity-framework/contributors","subscribers_url":"https://api.github.com/repos/wso2/carbon-identity-framework/subscribers","subscription_url":"https://api.github.com/repos/wso2/carbon-identity-framework/subscription","commits_url":"https://api.github.com/repos/wso2/carbon-identity-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/carbon-identity-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/carbon-identity-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/carbon-identity-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/carbon-identity-framework/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/carbon-identity-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/carbon-identity-framework/merges","archive_url":"https://api.github.com/repos/wso2/carbon-identity-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/carbon-identity-framework/downloads","issues_url":"https://api.github.com/repos/wso2/carbon-identity-framework/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/carbon-identity-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/carbon-identity-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/carbon-identity-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/carbon-identity-framework/labels{/name}","releases_url":"https://api.github.com/repos/wso2/carbon-identity-framework/releases{/id}","deployments_url":"https://api.github.com/repos/wso2/carbon-identity-framework/deployments","created_at":"2016-02-23T04:20:26Z","updated_at":"2017-05-18T10:58:57Z","pushed_at":"2017-07-26T09:43:11Z","git_url":"git://github.com/wso2/carbon-identity-framework.git","ssh_url":"git@github.com:wso2/carbon-identity-framework.git","clone_url":"https://github.com/wso2/carbon-identity-framework.git","svn_url":"https://github.com/wso2/carbon-identity-framework","homepage":null,"size":59328,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":114,"mirror_url":null,"open_issues_count":24,"forks":114,"open_issues":24,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-identity-framework/pulls/947"},"html":{"href":"https://github.com/wso2/carbon-identity-framework/pull/947"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-identity-framework/issues/947"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-identity-framework/issues/947/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-identity-framework/pulls/947/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/carbon-identity-framework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/carbon-identity-framework/pulls/947/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-identity-framework/statuses/54ad728e1d097c8dd4c99dd5c5f50703cf8c42e4"}}}}
{"actor":{"display_login":"supunharsha"}}