payload: {"action":"created","comment":{"url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/pulls/comments/274525794","pull_request_review_id":225663757,"id":274525794,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI3NDUyNTc5NA==","diff_hunk":"@@ -1,29 +1,67 @@\n package org.smartregister.anc.activity;\n \n-import android.support.design.widget.AppBarLayout;\n-import android.view.View;\n+import android.os.Bundle;\n+import android.support.v7.app.ActionBar;\n+import android.support.v7.app.AppCompatActivity;\n+import android.view.Menu;\n+import android.view.MenuInflater;\n+import android.view.MenuItem;\n \n-import org.smartregister.view.activity.SecuredActivity;\n+import org.smartregister.anc.R;\n+import org.smartregister.anc.contract.PreviousContacts;\n+import org.smartregister.anc.presenter.PreviousContactsPresenter;\n+import org.smartregister.anc.util.Constants;\n+\n+public class PreviousContactsActivity extends AppCompatActivity implements PreviousContacts.View {\n+\n+    private String baseEntityId;","path":"opensrp-anc/src/main/java/org/smartregister/anc/activity/PreviousContactsActivity.java","position":20,"original_position":20,"commit_id":"30aad464fd5f637cc147d11eb6e5cd00bac69e36","original_commit_id":"30aad464fd5f637cc147d11eb6e5cd00bac69e36","user":{"login":"codacy-bot","id":19940114,"node_id":"MDQ6VXNlcjE5OTQwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://app.codacy.com/assets/images/favicon.png) Issue found: [Perhaps 'baseEntityId' could be replaced by a local variable.](https://app.codacy.com/app/OpenSRP/opensrp-client-anc/pullRequest?prid=3414126)","created_at":"2019-04-11T17:01:26Z","updated_at":"2019-04-11T17:01:27Z","html_url":"https://github.com/OpenSRP/opensrp-client-anc/pull/268#discussion_r274525794","pull_request_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/pulls/268","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/pulls/comments/274525794"},"html":{"href":"https://github.com/OpenSRP/opensrp-client-anc/pull/268#discussion_r274525794"},"pull_request":{"href":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/pulls/268"}}},"pull_request":{"url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/pulls/268","id":269183742,"node_id":"MDExOlB1bGxSZXF1ZXN0MjY5MTgzNzQy","html_url":"https://github.com/OpenSRP/opensrp-client-anc/pull/268","diff_url":"https://github.com/OpenSRP/opensrp-client-anc/pull/268.diff","patch_url":"https://github.com/OpenSRP/opensrp-client-anc/pull/268.patch","issue_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/issues/268","number":268,"state":"open","locked":false,"title":"Update the Contacts Tab in the Profile Overview page","user":{"login":"dubdabasoduba","id":4817531,"node_id":"MDQ6VXNlcjQ4MTc1MzE=","avatar_url":"https://avatars2.githubusercontent.com/u/4817531?v=4","gravatar_id":"","url":"https://api.github.com/users/dubdabasoduba","html_url":"https://github.com/dubdabasoduba","followers_url":"https://api.github.com/users/dubdabasoduba/followers","following_url":"https://api.github.com/users/dubdabasoduba/following{/other_user}","gists_url":"https://api.github.com/users/dubdabasoduba/gists{/gist_id}","starred_url":"https://api.github.com/users/dubdabasoduba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dubdabasoduba/subscriptions","organizations_url":"https://api.github.com/users/dubdabasoduba/orgs","repos_url":"https://api.github.com/users/dubdabasoduba/repos","events_url":"https://api.github.com/users/dubdabasoduba/events{/privacy}","received_events_url":"https://api.github.com/users/dubdabasoduba/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-04-10T14:15:57Z","updated_at":"2019-04-11T17:01:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d4893c6995a426a6d634263aeabd5653def951ab","assignee":{"login":"dubdabasoduba","id":4817531,"node_id":"MDQ6VXNlcjQ4MTc1MzE=","avatar_url":"https://avatars2.githubusercontent.com/u/4817531?v=4","gravatar_id":"","url":"https://api.github.com/users/dubdabasoduba","html_url":"https://github.com/dubdabasoduba","followers_url":"https://api.github.com/users/dubdabasoduba/followers","following_url":"https://api.github.com/users/dubdabasoduba/following{/other_user}","gists_url":"https://api.github.com/users/dubdabasoduba/gists{/gist_id}","starred_url":"https://api.github.com/users/dubdabasoduba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dubdabasoduba/subscriptions","organizations_url":"https://api.github.com/users/dubdabasoduba/orgs","repos_url":"https://api.github.com/users/dubdabasoduba/repos","events_url":"https://api.github.com/users/dubdabasoduba/events{/privacy}","received_events_url":"https://api.github.com/users/dubdabasoduba/received_events","type":"User","site_admin":false},"assignees":[{"login":"dubdabasoduba","id":4817531,"node_id":"MDQ6VXNlcjQ4MTc1MzE=","avatar_url":"https://avatars2.githubusercontent.com/u/4817531?v=4","gravatar_id":"","url":"https://api.github.com/users/dubdabasoduba","html_url":"https://github.com/dubdabasoduba","followers_url":"https://api.github.com/users/dubdabasoduba/followers","following_url":"https://api.github.com/users/dubdabasoduba/following{/other_user}","gists_url":"https://api.github.com/users/dubdabasoduba/gists{/gist_id}","starred_url":"https://api.github.com/users/dubdabasoduba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dubdabasoduba/subscriptions","organizations_url":"https://api.github.com/users/dubdabasoduba/orgs","repos_url":"https://api.github.com/users/dubdabasoduba/repos","events_url":"https://api.github.com/users/dubdabasoduba/events{/privacy}","received_events_url":"https://api.github.com/users/dubdabasoduba/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"ellykits","id":26865532,"node_id":"MDQ6VXNlcjI2ODY1NTMy","avatar_url":"https://avatars3.githubusercontent.com/u/26865532?v=4","gravatar_id":"","url":"https://api.github.com/users/ellykits","html_url":"https://github.com/ellykits","followers_url":"https://api.github.com/users/ellykits/followers","following_url":"https://api.github.com/users/ellykits/following{/other_user}","gists_url":"https://api.github.com/users/ellykits/gists{/gist_id}","starred_url":"https://api.github.com/users/ellykits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ellykits/subscriptions","organizations_url":"https://api.github.com/users/ellykits/orgs","repos_url":"https://api.github.com/users/ellykits/repos","events_url":"https://api.github.com/users/ellykits/events{/privacy}","received_events_url":"https://api.github.com/users/ellykits/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1311151692,"node_id":"MDU6TGFiZWwxMzExMTUxNjky","url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/labels/%F0%9F%9A%A7%20WIP","name":"🚧 WIP","color":"2a32c1","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/pulls/268/commits","review_comments_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/pulls/268/comments","review_comment_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/issues/268/comments","statuses_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/statuses/30aad464fd5f637cc147d11eb6e5cd00bac69e36","head":{"label":"OpenSRP:feature/issue-84","ref":"feature/issue-84","sha":"30aad464fd5f637cc147d11eb6e5cd00bac69e36","user":{"login":"OpenSRP","id":7898027,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4OTgwMjc=","avatar_url":"https://avatars1.githubusercontent.com/u/7898027?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenSRP","html_url":"https://github.com/OpenSRP","followers_url":"https://api.github.com/users/OpenSRP/followers","following_url":"https://api.github.com/users/OpenSRP/following{/other_user}","gists_url":"https://api.github.com/users/OpenSRP/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSRP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSRP/subscriptions","organizations_url":"https://api.github.com/users/OpenSRP/orgs","repos_url":"https://api.github.com/users/OpenSRP/repos","events_url":"https://api.github.com/users/OpenSRP/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSRP/received_events","type":"Organization","site_admin":false},"repo":{"id":136177008,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYxNzcwMDg=","name":"opensrp-client-anc","full_name":"OpenSRP/opensrp-client-anc","private":false,"owner":{"login":"OpenSRP","id":7898027,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4OTgwMjc=","avatar_url":"https://avatars1.githubusercontent.com/u/7898027?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenSRP","html_url":"https://github.com/OpenSRP","followers_url":"https://api.github.com/users/OpenSRP/followers","following_url":"https://api.github.com/users/OpenSRP/following{/other_user}","gists_url":"https://api.github.com/users/OpenSRP/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSRP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSRP/subscriptions","organizations_url":"https://api.github.com/users/OpenSRP/orgs","repos_url":"https://api.github.com/users/OpenSRP/repos","events_url":"https://api.github.com/users/OpenSRP/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSRP/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/OpenSRP/opensrp-client-anc","description":null,"fork":false,"url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc","forks_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/forks","keys_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/teams","hooks_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/hooks","issue_events_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/issues/events{/number}","events_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/events","assignees_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/assignees{/user}","branches_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/branches{/branch}","tags_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/tags","blobs_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/languages","stargazers_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/stargazers","contributors_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/contributors","subscribers_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/subscribers","subscription_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/subscription","commits_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/contents/{+path}","compare_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/merges","archive_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/downloads","issues_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/issues{/number}","pulls_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/labels{/name}","releases_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/releases{/id}","deployments_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/deployments","created_at":"2018-06-05T12:52:37Z","updated_at":"2019-04-02T12:35:46Z","pushed_at":"2019-04-11T16:39:18Z","git_url":"git://github.com/OpenSRP/opensrp-client-anc.git","ssh_url":"git@github.com:OpenSRP/opensrp-client-anc.git","clone_url":"https://github.com/OpenSRP/opensrp-client-anc.git","svn_url":"https://github.com/OpenSRP/opensrp-client-anc","homepage":null,"size":11960,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":89,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":5,"open_issues":89,"watchers":2,"default_branch":"master"}},"base":{"label":"OpenSRP:develop","ref":"develop","sha":"268f69909cd7d3b18b98e71e111a48c34d7d4981","user":{"login":"OpenSRP","id":7898027,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4OTgwMjc=","avatar_url":"https://avatars1.githubusercontent.com/u/7898027?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenSRP","html_url":"https://github.com/OpenSRP","followers_url":"https://api.github.com/users/OpenSRP/followers","following_url":"https://api.github.com/users/OpenSRP/following{/other_user}","gists_url":"https://api.github.com/users/OpenSRP/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSRP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSRP/subscriptions","organizations_url":"https://api.github.com/users/OpenSRP/orgs","repos_url":"https://api.github.com/users/OpenSRP/repos","events_url":"https://api.github.com/users/OpenSRP/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSRP/received_events","type":"Organization","site_admin":false},"repo":{"id":136177008,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYxNzcwMDg=","name":"opensrp-client-anc","full_name":"OpenSRP/opensrp-client-anc","private":false,"owner":{"login":"OpenSRP","id":7898027,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4OTgwMjc=","avatar_url":"https://avatars1.githubusercontent.com/u/7898027?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenSRP","html_url":"https://github.com/OpenSRP","followers_url":"https://api.github.com/users/OpenSRP/followers","following_url":"https://api.github.com/users/OpenSRP/following{/other_user}","gists_url":"https://api.github.com/users/OpenSRP/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSRP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSRP/subscriptions","organizations_url":"https://api.github.com/users/OpenSRP/orgs","repos_url":"https://api.github.com/users/OpenSRP/repos","events_url":"https://api.github.com/users/OpenSRP/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSRP/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/OpenSRP/opensrp-client-anc","description":null,"fork":false,"url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc","forks_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/forks","keys_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/teams","hooks_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/hooks","issue_events_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/issues/events{/number}","events_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/events","assignees_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/assignees{/user}","branches_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/branches{/branch}","tags_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/tags","blobs_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/languages","stargazers_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/stargazers","contributors_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/contributors","subscribers_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/subscribers","subscription_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/subscription","commits_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/contents/{+path}","compare_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/merges","archive_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/downloads","issues_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/issues{/number}","pulls_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/labels{/name}","releases_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/releases{/id}","deployments_url":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/deployments","created_at":"2018-06-05T12:52:37Z","updated_at":"2019-04-02T12:35:46Z","pushed_at":"2019-04-11T16:39:18Z","git_url":"git://github.com/OpenSRP/opensrp-client-anc.git","ssh_url":"git@github.com:OpenSRP/opensrp-client-anc.git","clone_url":"https://github.com/OpenSRP/opensrp-client-anc.git","svn_url":"https://github.com/OpenSRP/opensrp-client-anc","homepage":null,"size":11960,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":89,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":5,"open_issues":89,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/pulls/268"},"html":{"href":"https://github.com/OpenSRP/opensrp-client-anc/pull/268"},"issue":{"href":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/issues/268"},"comments":{"href":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/issues/268/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/pulls/268/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/pulls/268/commits"},"statuses":{"href":"https://api.github.com/repos/OpenSRP/opensrp-client-anc/statuses/30aad464fd5f637cc147d11eb6e5cd00bac69e36"}},"author_association":"MEMBER"}}
other: {"actor":{"display_login":"codacy-bot"}}