{"action":"created","comment":{"url":"https://api.github.com/repos/systers/powerup-android/pulls/comments/179909896","pull_request_review_id":110248240,"id":179909896,"diff_hunk":"@@ -67,7 +59,7 @@ protected void onCreate(Bundle savedInstanceState) {\n         setmDbHandler(new DatabaseHandler(this));\n         getmDbHandler().open();\n         setContentView(R.layout.activity_scenario_over);\n-        scene = getmDbHandler().getScenario();\n+        Scenario scene = getmDbHandler().getScenario();","path":"PowerUp/app/src/main/java/powerup/systers/com/ScenarioOverActivity.java","position":48,"original_position":48,"commit_id":"8603f7e3a322ae83f116ed211bb0e5ae576c6683","original_commit_id":"8603f7e3a322ae83f116ed211bb0e5ae576c6683","user":{"login":"codacy-bot","id":19940114,"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: [Avoid unused local variables such as 'scene'.](https://app.codacy.com/app/MeepyMay/powerup-android/pullRequest?prid=1515123)","created_at":"2018-04-07T06:26:04Z","updated_at":"2018-04-07T06:26:04Z","html_url":"https://github.com/systers/powerup-android/pull/1104#discussion_r179909896","pull_request_url":"https://api.github.com/repos/systers/powerup-android/pulls/1104","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/systers/powerup-android/pulls/comments/179909896"},"html":{"href":"https://github.com/systers/powerup-android/pull/1104#discussion_r179909896"},"pull_request":{"href":"https://api.github.com/repos/systers/powerup-android/pulls/1104"}}},"pull_request":{"url":"https://api.github.com/repos/systers/powerup-android/pulls/1104","id":180088973,"html_url":"https://github.com/systers/powerup-android/pull/1104","diff_url":"https://github.com/systers/powerup-android/pull/1104.diff","patch_url":"https://github.com/systers/powerup-android/pull/1104.patch","issue_url":"https://api.github.com/repos/systers/powerup-android/issues/1104","number":1104,"state":"open","locked":false,"title":"Changed some public properties to private","user":{"login":"PiumiHR","id":19715380,"avatar_url":"https://avatars0.githubusercontent.com/u/19715380?v=4","gravatar_id":"","url":"https://api.github.com/users/PiumiHR","html_url":"https://github.com/PiumiHR","followers_url":"https://api.github.com/users/PiumiHR/followers","following_url":"https://api.github.com/users/PiumiHR/following{/other_user}","gists_url":"https://api.github.com/users/PiumiHR/gists{/gist_id}","starred_url":"https://api.github.com/users/PiumiHR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PiumiHR/subscriptions","organizations_url":"https://api.github.com/users/PiumiHR/orgs","repos_url":"https://api.github.com/users/PiumiHR/repos","events_url":"https://api.github.com/users/PiumiHR/events{/privacy}","received_events_url":"https://api.github.com/users/PiumiHR/received_events","type":"User","site_admin":false},"body":"### Description\r\nThere were some warnings regarding to the access modifiers. Changed specific public properties to the private.\r\n\r\nFixes #703 \r\n\r\n### Type of Change:\r\n\r\n- Code\r\n\r\n### How Has This Been Tested?\r\nI Inspected the code. After changes it not showed the previous warnings. And I compiled the project and run it on the device after changes.\r\n\r\n\r\n### Checklist:\r\n\r\n- [ ] My PR follows the style guidelines of this project\r\n- [ ] My changes generate no new warnings \r\n- [ ] New and existing unit tests pass locally with my changes\r\n","created_at":"2018-04-07T04:30:37Z","updated_at":"2018-04-07T06:26:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cc3cc02d70f23aae2ab0e356e90e4a3b52b0d2f4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/systers/powerup-android/pulls/1104/commits","review_comments_url":"https://api.github.com/repos/systers/powerup-android/pulls/1104/comments","review_comment_url":"https://api.github.com/repos/systers/powerup-android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/systers/powerup-android/issues/1104/comments","statuses_url":"https://api.github.com/repos/systers/powerup-android/statuses/8603f7e3a322ae83f116ed211bb0e5ae576c6683","head":{"label":"PiumiHR:issuebranch","ref":"issuebranch","sha":"8603f7e3a322ae83f116ed211bb0e5ae576c6683","user":{"login":"PiumiHR","id":19715380,"avatar_url":"https://avatars0.githubusercontent.com/u/19715380?v=4","gravatar_id":"","url":"https://api.github.com/users/PiumiHR","html_url":"https://github.com/PiumiHR","followers_url":"https://api.github.com/users/PiumiHR/followers","following_url":"https://api.github.com/users/PiumiHR/following{/other_user}","gists_url":"https://api.github.com/users/PiumiHR/gists{/gist_id}","starred_url":"https://api.github.com/users/PiumiHR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PiumiHR/subscriptions","organizations_url":"https://api.github.com/users/PiumiHR/orgs","repos_url":"https://api.github.com/users/PiumiHR/repos","events_url":"https://api.github.com/users/PiumiHR/events{/privacy}","received_events_url":"https://api.github.com/users/PiumiHR/received_events","type":"User","site_admin":false},"repo":{"id":128464580,"name":"powerup-android","full_name":"PiumiHR/powerup-android","owner":{"login":"PiumiHR","id":19715380,"avatar_url":"https://avatars0.githubusercontent.com/u/19715380?v=4","gravatar_id":"","url":"https://api.github.com/users/PiumiHR","html_url":"https://github.com/PiumiHR","followers_url":"https://api.github.com/users/PiumiHR/followers","following_url":"https://api.github.com/users/PiumiHR/following{/other_user}","gists_url":"https://api.github.com/users/PiumiHR/gists{/gist_id}","starred_url":"https://api.github.com/users/PiumiHR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PiumiHR/subscriptions","organizations_url":"https://api.github.com/users/PiumiHR/orgs","repos_url":"https://api.github.com/users/PiumiHR/repos","events_url":"https://api.github.com/users/PiumiHR/events{/privacy}","received_events_url":"https://api.github.com/users/PiumiHR/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PiumiHR/powerup-android","description":"PowerUp is an educational choose-your-own-adventure game that utilizes a users uploaded curriculum to empower pre-adolescents to take charge of their reproductive health. This is the Android version of the game.","fork":true,"url":"https://api.github.com/repos/PiumiHR/powerup-android","forks_url":"https://api.github.com/repos/PiumiHR/powerup-android/forks","keys_url":"https://api.github.com/repos/PiumiHR/powerup-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PiumiHR/powerup-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PiumiHR/powerup-android/teams","hooks_url":"https://api.github.com/repos/PiumiHR/powerup-android/hooks","issue_events_url":"https://api.github.com/repos/PiumiHR/powerup-android/issues/events{/number}","events_url":"https://api.github.com/repos/PiumiHR/powerup-android/events","assignees_url":"https://api.github.com/repos/PiumiHR/powerup-android/assignees{/user}","branches_url":"https://api.github.com/repos/PiumiHR/powerup-android/branches{/branch}","tags_url":"https://api.github.com/repos/PiumiHR/powerup-android/tags","blobs_url":"https://api.github.com/repos/PiumiHR/powerup-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PiumiHR/powerup-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PiumiHR/powerup-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/PiumiHR/powerup-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PiumiHR/powerup-android/statuses/{sha}","languages_url":"https://api.github.com/repos/PiumiHR/powerup-android/languages","stargazers_url":"https://api.github.com/repos/PiumiHR/powerup-android/stargazers","contributors_url":"https://api.github.com/repos/PiumiHR/powerup-android/contributors","subscribers_url":"https://api.github.com/repos/PiumiHR/powerup-android/subscribers","subscription_url":"https://api.github.com/repos/PiumiHR/powerup-android/subscription","commits_url":"https://api.github.com/repos/PiumiHR/powerup-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/PiumiHR/powerup-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/PiumiHR/powerup-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/PiumiHR/powerup-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/PiumiHR/powerup-android/contents/{+path}","compare_url":"https://api.github.com/repos/PiumiHR/powerup-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PiumiHR/powerup-android/merges","archive_url":"https://api.github.com/repos/PiumiHR/powerup-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PiumiHR/powerup-android/downloads","issues_url":"https://api.github.com/repos/PiumiHR/powerup-android/issues{/number}","pulls_url":"https://api.github.com/repos/PiumiHR/powerup-android/pulls{/number}","milestones_url":"https://api.github.com/repos/PiumiHR/powerup-android/milestones{/number}","notifications_url":"https://api.github.com/repos/PiumiHR/powerup-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PiumiHR/powerup-android/labels{/name}","releases_url":"https://api.github.com/repos/PiumiHR/powerup-android/releases{/id}","deployments_url":"https://api.github.com/repos/PiumiHR/powerup-android/deployments","created_at":"2018-04-06T20:00:50Z","updated_at":"2018-04-06T20:00:52Z","pushed_at":"2018-04-07T06:22:33Z","git_url":"git://github.com/PiumiHR/powerup-android.git","ssh_url":"git@github.com:PiumiHR/powerup-android.git","clone_url":"https://github.com/PiumiHR/powerup-android.git","svn_url":"https://github.com/PiumiHR/powerup-android","homepage":"","size":235105,"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,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"systers:develop","ref":"develop","sha":"55a52bf412da40cb291d872310e138a44ae25b22","user":{"login":"systers","id":6520415,"avatar_url":"https://avatars0.githubusercontent.com/u/6520415?v=4","gravatar_id":"","url":"https://api.github.com/users/systers","html_url":"https://github.com/systers","followers_url":"https://api.github.com/users/systers/followers","following_url":"https://api.github.com/users/systers/following{/other_user}","gists_url":"https://api.github.com/users/systers/gists{/gist_id}","starred_url":"https://api.github.com/users/systers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systers/subscriptions","organizations_url":"https://api.github.com/users/systers/orgs","repos_url":"https://api.github.com/users/systers/repos","events_url":"https://api.github.com/users/systers/events{/privacy}","received_events_url":"https://api.github.com/users/systers/received_events","type":"Organization","site_admin":false},"repo":{"id":42040219,"name":"powerup-android","full_name":"systers/powerup-android","owner":{"login":"systers","id":6520415,"avatar_url":"https://avatars0.githubusercontent.com/u/6520415?v=4","gravatar_id":"","url":"https://api.github.com/users/systers","html_url":"https://github.com/systers","followers_url":"https://api.github.com/users/systers/followers","following_url":"https://api.github.com/users/systers/following{/other_user}","gists_url":"https://api.github.com/users/systers/gists{/gist_id}","starred_url":"https://api.github.com/users/systers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systers/subscriptions","organizations_url":"https://api.github.com/users/systers/orgs","repos_url":"https://api.github.com/users/systers/repos","events_url":"https://api.github.com/users/systers/events{/privacy}","received_events_url":"https://api.github.com/users/systers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/systers/powerup-android","description":"PowerUp is an educational choose-your-own-adventure game that utilizes a users uploaded curriculum to empower pre-adolescents to take charge of their reproductive health. This is the Android version of the game.","fork":false,"url":"https://api.github.com/repos/systers/powerup-android","forks_url":"https://api.github.com/repos/systers/powerup-android/forks","keys_url":"https://api.github.com/repos/systers/powerup-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/systers/powerup-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/systers/powerup-android/teams","hooks_url":"https://api.github.com/repos/systers/powerup-android/hooks","issue_events_url":"https://api.github.com/repos/systers/powerup-android/issues/events{/number}","events_url":"https://api.github.com/repos/systers/powerup-android/events","assignees_url":"https://api.github.com/repos/systers/powerup-android/assignees{/user}","branches_url":"https://api.github.com/repos/systers/powerup-android/branches{/branch}","tags_url":"https://api.github.com/repos/systers/powerup-android/tags","blobs_url":"https://api.github.com/repos/systers/powerup-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/systers/powerup-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/systers/powerup-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/systers/powerup-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/systers/powerup-android/statuses/{sha}","languages_url":"https://api.github.com/repos/systers/powerup-android/languages","stargazers_url":"https://api.github.com/repos/systers/powerup-android/stargazers","contributors_url":"https://api.github.com/repos/systers/powerup-android/contributors","subscribers_url":"https://api.github.com/repos/systers/powerup-android/subscribers","subscription_url":"https://api.github.com/repos/systers/powerup-android/subscription","commits_url":"https://api.github.com/repos/systers/powerup-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/systers/powerup-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/systers/powerup-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/systers/powerup-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/systers/powerup-android/contents/{+path}","compare_url":"https://api.github.com/repos/systers/powerup-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/systers/powerup-android/merges","archive_url":"https://api.github.com/repos/systers/powerup-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/systers/powerup-android/downloads","issues_url":"https://api.github.com/repos/systers/powerup-android/issues{/number}","pulls_url":"https://api.github.com/repos/systers/powerup-android/pulls{/number}","milestones_url":"https://api.github.com/repos/systers/powerup-android/milestones{/number}","notifications_url":"https://api.github.com/repos/systers/powerup-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/systers/powerup-android/labels{/name}","releases_url":"https://api.github.com/repos/systers/powerup-android/releases{/id}","deployments_url":"https://api.github.com/repos/systers/powerup-android/deployments","created_at":"2015-09-07T08:15:51Z","updated_at":"2018-03-31T13:29:29Z","pushed_at":"2018-04-07T06:22:34Z","git_url":"git://github.com/systers/powerup-android.git","ssh_url":"git@github.com:systers/powerup-android.git","clone_url":"https://github.com/systers/powerup-android.git","svn_url":"https://github.com/systers/powerup-android","homepage":"","size":235093,"stargazers_count":68,"watchers_count":68,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":353,"mirror_url":null,"archived":false,"open_issues_count":93,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":353,"open_issues":93,"watchers":68,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/systers/powerup-android/pulls/1104"},"html":{"href":"https://github.com/systers/powerup-android/pull/1104"},"issue":{"href":"https://api.github.com/repos/systers/powerup-android/issues/1104"},"comments":{"href":"https://api.github.com/repos/systers/powerup-android/issues/1104/comments"},"review_comments":{"href":"https://api.github.com/repos/systers/powerup-android/pulls/1104/comments"},"review_comment":{"href":"https://api.github.com/repos/systers/powerup-android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/systers/powerup-android/pulls/1104/commits"},"statuses":{"href":"https://api.github.com/repos/systers/powerup-android/statuses/8603f7e3a322ae83f116ed211bb0e5ae576c6683"}},"author_association":"NONE"}}
{"actor":{"display_login":"codacy-bot"}}