{"action":"created","comment":{"url":"https://api.github.com/repos/systers/powerup-android/pulls/comments/191050806","pull_request_review_id":123558935,"id":191050806,"diff_hunk":"@@ -1,19 +1,21 @@\n package powerup.systers.com.data.entities;\n \n import android.arch.persistence.room.Entity;\n+import android.arch.persistence.room.PrimaryKey;\n \n @Entity(tableName = \"Clothes\")\n public class Clothes {\n \n-    private Integer clothesId;\n+    @PrimaryKey\n+    private int clothesId;\n \n     private String clothesName;\n \n-    private Integer clothesPoints;\n+    private int clothesPoints;\n \n-    private Integer clothesPurchased;\n+    private int clothesPurchased;","path":"PowerUp/app/src/main/java/powerup/systers/com/data/entities/Clothes.java","position":19,"original_position":19,"commit_id":"dd3c8b9f75f1e7ed40418a30aa482fce80e3ac1e","original_commit_id":"dd3c8b9f75f1e7ed40418a30aa482fce80e3ac1e","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 private fields such as 'clothesPurchased'.](https://app.codacy.com/app/ExactlyMay/powerup-android/pullRequest?prid=1663680)","created_at":"2018-05-26T14:49:36Z","updated_at":"2018-05-26T14:49:36Z","html_url":"https://github.com/systers/powerup-android/pull/1137#discussion_r191050806","pull_request_url":"https://api.github.com/repos/systers/powerup-android/pulls/1137","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/systers/powerup-android/pulls/comments/191050806"},"html":{"href":"https://github.com/systers/powerup-android/pull/1137#discussion_r191050806"},"pull_request":{"href":"https://api.github.com/repos/systers/powerup-android/pulls/1137"}}},"pull_request":{"url":"https://api.github.com/repos/systers/powerup-android/pulls/1137","id":188840179,"html_url":"https://github.com/systers/powerup-android/pull/1137","diff_url":"https://github.com/systers/powerup-android/pull/1137.diff","patch_url":"https://github.com/systers/powerup-android/pull/1137.patch","issue_url":"https://api.github.com/repos/systers/powerup-android/issues/1137","number":1137,"state":"open","locked":false,"title":"Create DAO files & added Appexecutors","user":{"login":"geekanamika","id":16922933,"avatar_url":"https://avatars0.githubusercontent.com/u/16922933?v=4","gravatar_id":"","url":"https://api.github.com/users/geekanamika","html_url":"https://github.com/geekanamika","followers_url":"https://api.github.com/users/geekanamika/followers","following_url":"https://api.github.com/users/geekanamika/following{/other_user}","gists_url":"https://api.github.com/users/geekanamika/gists{/gist_id}","starred_url":"https://api.github.com/users/geekanamika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekanamika/subscriptions","organizations_url":"https://api.github.com/users/geekanamika/orgs","repos_url":"https://api.github.com/users/geekanamika/repos","events_url":"https://api.github.com/users/geekanamika/events{/privacy}","received_events_url":"https://api.github.com/users/geekanamika/received_events","type":"User","site_admin":false},"body":"### Description\r\nThis PR includes:\r\n* DAO files which provides SQL queries\r\n* Appexecutors to provide mechanism to run queries in single background thread\r\n\r\nFixes #1128 \r\n\r\n### Type of Change:\r\n**Delete irrelevant options.**\r\n- Code\r\n\r\n**Code/Quality Assurance Only**\r\n- New feature (non-breaking change which adds functionality pre-approved by mentors)\r\n\r\n### How Has This Been Tested?\r\nIt hasn't been tested in database yet, Gradle runs successfully. (Room provides compile time check for  database queries)\r\n\r\n### Checklist:\r\n**Delete irrelevant options.**\r\n- [x] My PR follows the style guidelines of this project\r\n- [x] I have performed a self-review of my own code or materials\r\n- [x] I have commented my code or provided relevant documentation, particularly in hard-to-understand areas\r\n- [x] Any dependent changes have been merged \r\n","created_at":"2018-05-17T19:38:08Z","updated_at":"2018-05-26T14:49:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5a6efaec9394660e63c633ecd22b3f1d5163643a","assignee":null,"assignees":[],"requested_reviewers":[{"login":"thisum","id":1425395,"avatar_url":"https://avatars2.githubusercontent.com/u/1425395?v=4","gravatar_id":"","url":"https://api.github.com/users/thisum","html_url":"https://github.com/thisum","followers_url":"https://api.github.com/users/thisum/followers","following_url":"https://api.github.com/users/thisum/following{/other_user}","gists_url":"https://api.github.com/users/thisum/gists{/gist_id}","starred_url":"https://api.github.com/users/thisum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thisum/subscriptions","organizations_url":"https://api.github.com/users/thisum/orgs","repos_url":"https://api.github.com/users/thisum/repos","events_url":"https://api.github.com/users/thisum/events{/privacy}","received_events_url":"https://api.github.com/users/thisum/received_events","type":"User","site_admin":false},{"login":"manishakeim","id":10472556,"avatar_url":"https://avatars1.githubusercontent.com/u/10472556?v=4","gravatar_id":"","url":"https://api.github.com/users/manishakeim","html_url":"https://github.com/manishakeim","followers_url":"https://api.github.com/users/manishakeim/followers","following_url":"https://api.github.com/users/manishakeim/following{/other_user}","gists_url":"https://api.github.com/users/manishakeim/gists{/gist_id}","starred_url":"https://api.github.com/users/manishakeim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manishakeim/subscriptions","organizations_url":"https://api.github.com/users/manishakeim/orgs","repos_url":"https://api.github.com/users/manishakeim/repos","events_url":"https://api.github.com/users/manishakeim/events{/privacy}","received_events_url":"https://api.github.com/users/manishakeim/received_events","type":"User","site_admin":false},{"login":"debanjanah","id":11819085,"avatar_url":"https://avatars2.githubusercontent.com/u/11819085?v=4","gravatar_id":"","url":"https://api.github.com/users/debanjanah","html_url":"https://github.com/debanjanah","followers_url":"https://api.github.com/users/debanjanah/followers","following_url":"https://api.github.com/users/debanjanah/following{/other_user}","gists_url":"https://api.github.com/users/debanjanah/gists{/gist_id}","starred_url":"https://api.github.com/users/debanjanah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/debanjanah/subscriptions","organizations_url":"https://api.github.com/users/debanjanah/orgs","repos_url":"https://api.github.com/users/debanjanah/repos","events_url":"https://api.github.com/users/debanjanah/events{/privacy}","received_events_url":"https://api.github.com/users/debanjanah/received_events","type":"User","site_admin":false},{"login":"asclepiusgal","id":11987006,"avatar_url":"https://avatars0.githubusercontent.com/u/11987006?v=4","gravatar_id":"","url":"https://api.github.com/users/asclepiusgal","html_url":"https://github.com/asclepiusgal","followers_url":"https://api.github.com/users/asclepiusgal/followers","following_url":"https://api.github.com/users/asclepiusgal/following{/other_user}","gists_url":"https://api.github.com/users/asclepiusgal/gists{/gist_id}","starred_url":"https://api.github.com/users/asclepiusgal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asclepiusgal/subscriptions","organizations_url":"https://api.github.com/users/asclepiusgal/orgs","repos_url":"https://api.github.com/users/asclepiusgal/repos","events_url":"https://api.github.com/users/asclepiusgal/events{/privacy}","received_events_url":"https://api.github.com/users/asclepiusgal/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/systers/powerup-android/pulls/1137/commits","review_comments_url":"https://api.github.com/repos/systers/powerup-android/pulls/1137/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/1137/comments","statuses_url":"https://api.github.com/repos/systers/powerup-android/statuses/dd3c8b9f75f1e7ed40418a30aa482fce80e3ac1e","head":{"label":"geekanamika:roomDao","ref":"roomDao","sha":"dd3c8b9f75f1e7ed40418a30aa482fce80e3ac1e","user":{"login":"geekanamika","id":16922933,"avatar_url":"https://avatars0.githubusercontent.com/u/16922933?v=4","gravatar_id":"","url":"https://api.github.com/users/geekanamika","html_url":"https://github.com/geekanamika","followers_url":"https://api.github.com/users/geekanamika/followers","following_url":"https://api.github.com/users/geekanamika/following{/other_user}","gists_url":"https://api.github.com/users/geekanamika/gists{/gist_id}","starred_url":"https://api.github.com/users/geekanamika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekanamika/subscriptions","organizations_url":"https://api.github.com/users/geekanamika/orgs","repos_url":"https://api.github.com/users/geekanamika/repos","events_url":"https://api.github.com/users/geekanamika/events{/privacy}","received_events_url":"https://api.github.com/users/geekanamika/received_events","type":"User","site_admin":false},"repo":{"id":115507353,"name":"powerup-android","full_name":"geekanamika/powerup-android","owner":{"login":"geekanamika","id":16922933,"avatar_url":"https://avatars0.githubusercontent.com/u/16922933?v=4","gravatar_id":"","url":"https://api.github.com/users/geekanamika","html_url":"https://github.com/geekanamika","followers_url":"https://api.github.com/users/geekanamika/followers","following_url":"https://api.github.com/users/geekanamika/following{/other_user}","gists_url":"https://api.github.com/users/geekanamika/gists{/gist_id}","starred_url":"https://api.github.com/users/geekanamika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekanamika/subscriptions","organizations_url":"https://api.github.com/users/geekanamika/orgs","repos_url":"https://api.github.com/users/geekanamika/repos","events_url":"https://api.github.com/users/geekanamika/events{/privacy}","received_events_url":"https://api.github.com/users/geekanamika/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/geekanamika/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/geekanamika/powerup-android","forks_url":"https://api.github.com/repos/geekanamika/powerup-android/forks","keys_url":"https://api.github.com/repos/geekanamika/powerup-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geekanamika/powerup-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geekanamika/powerup-android/teams","hooks_url":"https://api.github.com/repos/geekanamika/powerup-android/hooks","issue_events_url":"https://api.github.com/repos/geekanamika/powerup-android/issues/events{/number}","events_url":"https://api.github.com/repos/geekanamika/powerup-android/events","assignees_url":"https://api.github.com/repos/geekanamika/powerup-android/assignees{/user}","branches_url":"https://api.github.com/repos/geekanamika/powerup-android/branches{/branch}","tags_url":"https://api.github.com/repos/geekanamika/powerup-android/tags","blobs_url":"https://api.github.com/repos/geekanamika/powerup-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geekanamika/powerup-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geekanamika/powerup-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/geekanamika/powerup-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geekanamika/powerup-android/statuses/{sha}","languages_url":"https://api.github.com/repos/geekanamika/powerup-android/languages","stargazers_url":"https://api.github.com/repos/geekanamika/powerup-android/stargazers","contributors_url":"https://api.github.com/repos/geekanamika/powerup-android/contributors","subscribers_url":"https://api.github.com/repos/geekanamika/powerup-android/subscribers","subscription_url":"https://api.github.com/repos/geekanamika/powerup-android/subscription","commits_url":"https://api.github.com/repos/geekanamika/powerup-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/geekanamika/powerup-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/geekanamika/powerup-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/geekanamika/powerup-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/geekanamika/powerup-android/contents/{+path}","compare_url":"https://api.github.com/repos/geekanamika/powerup-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geekanamika/powerup-android/merges","archive_url":"https://api.github.com/repos/geekanamika/powerup-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geekanamika/powerup-android/downloads","issues_url":"https://api.github.com/repos/geekanamika/powerup-android/issues{/number}","pulls_url":"https://api.github.com/repos/geekanamika/powerup-android/pulls{/number}","milestones_url":"https://api.github.com/repos/geekanamika/powerup-android/milestones{/number}","notifications_url":"https://api.github.com/repos/geekanamika/powerup-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geekanamika/powerup-android/labels{/name}","releases_url":"https://api.github.com/repos/geekanamika/powerup-android/releases{/id}","deployments_url":"https://api.github.com/repos/geekanamika/powerup-android/deployments","created_at":"2017-12-27T09:56:24Z","updated_at":"2018-05-23T15:22:50Z","pushed_at":"2018-05-26T14:46:25Z","git_url":"git://github.com/geekanamika/powerup-android.git","ssh_url":"git@github.com:geekanamika/powerup-android.git","clone_url":"https://github.com/geekanamika/powerup-android.git","svn_url":"https://github.com/geekanamika/powerup-android","homepage":"","size":240397,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"develop"}},"base":{"label":"systers:gsoc18-infra","ref":"gsoc18-infra","sha":"da036a30dc28d0dabd2632b341d834a411d8b125","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-05-24T18:24:55Z","pushed_at":"2018-05-26T14:46:27Z","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":61781,"stargazers_count":71,"watchers_count":71,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":355,"mirror_url":null,"archived":false,"open_issues_count":81,"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":355,"open_issues":81,"watchers":71,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/systers/powerup-android/pulls/1137"},"html":{"href":"https://github.com/systers/powerup-android/pull/1137"},"issue":{"href":"https://api.github.com/repos/systers/powerup-android/issues/1137"},"comments":{"href":"https://api.github.com/repos/systers/powerup-android/issues/1137/comments"},"review_comments":{"href":"https://api.github.com/repos/systers/powerup-android/pulls/1137/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/1137/commits"},"statuses":{"href":"https://api.github.com/repos/systers/powerup-android/statuses/dd3c8b9f75f1e7ed40418a30aa482fce80e3ac1e"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"codacy-bot"}}