{"action":"created","comment":{"url":"https://api.github.com/repos/labiod/k-app/pulls/comments/233414652","pull_request_review_id":174819802,"id":233414652,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMzQxNDY1Mg==","diff_hunk":"@@ -0,0 +1,31 @@\n+package com.bitage.kapp.template.di\n+\n+import android.arch.lifecycle.ViewModelProviders\n+import com.bitage.kapp.repository.TemplateRepository\n+import com.bitage.kapp.template.TemplatePresenter\n+import com.bitage.kapp.template.TemplateViewModel\n+import com.bitage.kapp.template.TemplateActivity\n+import com.bitage.kapp.template.TemplatePresenterImpl\n+import com.bitage.kapp.template.TemplateView\n+import com.bitage.kapp.template.TemplateViewImpl\n+import com.bitage.kapp.template.TemplateViewModelFactory\n+import dagger.Module\n+import dagger.Provides\n+\n+@Module\n+class TemplateActivityModule(private val activity: TemplateActivity) {\n+    @Provides","path":"app/src/main/java/com/bitage/kapp/template/di/TemplateActivityModule.kt","position":17,"original_position":17,"commit_id":"c0666f12adca6c9bc3ccfc0d1a7cf81404335406","original_commit_id":"c0666f12adca6c9bc3ccfc0d1a7cf81404335406","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: [UndocumentedPublicFunction - [provideTemplateViewModel] at /src/app/src/main/java/com/bitage/kapp/template/di/TemplateActivityModule.kt:17:5](https://app.codacy.com/app/BitAge/k-app/pullRequest?prid=2550337)","created_at":"2018-11-14T11:47:14Z","updated_at":"2018-11-14T11:47:14Z","html_url":"https://github.com/labiod/k-app/pull/15#discussion_r233414652","pull_request_url":"https://api.github.com/repos/labiod/k-app/pulls/15","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/labiod/k-app/pulls/comments/233414652"},"html":{"href":"https://github.com/labiod/k-app/pull/15#discussion_r233414652"},"pull_request":{"href":"https://api.github.com/repos/labiod/k-app/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/labiod/k-app/pulls/15","id":230534993,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwNTM0OTkz","html_url":"https://github.com/labiod/k-app/pull/15","diff_url":"https://github.com/labiod/k-app/pull/15.diff","patch_url":"https://github.com/labiod/k-app/pull/15.patch","issue_url":"https://api.github.com/repos/labiod/k-app/issues/15","number":15,"state":"open","locked":false,"title":"Feature/clean architecture","user":{"login":"labiod","id":15629936,"node_id":"MDQ6VXNlcjE1NjI5OTM2","avatar_url":"https://avatars2.githubusercontent.com/u/15629936?v=4","gravatar_id":"","url":"https://api.github.com/users/labiod","html_url":"https://github.com/labiod","followers_url":"https://api.github.com/users/labiod/followers","following_url":"https://api.github.com/users/labiod/following{/other_user}","gists_url":"https://api.github.com/users/labiod/gists{/gist_id}","starred_url":"https://api.github.com/users/labiod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/labiod/subscriptions","organizations_url":"https://api.github.com/users/labiod/orgs","repos_url":"https://api.github.com/users/labiod/repos","events_url":"https://api.github.com/users/labiod/events{/privacy}","received_events_url":"https://api.github.com/users/labiod/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-13T16:11:18Z","updated_at":"2018-11-14T11:47:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"81b061b6fe9a3100a4b756a07f53266a7e243cc3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/labiod/k-app/pulls/15/commits","review_comments_url":"https://api.github.com/repos/labiod/k-app/pulls/15/comments","review_comment_url":"https://api.github.com/repos/labiod/k-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/labiod/k-app/issues/15/comments","statuses_url":"https://api.github.com/repos/labiod/k-app/statuses/c0666f12adca6c9bc3ccfc0d1a7cf81404335406","head":{"label":"labiod:feature/clean_architecture","ref":"feature/clean_architecture","sha":"c0666f12adca6c9bc3ccfc0d1a7cf81404335406","user":{"login":"labiod","id":15629936,"node_id":"MDQ6VXNlcjE1NjI5OTM2","avatar_url":"https://avatars2.githubusercontent.com/u/15629936?v=4","gravatar_id":"","url":"https://api.github.com/users/labiod","html_url":"https://github.com/labiod","followers_url":"https://api.github.com/users/labiod/followers","following_url":"https://api.github.com/users/labiod/following{/other_user}","gists_url":"https://api.github.com/users/labiod/gists{/gist_id}","starred_url":"https://api.github.com/users/labiod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/labiod/subscriptions","organizations_url":"https://api.github.com/users/labiod/orgs","repos_url":"https://api.github.com/users/labiod/repos","events_url":"https://api.github.com/users/labiod/events{/privacy}","received_events_url":"https://api.github.com/users/labiod/received_events","type":"User","site_admin":false},"repo":{"id":75326482,"node_id":"MDEwOlJlcG9zaXRvcnk3NTMyNjQ4Mg==","name":"k-app","full_name":"labiod/k-app","private":false,"owner":{"login":"labiod","id":15629936,"node_id":"MDQ6VXNlcjE1NjI5OTM2","avatar_url":"https://avatars2.githubusercontent.com/u/15629936?v=4","gravatar_id":"","url":"https://api.github.com/users/labiod","html_url":"https://github.com/labiod","followers_url":"https://api.github.com/users/labiod/followers","following_url":"https://api.github.com/users/labiod/following{/other_user}","gists_url":"https://api.github.com/users/labiod/gists{/gist_id}","starred_url":"https://api.github.com/users/labiod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/labiod/subscriptions","organizations_url":"https://api.github.com/users/labiod/orgs","repos_url":"https://api.github.com/users/labiod/repos","events_url":"https://api.github.com/users/labiod/events{/privacy}","received_events_url":"https://api.github.com/users/labiod/received_events","type":"User","site_admin":false},"html_url":"https://github.com/labiod/k-app","description":null,"fork":false,"url":"https://api.github.com/repos/labiod/k-app","forks_url":"https://api.github.com/repos/labiod/k-app/forks","keys_url":"https://api.github.com/repos/labiod/k-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/labiod/k-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/labiod/k-app/teams","hooks_url":"https://api.github.com/repos/labiod/k-app/hooks","issue_events_url":"https://api.github.com/repos/labiod/k-app/issues/events{/number}","events_url":"https://api.github.com/repos/labiod/k-app/events","assignees_url":"https://api.github.com/repos/labiod/k-app/assignees{/user}","branches_url":"https://api.github.com/repos/labiod/k-app/branches{/branch}","tags_url":"https://api.github.com/repos/labiod/k-app/tags","blobs_url":"https://api.github.com/repos/labiod/k-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/labiod/k-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/labiod/k-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/labiod/k-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/labiod/k-app/statuses/{sha}","languages_url":"https://api.github.com/repos/labiod/k-app/languages","stargazers_url":"https://api.github.com/repos/labiod/k-app/stargazers","contributors_url":"https://api.github.com/repos/labiod/k-app/contributors","subscribers_url":"https://api.github.com/repos/labiod/k-app/subscribers","subscription_url":"https://api.github.com/repos/labiod/k-app/subscription","commits_url":"https://api.github.com/repos/labiod/k-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/labiod/k-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/labiod/k-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/labiod/k-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/labiod/k-app/contents/{+path}","compare_url":"https://api.github.com/repos/labiod/k-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/labiod/k-app/merges","archive_url":"https://api.github.com/repos/labiod/k-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/labiod/k-app/downloads","issues_url":"https://api.github.com/repos/labiod/k-app/issues{/number}","pulls_url":"https://api.github.com/repos/labiod/k-app/pulls{/number}","milestones_url":"https://api.github.com/repos/labiod/k-app/milestones{/number}","notifications_url":"https://api.github.com/repos/labiod/k-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/labiod/k-app/labels{/name}","releases_url":"https://api.github.com/repos/labiod/k-app/releases{/id}","deployments_url":"https://api.github.com/repos/labiod/k-app/deployments","created_at":"2016-12-01T19:42:04Z","updated_at":"2018-11-13T16:13:52Z","pushed_at":"2018-11-14T11:36:04Z","git_url":"git://github.com/labiod/k-app.git","ssh_url":"git@github.com:labiod/k-app.git","clone_url":"https://github.com/labiod/k-app.git","svn_url":"https://github.com/labiod/k-app","homepage":null,"size":1533,"stargazers_count":1,"watchers_count":1,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":1,"default_branch":"develop"}},"base":{"label":"labiod:develop","ref":"develop","sha":"2db5e535f1b6f317add9089b79445c2e95e953b4","user":{"login":"labiod","id":15629936,"node_id":"MDQ6VXNlcjE1NjI5OTM2","avatar_url":"https://avatars2.githubusercontent.com/u/15629936?v=4","gravatar_id":"","url":"https://api.github.com/users/labiod","html_url":"https://github.com/labiod","followers_url":"https://api.github.com/users/labiod/followers","following_url":"https://api.github.com/users/labiod/following{/other_user}","gists_url":"https://api.github.com/users/labiod/gists{/gist_id}","starred_url":"https://api.github.com/users/labiod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/labiod/subscriptions","organizations_url":"https://api.github.com/users/labiod/orgs","repos_url":"https://api.github.com/users/labiod/repos","events_url":"https://api.github.com/users/labiod/events{/privacy}","received_events_url":"https://api.github.com/users/labiod/received_events","type":"User","site_admin":false},"repo":{"id":75326482,"node_id":"MDEwOlJlcG9zaXRvcnk3NTMyNjQ4Mg==","name":"k-app","full_name":"labiod/k-app","private":false,"owner":{"login":"labiod","id":15629936,"node_id":"MDQ6VXNlcjE1NjI5OTM2","avatar_url":"https://avatars2.githubusercontent.com/u/15629936?v=4","gravatar_id":"","url":"https://api.github.com/users/labiod","html_url":"https://github.com/labiod","followers_url":"https://api.github.com/users/labiod/followers","following_url":"https://api.github.com/users/labiod/following{/other_user}","gists_url":"https://api.github.com/users/labiod/gists{/gist_id}","starred_url":"https://api.github.com/users/labiod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/labiod/subscriptions","organizations_url":"https://api.github.com/users/labiod/orgs","repos_url":"https://api.github.com/users/labiod/repos","events_url":"https://api.github.com/users/labiod/events{/privacy}","received_events_url":"https://api.github.com/users/labiod/received_events","type":"User","site_admin":false},"html_url":"https://github.com/labiod/k-app","description":null,"fork":false,"url":"https://api.github.com/repos/labiod/k-app","forks_url":"https://api.github.com/repos/labiod/k-app/forks","keys_url":"https://api.github.com/repos/labiod/k-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/labiod/k-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/labiod/k-app/teams","hooks_url":"https://api.github.com/repos/labiod/k-app/hooks","issue_events_url":"https://api.github.com/repos/labiod/k-app/issues/events{/number}","events_url":"https://api.github.com/repos/labiod/k-app/events","assignees_url":"https://api.github.com/repos/labiod/k-app/assignees{/user}","branches_url":"https://api.github.com/repos/labiod/k-app/branches{/branch}","tags_url":"https://api.github.com/repos/labiod/k-app/tags","blobs_url":"https://api.github.com/repos/labiod/k-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/labiod/k-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/labiod/k-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/labiod/k-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/labiod/k-app/statuses/{sha}","languages_url":"https://api.github.com/repos/labiod/k-app/languages","stargazers_url":"https://api.github.com/repos/labiod/k-app/stargazers","contributors_url":"https://api.github.com/repos/labiod/k-app/contributors","subscribers_url":"https://api.github.com/repos/labiod/k-app/subscribers","subscription_url":"https://api.github.com/repos/labiod/k-app/subscription","commits_url":"https://api.github.com/repos/labiod/k-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/labiod/k-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/labiod/k-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/labiod/k-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/labiod/k-app/contents/{+path}","compare_url":"https://api.github.com/repos/labiod/k-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/labiod/k-app/merges","archive_url":"https://api.github.com/repos/labiod/k-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/labiod/k-app/downloads","issues_url":"https://api.github.com/repos/labiod/k-app/issues{/number}","pulls_url":"https://api.github.com/repos/labiod/k-app/pulls{/number}","milestones_url":"https://api.github.com/repos/labiod/k-app/milestones{/number}","notifications_url":"https://api.github.com/repos/labiod/k-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/labiod/k-app/labels{/name}","releases_url":"https://api.github.com/repos/labiod/k-app/releases{/id}","deployments_url":"https://api.github.com/repos/labiod/k-app/deployments","created_at":"2016-12-01T19:42:04Z","updated_at":"2018-11-13T16:13:52Z","pushed_at":"2018-11-14T11:36:04Z","git_url":"git://github.com/labiod/k-app.git","ssh_url":"git@github.com:labiod/k-app.git","clone_url":"https://github.com/labiod/k-app.git","svn_url":"https://github.com/labiod/k-app","homepage":null,"size":1533,"stargazers_count":1,"watchers_count":1,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/labiod/k-app/pulls/15"},"html":{"href":"https://github.com/labiod/k-app/pull/15"},"issue":{"href":"https://api.github.com/repos/labiod/k-app/issues/15"},"comments":{"href":"https://api.github.com/repos/labiod/k-app/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/labiod/k-app/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/labiod/k-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/labiod/k-app/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/labiod/k-app/statuses/c0666f12adca6c9bc3ccfc0d1a7cf81404335406"}},"author_association":"OWNER"}}
{"actor":{"display_login":"codacy-bot"}}