{"action":"created","comment":{"url":"https://api.github.com/repos/fossasia/open-event-android/pulls/comments/75722845","id":75722845,"diff_hunk":"@@ -15,11 +15,10 @@\n  * Created by Manan Wason on 16/06/16.\n  */\n public class ScheduleViewPagerAdapter extends FragmentPagerAdapter {\n-    private final List<Fragment> mFragmentList = new ArrayList<>();\n-    private final List<String> mFragmentTitleList = new ArrayList<>();\n-    private final DbSingleton dbSingleton = DbSingleton.getInstance();\n+    private List<Fragment> mFragmentList = new ArrayList<>();\n+    private List<String> mFragmentTitleList = new ArrayList<>();\n \n-    private final List<String> event_days = dbSingleton.getDateList();\n+    private List<String> event_days = DbSingleton.getInstance().getDateList();","path":"android/app/src/main/java/org/fossasia/openevent/adapters/ScheduleViewPagerAdapter.java","position":11,"original_position":11,"commit_id":"20cfdb414cb1ec543954d56cb5874adcb4cf5586","original_commit_id":"20cfdb414cb1ec543954d56cb5874adcb4cf5586","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","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://www.codacy.com/assets/images/favicon.png) Issue found: [Perhaps 'event_days' could be replaced by a local variable.](https://www.codacy.com/app/harshithdwivedi/open-event-android/file/3485819498/issues/source?bid=3463265&fileBranchId=3617368#l21)","created_at":"2016-08-22T17:40:38Z","updated_at":"2016-08-22T17:40:38Z","html_url":"https://github.com/fossasia/open-event-android/pull/628#discussion_r75722845","pull_request_url":"https://api.github.com/repos/fossasia/open-event-android/pulls/628","_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-android/pulls/comments/75722845"},"html":{"href":"https://github.com/fossasia/open-event-android/pull/628#discussion_r75722845"},"pull_request":{"href":"https://api.github.com/repos/fossasia/open-event-android/pulls/628"}}},"pull_request":{"url":"https://api.github.com/repos/fossasia/open-event-android/pulls/628","id":82221638,"html_url":"https://github.com/fossasia/open-event-android/pull/628","diff_url":"https://github.com/fossasia/open-event-android/pull/628.diff","patch_url":"https://github.com/fossasia/open-event-android/pull/628.patch","issue_url":"https://api.github.com/repos/fossasia/open-event-android/issues/628","number":628,"state":"open","locked":false,"title":"Fixes #600, #626, #618","user":{"login":"mananwason","id":10570249,"avatar_url":"https://avatars.githubusercontent.com/u/10570249?v=3","gravatar_id":"","url":"https://api.github.com/users/mananwason","html_url":"https://github.com/mananwason","followers_url":"https://api.github.com/users/mananwason/followers","following_url":"https://api.github.com/users/mananwason/following{/other_user}","gists_url":"https://api.github.com/users/mananwason/gists{/gist_id}","starred_url":"https://api.github.com/users/mananwason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mananwason/subscriptions","organizations_url":"https://api.github.com/users/mananwason/orgs","repos_url":"https://api.github.com/users/mananwason/repos","events_url":"https://api.github.com/users/mananwason/events{/privacy}","received_events_url":"https://api.github.com/users/mananwason/received_events","type":"User","site_admin":false},"body":"@mariobehling @the-dagger. This PR \r\n1. Fixes #600 : Connects the app to the orga server\r\n2. Fixes #626 : Sort sessions according to start_time\r\n3. Fixes #618 : Adds preference to see sessions according to local or conference time zones","created_at":"2016-08-22T16:27:49Z","updated_at":"2016-08-22T17:40:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0ce6a83ea47eaf769821dd7fdd685e4f4d16fded","assignee":{"login":"mariobehling","id":1583873,"avatar_url":"https://avatars.githubusercontent.com/u/1583873?v=3","gravatar_id":"","url":"https://api.github.com/users/mariobehling","html_url":"https://github.com/mariobehling","followers_url":"https://api.github.com/users/mariobehling/followers","following_url":"https://api.github.com/users/mariobehling/following{/other_user}","gists_url":"https://api.github.com/users/mariobehling/gists{/gist_id}","starred_url":"https://api.github.com/users/mariobehling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariobehling/subscriptions","organizations_url":"https://api.github.com/users/mariobehling/orgs","repos_url":"https://api.github.com/users/mariobehling/repos","events_url":"https://api.github.com/users/mariobehling/events{/privacy}","received_events_url":"https://api.github.com/users/mariobehling/received_events","type":"User","site_admin":false},"assignees":[{"login":"mariobehling","id":1583873,"avatar_url":"https://avatars.githubusercontent.com/u/1583873?v=3","gravatar_id":"","url":"https://api.github.com/users/mariobehling","html_url":"https://github.com/mariobehling","followers_url":"https://api.github.com/users/mariobehling/followers","following_url":"https://api.github.com/users/mariobehling/following{/other_user}","gists_url":"https://api.github.com/users/mariobehling/gists{/gist_id}","starred_url":"https://api.github.com/users/mariobehling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariobehling/subscriptions","organizations_url":"https://api.github.com/users/mariobehling/orgs","repos_url":"https://api.github.com/users/mariobehling/repos","events_url":"https://api.github.com/users/mariobehling/events{/privacy}","received_events_url":"https://api.github.com/users/mariobehling/received_events","type":"User","site_admin":false},{"login":"the-dagger","id":6565270,"avatar_url":"https://avatars.githubusercontent.com/u/6565270?v=3","gravatar_id":"","url":"https://api.github.com/users/the-dagger","html_url":"https://github.com/the-dagger","followers_url":"https://api.github.com/users/the-dagger/followers","following_url":"https://api.github.com/users/the-dagger/following{/other_user}","gists_url":"https://api.github.com/users/the-dagger/gists{/gist_id}","starred_url":"https://api.github.com/users/the-dagger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-dagger/subscriptions","organizations_url":"https://api.github.com/users/the-dagger/orgs","repos_url":"https://api.github.com/users/the-dagger/repos","events_url":"https://api.github.com/users/the-dagger/events{/privacy}","received_events_url":"https://api.github.com/users/the-dagger/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/fossasia/open-event-android/milestones/22","html_url":"https://github.com/fossasia/open-event-android/milestones/GSOC%202016:%20Milestone%2014%20(FINISH)","labels_url":"https://api.github.com/repos/fossasia/open-event-android/milestones/22/labels","id":1810476,"number":22,"title":"GSOC 2016: Milestone 14 (FINISH)","description":"","creator":{"login":"mariobehling","id":1583873,"avatar_url":"https://avatars.githubusercontent.com/u/1583873?v=3","gravatar_id":"","url":"https://api.github.com/users/mariobehling","html_url":"https://github.com/mariobehling","followers_url":"https://api.github.com/users/mariobehling/followers","following_url":"https://api.github.com/users/mariobehling/following{/other_user}","gists_url":"https://api.github.com/users/mariobehling/gists{/gist_id}","starred_url":"https://api.github.com/users/mariobehling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariobehling/subscriptions","organizations_url":"https://api.github.com/users/mariobehling/orgs","repos_url":"https://api.github.com/users/mariobehling/repos","events_url":"https://api.github.com/users/mariobehling/events{/privacy}","received_events_url":"https://api.github.com/users/mariobehling/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":18,"state":"open","created_at":"2016-06-06T10:42:38Z","updated_at":"2016-08-22T17:25:49Z","due_on":"2016-08-22T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/fossasia/open-event-android/pulls/628/commits","review_comments_url":"https://api.github.com/repos/fossasia/open-event-android/pulls/628/comments","review_comment_url":"https://api.github.com/repos/fossasia/open-event-android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fossasia/open-event-android/issues/628/comments","statuses_url":"https://api.github.com/repos/fossasia/open-event-android/statuses/20cfdb414cb1ec543954d56cb5874adcb4cf5586","head":{"label":"mananwason:d2","ref":"d2","sha":"20cfdb414cb1ec543954d56cb5874adcb4cf5586","user":{"login":"mananwason","id":10570249,"avatar_url":"https://avatars.githubusercontent.com/u/10570249?v=3","gravatar_id":"","url":"https://api.github.com/users/mananwason","html_url":"https://github.com/mananwason","followers_url":"https://api.github.com/users/mananwason/followers","following_url":"https://api.github.com/users/mananwason/following{/other_user}","gists_url":"https://api.github.com/users/mananwason/gists{/gist_id}","starred_url":"https://api.github.com/users/mananwason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mananwason/subscriptions","organizations_url":"https://api.github.com/users/mananwason/orgs","repos_url":"https://api.github.com/users/mananwason/repos","events_url":"https://api.github.com/users/mananwason/events{/privacy}","received_events_url":"https://api.github.com/users/mananwason/received_events","type":"User","site_admin":false},"repo":{"id":66058756,"name":"open-event-android","full_name":"mananwason/open-event-android","owner":{"login":"mananwason","id":10570249,"avatar_url":"https://avatars.githubusercontent.com/u/10570249?v=3","gravatar_id":"","url":"https://api.github.com/users/mananwason","html_url":"https://github.com/mananwason","followers_url":"https://api.github.com/users/mananwason/followers","following_url":"https://api.github.com/users/mananwason/following{/other_user}","gists_url":"https://api.github.com/users/mananwason/gists{/gist_id}","starred_url":"https://api.github.com/users/mananwason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mananwason/subscriptions","organizations_url":"https://api.github.com/users/mananwason/orgs","repos_url":"https://api.github.com/users/mananwason/repos","events_url":"https://api.github.com/users/mananwason/events{/privacy}","received_events_url":"https://api.github.com/users/mananwason/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mananwason/open-event-android","description":"The Open Event Android Client (Test Setup)","fork":true,"url":"https://api.github.com/repos/mananwason/open-event-android","forks_url":"https://api.github.com/repos/mananwason/open-event-android/forks","keys_url":"https://api.github.com/repos/mananwason/open-event-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mananwason/open-event-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mananwason/open-event-android/teams","hooks_url":"https://api.github.com/repos/mananwason/open-event-android/hooks","issue_events_url":"https://api.github.com/repos/mananwason/open-event-android/issues/events{/number}","events_url":"https://api.github.com/repos/mananwason/open-event-android/events","assignees_url":"https://api.github.com/repos/mananwason/open-event-android/assignees{/user}","branches_url":"https://api.github.com/repos/mananwason/open-event-android/branches{/branch}","tags_url":"https://api.github.com/repos/mananwason/open-event-android/tags","blobs_url":"https://api.github.com/repos/mananwason/open-event-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mananwason/open-event-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mananwason/open-event-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/mananwason/open-event-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mananwason/open-event-android/statuses/{sha}","languages_url":"https://api.github.com/repos/mananwason/open-event-android/languages","stargazers_url":"https://api.github.com/repos/mananwason/open-event-android/stargazers","contributors_url":"https://api.github.com/repos/mananwason/open-event-android/contributors","subscribers_url":"https://api.github.com/repos/mananwason/open-event-android/subscribers","subscription_url":"https://api.github.com/repos/mananwason/open-event-android/subscription","commits_url":"https://api.github.com/repos/mananwason/open-event-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/mananwason/open-event-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/mananwason/open-event-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/mananwason/open-event-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/mananwason/open-event-android/contents/{+path}","compare_url":"https://api.github.com/repos/mananwason/open-event-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mananwason/open-event-android/merges","archive_url":"https://api.github.com/repos/mananwason/open-event-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mananwason/open-event-android/downloads","issues_url":"https://api.github.com/repos/mananwason/open-event-android/issues{/number}","pulls_url":"https://api.github.com/repos/mananwason/open-event-android/pulls{/number}","milestones_url":"https://api.github.com/repos/mananwason/open-event-android/milestones{/number}","notifications_url":"https://api.github.com/repos/mananwason/open-event-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mananwason/open-event-android/labels{/name}","releases_url":"https://api.github.com/repos/mananwason/open-event-android/releases{/id}","deployments_url":"https://api.github.com/repos/mananwason/open-event-android/deployments","created_at":"2016-08-19T06:32:58Z","updated_at":"2016-08-19T06:33:00Z","pushed_at":"2016-08-22T17:38:01Z","git_url":"git://github.com/mananwason/open-event-android.git","ssh_url":"git@github.com:mananwason/open-event-android.git","clone_url":"https://github.com/mananwason/open-event-android.git","svn_url":"https://github.com/mananwason/open-event-android","homepage":"http://45.55.58.149","size":157374,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"development"}},"base":{"label":"fossasia:development","ref":"development","sha":"564da144d58f0bf4d961f3e450a2d03ccd03b6cf","user":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars.githubusercontent.com/u/6295529?v=3","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"repo":{"id":35269607,"name":"open-event-android","full_name":"fossasia/open-event-android","owner":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars.githubusercontent.com/u/6295529?v=3","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fossasia/open-event-android","description":"Open Event Android App Generator","fork":false,"url":"https://api.github.com/repos/fossasia/open-event-android","forks_url":"https://api.github.com/repos/fossasia/open-event-android/forks","keys_url":"https://api.github.com/repos/fossasia/open-event-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fossasia/open-event-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fossasia/open-event-android/teams","hooks_url":"https://api.github.com/repos/fossasia/open-event-android/hooks","issue_events_url":"https://api.github.com/repos/fossasia/open-event-android/issues/events{/number}","events_url":"https://api.github.com/repos/fossasia/open-event-android/events","assignees_url":"https://api.github.com/repos/fossasia/open-event-android/assignees{/user}","branches_url":"https://api.github.com/repos/fossasia/open-event-android/branches{/branch}","tags_url":"https://api.github.com/repos/fossasia/open-event-android/tags","blobs_url":"https://api.github.com/repos/fossasia/open-event-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fossasia/open-event-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fossasia/open-event-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/fossasia/open-event-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fossasia/open-event-android/statuses/{sha}","languages_url":"https://api.github.com/repos/fossasia/open-event-android/languages","stargazers_url":"https://api.github.com/repos/fossasia/open-event-android/stargazers","contributors_url":"https://api.github.com/repos/fossasia/open-event-android/contributors","subscribers_url":"https://api.github.com/repos/fossasia/open-event-android/subscribers","subscription_url":"https://api.github.com/repos/fossasia/open-event-android/subscription","commits_url":"https://api.github.com/repos/fossasia/open-event-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/fossasia/open-event-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/fossasia/open-event-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/fossasia/open-event-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/fossasia/open-event-android/contents/{+path}","compare_url":"https://api.github.com/repos/fossasia/open-event-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fossasia/open-event-android/merges","archive_url":"https://api.github.com/repos/fossasia/open-event-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fossasia/open-event-android/downloads","issues_url":"https://api.github.com/repos/fossasia/open-event-android/issues{/number}","pulls_url":"https://api.github.com/repos/fossasia/open-event-android/pulls{/number}","milestones_url":"https://api.github.com/repos/fossasia/open-event-android/milestones{/number}","notifications_url":"https://api.github.com/repos/fossasia/open-event-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fossasia/open-event-android/labels{/name}","releases_url":"https://api.github.com/repos/fossasia/open-event-android/releases{/id}","deployments_url":"https://api.github.com/repos/fossasia/open-event-android/deployments","created_at":"2015-05-08T09:04:11Z","updated_at":"2016-08-22T16:41:50Z","pushed_at":"2016-08-22T17:38:02Z","git_url":"git://github.com/fossasia/open-event-android.git","ssh_url":"git@github.com:fossasia/open-event-android.git","clone_url":"https://github.com/fossasia/open-event-android.git","svn_url":"https://github.com/fossasia/open-event-android","homepage":"http://45.55.58.149","size":204384,"stargazers_count":71,"watchers_count":71,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":109,"mirror_url":null,"open_issues_count":22,"forks":109,"open_issues":22,"watchers":71,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-android/pulls/628"},"html":{"href":"https://github.com/fossasia/open-event-android/pull/628"},"issue":{"href":"https://api.github.com/repos/fossasia/open-event-android/issues/628"},"comments":{"href":"https://api.github.com/repos/fossasia/open-event-android/issues/628/comments"},"review_comments":{"href":"https://api.github.com/repos/fossasia/open-event-android/pulls/628/comments"},"review_comment":{"href":"https://api.github.com/repos/fossasia/open-event-android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fossasia/open-event-android/pulls/628/commits"},"statuses":{"href":"https://api.github.com/repos/fossasia/open-event-android/statuses/20cfdb414cb1ec543954d56cb5874adcb4cf5586"}}}}
{"actor":{"display_login":"codacy-bot"}}