{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/Music_04/pulls/comments/166198706","pull_request_review_id":94238375,"id":166198706,"diff_hunk":"@@ -0,0 +1,71 @@\n+package com.framgia.music.ui.adapter;\n+\n+import android.content.Context;\n+import android.view.LayoutInflater;\n+import android.view.View;\n+import android.view.ViewGroup;\n+import android.widget.BaseAdapter;\n+import android.widget.TextView;\n+import com.framgia.music.data.model.Album;\n+import com.framgia.music.R;\n+import java.util.List;\n+\n+/**\n+ * Created by trant on 05/02/2018.\n+ */\n+\n+public class AdapterAlbumDialog extends BaseAdapter {\n+    private Context context;\n+    private int layout;\n+    private List<Album> mAlbums;\n+\n+    public AdapterAlbumDialog(Context context, int layout, List<Album> albums) {\n+        this.context = context;\n+        this.layout = layout;\n+        this.mAlbums = albums;\n+    }\n+\n+    @Override\n+    public int getCount() {\n+        return mAlbums.size();","path":"app/src/main/java/com/framgia/music/ui/adapter/AdapterAlbumDialog.java","position":30,"original_position":30,"commit_id":"da14e56565104efb9751aa43145ef4349bc2f729","original_commit_id":"da14e56565104efb9751aa43145ef4349bc2f729","user":{"login":"le-quang-dao","id":6355989,"avatar_url":"https://avatars3.githubusercontent.com/u/6355989?v=4","gravatar_id":"","url":"https://api.github.com/users/le-quang-dao","html_url":"https://github.com/le-quang-dao","followers_url":"https://api.github.com/users/le-quang-dao/followers","following_url":"https://api.github.com/users/le-quang-dao/following{/other_user}","gists_url":"https://api.github.com/users/le-quang-dao/gists{/gist_id}","starred_url":"https://api.github.com/users/le-quang-dao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/le-quang-dao/subscriptions","organizations_url":"https://api.github.com/users/le-quang-dao/orgs","repos_url":"https://api.github.com/users/le-quang-dao/repos","events_url":"https://api.github.com/users/le-quang-dao/events{/privacy}","received_events_url":"https://api.github.com/users/le-quang-dao/received_events","type":"User","site_admin":false},"body":"ERROR: [PMD-CPD] 32 lines duplicated.\napp/src/main/java/com/framgia/music/ui/adapter/AdapterSongDialogAlbum.java","created_at":"2018-02-06T06:45:18Z","updated_at":"2018-02-06T06:45:18Z","html_url":"https://github.com/framgia/Music_04/pull/13#discussion_r166198706","pull_request_url":"https://api.github.com/repos/framgia/Music_04/pulls/13","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/framgia/Music_04/pulls/comments/166198706"},"html":{"href":"https://github.com/framgia/Music_04/pull/13#discussion_r166198706"},"pull_request":{"href":"https://api.github.com/repos/framgia/Music_04/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/Music_04/pulls/13","id":167328631,"html_url":"https://github.com/framgia/Music_04/pull/13","diff_url":"https://github.com/framgia/Music_04/pull/13.diff","patch_url":"https://github.com/framgia/Music_04/pull/13.patch","issue_url":"https://api.github.com/repos/framgia/Music_04/issues/13","number":13,"state":"open","locked":false,"title":"Task 5","user":{"login":"tranthihiep","id":35038486,"avatar_url":"https://avatars0.githubusercontent.com/u/35038486?v=4","gravatar_id":"","url":"https://api.github.com/users/tranthihiep","html_url":"https://github.com/tranthihiep","followers_url":"https://api.github.com/users/tranthihiep/followers","following_url":"https://api.github.com/users/tranthihiep/following{/other_user}","gists_url":"https://api.github.com/users/tranthihiep/gists{/gist_id}","starred_url":"https://api.github.com/users/tranthihiep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tranthihiep/subscriptions","organizations_url":"https://api.github.com/users/tranthihiep/orgs","repos_url":"https://api.github.com/users/tranthihiep/repos","events_url":"https://api.github.com/users/tranthihiep/events{/privacy}","received_events_url":"https://api.github.com/users/tranthihiep/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-06T06:13:44Z","updated_at":"2018-02-06T06:45:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d02638ae975da9abeb886b0deb726fe075efea84","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/Music_04/pulls/13/commits","review_comments_url":"https://api.github.com/repos/framgia/Music_04/pulls/13/comments","review_comment_url":"https://api.github.com/repos/framgia/Music_04/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/Music_04/issues/13/comments","statuses_url":"https://api.github.com/repos/framgia/Music_04/statuses/da14e56565104efb9751aa43145ef4349bc2f729","head":{"label":"tranthihiep:Task_5","ref":"Task_5","sha":"da14e56565104efb9751aa43145ef4349bc2f729","user":{"login":"tranthihiep","id":35038486,"avatar_url":"https://avatars0.githubusercontent.com/u/35038486?v=4","gravatar_id":"","url":"https://api.github.com/users/tranthihiep","html_url":"https://github.com/tranthihiep","followers_url":"https://api.github.com/users/tranthihiep/followers","following_url":"https://api.github.com/users/tranthihiep/following{/other_user}","gists_url":"https://api.github.com/users/tranthihiep/gists{/gist_id}","starred_url":"https://api.github.com/users/tranthihiep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tranthihiep/subscriptions","organizations_url":"https://api.github.com/users/tranthihiep/orgs","repos_url":"https://api.github.com/users/tranthihiep/repos","events_url":"https://api.github.com/users/tranthihiep/events{/privacy}","received_events_url":"https://api.github.com/users/tranthihiep/received_events","type":"User","site_admin":false},"repo":{"id":118390378,"name":"Music_04","full_name":"tranthihiep/Music_04","owner":{"login":"tranthihiep","id":35038486,"avatar_url":"https://avatars0.githubusercontent.com/u/35038486?v=4","gravatar_id":"","url":"https://api.github.com/users/tranthihiep","html_url":"https://github.com/tranthihiep","followers_url":"https://api.github.com/users/tranthihiep/followers","following_url":"https://api.github.com/users/tranthihiep/following{/other_user}","gists_url":"https://api.github.com/users/tranthihiep/gists{/gist_id}","starred_url":"https://api.github.com/users/tranthihiep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tranthihiep/subscriptions","organizations_url":"https://api.github.com/users/tranthihiep/orgs","repos_url":"https://api.github.com/users/tranthihiep/repos","events_url":"https://api.github.com/users/tranthihiep/events{/privacy}","received_events_url":"https://api.github.com/users/tranthihiep/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tranthihiep/Music_04","description":"Music_04 Training","fork":true,"url":"https://api.github.com/repos/tranthihiep/Music_04","forks_url":"https://api.github.com/repos/tranthihiep/Music_04/forks","keys_url":"https://api.github.com/repos/tranthihiep/Music_04/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tranthihiep/Music_04/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tranthihiep/Music_04/teams","hooks_url":"https://api.github.com/repos/tranthihiep/Music_04/hooks","issue_events_url":"https://api.github.com/repos/tranthihiep/Music_04/issues/events{/number}","events_url":"https://api.github.com/repos/tranthihiep/Music_04/events","assignees_url":"https://api.github.com/repos/tranthihiep/Music_04/assignees{/user}","branches_url":"https://api.github.com/repos/tranthihiep/Music_04/branches{/branch}","tags_url":"https://api.github.com/repos/tranthihiep/Music_04/tags","blobs_url":"https://api.github.com/repos/tranthihiep/Music_04/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tranthihiep/Music_04/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tranthihiep/Music_04/git/refs{/sha}","trees_url":"https://api.github.com/repos/tranthihiep/Music_04/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tranthihiep/Music_04/statuses/{sha}","languages_url":"https://api.github.com/repos/tranthihiep/Music_04/languages","stargazers_url":"https://api.github.com/repos/tranthihiep/Music_04/stargazers","contributors_url":"https://api.github.com/repos/tranthihiep/Music_04/contributors","subscribers_url":"https://api.github.com/repos/tranthihiep/Music_04/subscribers","subscription_url":"https://api.github.com/repos/tranthihiep/Music_04/subscription","commits_url":"https://api.github.com/repos/tranthihiep/Music_04/commits{/sha}","git_commits_url":"https://api.github.com/repos/tranthihiep/Music_04/git/commits{/sha}","comments_url":"https://api.github.com/repos/tranthihiep/Music_04/comments{/number}","issue_comment_url":"https://api.github.com/repos/tranthihiep/Music_04/issues/comments{/number}","contents_url":"https://api.github.com/repos/tranthihiep/Music_04/contents/{+path}","compare_url":"https://api.github.com/repos/tranthihiep/Music_04/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tranthihiep/Music_04/merges","archive_url":"https://api.github.com/repos/tranthihiep/Music_04/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tranthihiep/Music_04/downloads","issues_url":"https://api.github.com/repos/tranthihiep/Music_04/issues{/number}","pulls_url":"https://api.github.com/repos/tranthihiep/Music_04/pulls{/number}","milestones_url":"https://api.github.com/repos/tranthihiep/Music_04/milestones{/number}","notifications_url":"https://api.github.com/repos/tranthihiep/Music_04/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tranthihiep/Music_04/labels{/name}","releases_url":"https://api.github.com/repos/tranthihiep/Music_04/releases{/id}","deployments_url":"https://api.github.com/repos/tranthihiep/Music_04/deployments","created_at":"2018-01-22T01:24:34Z","updated_at":"2018-01-22T01:24:35Z","pushed_at":"2018-02-06T06:34:49Z","git_url":"git://github.com/tranthihiep/Music_04.git","ssh_url":"git@github.com:tranthihiep/Music_04.git","clone_url":"https://github.com/tranthihiep/Music_04.git","svn_url":"https://github.com/tranthihiep/Music_04","homepage":null,"size":516,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"framgia:develop","ref":"develop","sha":"630443bddbb314d03b37554ee95b46800280dd82","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars3.githubusercontent.com/u/2322183?v=4","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"repo":{"id":117913396,"name":"Music_04","full_name":"framgia/Music_04","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars3.githubusercontent.com/u/2322183?v=4","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/framgia/Music_04","description":"Music_04 Training","fork":false,"url":"https://api.github.com/repos/framgia/Music_04","forks_url":"https://api.github.com/repos/framgia/Music_04/forks","keys_url":"https://api.github.com/repos/framgia/Music_04/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/Music_04/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/Music_04/teams","hooks_url":"https://api.github.com/repos/framgia/Music_04/hooks","issue_events_url":"https://api.github.com/repos/framgia/Music_04/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/Music_04/events","assignees_url":"https://api.github.com/repos/framgia/Music_04/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/Music_04/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/Music_04/tags","blobs_url":"https://api.github.com/repos/framgia/Music_04/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/Music_04/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/Music_04/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/Music_04/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/Music_04/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/Music_04/languages","stargazers_url":"https://api.github.com/repos/framgia/Music_04/stargazers","contributors_url":"https://api.github.com/repos/framgia/Music_04/contributors","subscribers_url":"https://api.github.com/repos/framgia/Music_04/subscribers","subscription_url":"https://api.github.com/repos/framgia/Music_04/subscription","commits_url":"https://api.github.com/repos/framgia/Music_04/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/Music_04/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/Music_04/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/Music_04/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/Music_04/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/Music_04/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/Music_04/merges","archive_url":"https://api.github.com/repos/framgia/Music_04/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/Music_04/downloads","issues_url":"https://api.github.com/repos/framgia/Music_04/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/Music_04/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/Music_04/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/Music_04/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/Music_04/labels{/name}","releases_url":"https://api.github.com/repos/framgia/Music_04/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/Music_04/deployments","created_at":"2018-01-18T01:13:51Z","updated_at":"2018-01-24T02:04:25Z","pushed_at":"2018-02-06T06:34:50Z","git_url":"git://github.com/framgia/Music_04.git","ssh_url":"git@github.com:framgia/Music_04.git","clone_url":"https://github.com/framgia/Music_04.git","svn_url":"https://github.com/framgia/Music_04","homepage":null,"size":497,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":1,"open_issues":4,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/Music_04/pulls/13"},"html":{"href":"https://github.com/framgia/Music_04/pull/13"},"issue":{"href":"https://api.github.com/repos/framgia/Music_04/issues/13"},"comments":{"href":"https://api.github.com/repos/framgia/Music_04/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/Music_04/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/Music_04/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/Music_04/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/Music_04/statuses/da14e56565104efb9751aa43145ef4349bc2f729"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"le-quang-dao"}}