{"action":"created","comment":{"url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/pulls/comments/93978976","pull_request_review_id":14509382,"id":93978976,"diff_hunk":"@@ -171,5 +201,17 @@ public boolean onMenuItemClick(MenuItem menuItem) {\n         // Finally show the PopupMenu\n         popup.show();\n     }\n+\n+    private String getDate(long time) {\n+        Calendar cal = Calendar.getInstance(Locale.ENGLISH);\n+        cal.setTimeInMillis(time);\n+        String date = DateFormat.format(\"yyyy-MM-dd HH:mm:ss\", cal).toString();\n+        return date;\n+    }\n+\n+    public static int getStringIdentifier(Context context, String name) {\n+        //TODO could cause a crash if a test name is not translated or not present in string file\n+        return context.getResources().getIdentifier(name, \"string\", context.getPackageName());","path":"app/src/main/java/org/openobservatory/ooniprobe/adapter/TestsListAdapter.java","position":212,"original_position":212,"commit_id":"682e501c7ab4714e0cf45d0f0b0b2803cb18e86b","original_commit_id":"27e2dae54ce5f7be65f074ea941ffef4261f5d8a","user":{"login":"bassosimone","id":337298,"avatar_url":"https://avatars.githubusercontent.com/u/337298?v=3","gravatar_id":"","url":"https://api.github.com/users/bassosimone","html_url":"https://github.com/bassosimone","followers_url":"https://api.github.com/users/bassosimone/followers","following_url":"https://api.github.com/users/bassosimone/following{/other_user}","gists_url":"https://api.github.com/users/bassosimone/gists{/gist_id}","starred_url":"https://api.github.com/users/bassosimone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bassosimone/subscriptions","organizations_url":"https://api.github.com/users/bassosimone/orgs","repos_url":"https://api.github.com/users/bassosimone/repos","events_url":"https://api.github.com/users/bassosimone/events{/privacy}","received_events_url":"https://api.github.com/users/bassosimone/received_events","type":"User","site_admin":false},"body":"Perhaps we can factor this not-unlikely-throwing function that hurt me earlier in a common place?","created_at":"2016-12-27T23:05:30Z","updated_at":"2016-12-27T23:13:11Z","html_url":"https://github.com/measurement-kit/ooniprobe-android/pull/21#discussion_r93978976","pull_request_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/measurement-kit/ooniprobe-android/pulls/comments/93978976"},"html":{"href":"https://github.com/measurement-kit/ooniprobe-android/pull/21#discussion_r93978976"},"pull_request":{"href":"https://api.github.com/repos/measurement-kit/ooniprobe-android/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/pulls/21","id":99306538,"html_url":"https://github.com/measurement-kit/ooniprobe-android/pull/21","diff_url":"https://github.com/measurement-kit/ooniprobe-android/pull/21.diff","patch_url":"https://github.com/measurement-kit/ooniprobe-android/pull/21.patch","issue_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/issues/21","number":21,"state":"open","locked":false,"title":"Ui/redesigned","user":{"login":"lorenzoPrimi","id":1616097,"avatar_url":"https://avatars.githubusercontent.com/u/1616097?v=3","gravatar_id":"","url":"https://api.github.com/users/lorenzoPrimi","html_url":"https://github.com/lorenzoPrimi","followers_url":"https://api.github.com/users/lorenzoPrimi/followers","following_url":"https://api.github.com/users/lorenzoPrimi/following{/other_user}","gists_url":"https://api.github.com/users/lorenzoPrimi/gists{/gist_id}","starred_url":"https://api.github.com/users/lorenzoPrimi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorenzoPrimi/subscriptions","organizations_url":"https://api.github.com/users/lorenzoPrimi/orgs","repos_url":"https://api.github.com/users/lorenzoPrimi/repos","events_url":"https://api.github.com/users/lorenzoPrimi/events{/privacy}","received_events_url":"https://api.github.com/users/lorenzoPrimi/received_events","type":"User","site_admin":false},"body":"I guess we are ready to merge.","created_at":"2016-12-24T16:10:22Z","updated_at":"2016-12-27T23:13:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7d8a6552c8c9894a1b47ae3000be90e064e0be33","assignee":{"login":"lorenzoPrimi","id":1616097,"avatar_url":"https://avatars.githubusercontent.com/u/1616097?v=3","gravatar_id":"","url":"https://api.github.com/users/lorenzoPrimi","html_url":"https://github.com/lorenzoPrimi","followers_url":"https://api.github.com/users/lorenzoPrimi/followers","following_url":"https://api.github.com/users/lorenzoPrimi/following{/other_user}","gists_url":"https://api.github.com/users/lorenzoPrimi/gists{/gist_id}","starred_url":"https://api.github.com/users/lorenzoPrimi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorenzoPrimi/subscriptions","organizations_url":"https://api.github.com/users/lorenzoPrimi/orgs","repos_url":"https://api.github.com/users/lorenzoPrimi/repos","events_url":"https://api.github.com/users/lorenzoPrimi/events{/privacy}","received_events_url":"https://api.github.com/users/lorenzoPrimi/received_events","type":"User","site_admin":false},"assignees":[{"login":"lorenzoPrimi","id":1616097,"avatar_url":"https://avatars.githubusercontent.com/u/1616097?v=3","gravatar_id":"","url":"https://api.github.com/users/lorenzoPrimi","html_url":"https://github.com/lorenzoPrimi","followers_url":"https://api.github.com/users/lorenzoPrimi/followers","following_url":"https://api.github.com/users/lorenzoPrimi/following{/other_user}","gists_url":"https://api.github.com/users/lorenzoPrimi/gists{/gist_id}","starred_url":"https://api.github.com/users/lorenzoPrimi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorenzoPrimi/subscriptions","organizations_url":"https://api.github.com/users/lorenzoPrimi/orgs","repos_url":"https://api.github.com/users/lorenzoPrimi/repos","events_url":"https://api.github.com/users/lorenzoPrimi/events{/privacy}","received_events_url":"https://api.github.com/users/lorenzoPrimi/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/pulls/21/commits","review_comments_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/pulls/21/comments","review_comment_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/issues/21/comments","statuses_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/statuses/682e501c7ab4714e0cf45d0f0b0b2803cb18e86b","head":{"label":"measurement-kit:ui/redesigned","ref":"ui/redesigned","sha":"682e501c7ab4714e0cf45d0f0b0b2803cb18e86b","user":{"login":"measurement-kit","id":11982841,"avatar_url":"https://avatars.githubusercontent.com/u/11982841?v=3","gravatar_id":"","url":"https://api.github.com/users/measurement-kit","html_url":"https://github.com/measurement-kit","followers_url":"https://api.github.com/users/measurement-kit/followers","following_url":"https://api.github.com/users/measurement-kit/following{/other_user}","gists_url":"https://api.github.com/users/measurement-kit/gists{/gist_id}","starred_url":"https://api.github.com/users/measurement-kit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/measurement-kit/subscriptions","organizations_url":"https://api.github.com/users/measurement-kit/orgs","repos_url":"https://api.github.com/users/measurement-kit/repos","events_url":"https://api.github.com/users/measurement-kit/events{/privacy}","received_events_url":"https://api.github.com/users/measurement-kit/received_events","type":"Organization","site_admin":false},"repo":{"id":32396114,"name":"ooniprobe-android","full_name":"measurement-kit/ooniprobe-android","owner":{"login":"measurement-kit","id":11982841,"avatar_url":"https://avatars.githubusercontent.com/u/11982841?v=3","gravatar_id":"","url":"https://api.github.com/users/measurement-kit","html_url":"https://github.com/measurement-kit","followers_url":"https://api.github.com/users/measurement-kit/followers","following_url":"https://api.github.com/users/measurement-kit/following{/other_user}","gists_url":"https://api.github.com/users/measurement-kit/gists{/gist_id}","starred_url":"https://api.github.com/users/measurement-kit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/measurement-kit/subscriptions","organizations_url":"https://api.github.com/users/measurement-kit/orgs","repos_url":"https://api.github.com/users/measurement-kit/repos","events_url":"https://api.github.com/users/measurement-kit/events{/privacy}","received_events_url":"https://api.github.com/users/measurement-kit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/measurement-kit/ooniprobe-android","description":"ooni-probe for Android","fork":false,"url":"https://api.github.com/repos/measurement-kit/ooniprobe-android","forks_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/forks","keys_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/teams","hooks_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/hooks","issue_events_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/issues/events{/number}","events_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/events","assignees_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/assignees{/user}","branches_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/branches{/branch}","tags_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/tags","blobs_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/statuses/{sha}","languages_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/languages","stargazers_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/stargazers","contributors_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/contributors","subscribers_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/subscribers","subscription_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/subscription","commits_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/contents/{+path}","compare_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/merges","archive_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/downloads","issues_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/issues{/number}","pulls_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/pulls{/number}","milestones_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/milestones{/number}","notifications_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/labels{/name}","releases_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/releases{/id}","deployments_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/deployments","created_at":"2015-03-17T13:49:21Z","updated_at":"2016-11-14T19:37:49Z","pushed_at":"2016-12-27T22:59:42Z","git_url":"git://github.com/measurement-kit/ooniprobe-android.git","ssh_url":"git@github.com:measurement-kit/ooniprobe-android.git","clone_url":"https://github.com/measurement-kit/ooniprobe-android.git","svn_url":"https://github.com/measurement-kit/ooniprobe-android","homepage":"https://ooni.torproject.org/","size":4780,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":4,"default_branch":"master"}},"base":{"label":"measurement-kit:master","ref":"master","sha":"bb08307204d6087aafacaa855df6370a03741085","user":{"login":"measurement-kit","id":11982841,"avatar_url":"https://avatars.githubusercontent.com/u/11982841?v=3","gravatar_id":"","url":"https://api.github.com/users/measurement-kit","html_url":"https://github.com/measurement-kit","followers_url":"https://api.github.com/users/measurement-kit/followers","following_url":"https://api.github.com/users/measurement-kit/following{/other_user}","gists_url":"https://api.github.com/users/measurement-kit/gists{/gist_id}","starred_url":"https://api.github.com/users/measurement-kit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/measurement-kit/subscriptions","organizations_url":"https://api.github.com/users/measurement-kit/orgs","repos_url":"https://api.github.com/users/measurement-kit/repos","events_url":"https://api.github.com/users/measurement-kit/events{/privacy}","received_events_url":"https://api.github.com/users/measurement-kit/received_events","type":"Organization","site_admin":false},"repo":{"id":32396114,"name":"ooniprobe-android","full_name":"measurement-kit/ooniprobe-android","owner":{"login":"measurement-kit","id":11982841,"avatar_url":"https://avatars.githubusercontent.com/u/11982841?v=3","gravatar_id":"","url":"https://api.github.com/users/measurement-kit","html_url":"https://github.com/measurement-kit","followers_url":"https://api.github.com/users/measurement-kit/followers","following_url":"https://api.github.com/users/measurement-kit/following{/other_user}","gists_url":"https://api.github.com/users/measurement-kit/gists{/gist_id}","starred_url":"https://api.github.com/users/measurement-kit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/measurement-kit/subscriptions","organizations_url":"https://api.github.com/users/measurement-kit/orgs","repos_url":"https://api.github.com/users/measurement-kit/repos","events_url":"https://api.github.com/users/measurement-kit/events{/privacy}","received_events_url":"https://api.github.com/users/measurement-kit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/measurement-kit/ooniprobe-android","description":"ooni-probe for Android","fork":false,"url":"https://api.github.com/repos/measurement-kit/ooniprobe-android","forks_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/forks","keys_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/teams","hooks_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/hooks","issue_events_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/issues/events{/number}","events_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/events","assignees_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/assignees{/user}","branches_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/branches{/branch}","tags_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/tags","blobs_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/statuses/{sha}","languages_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/languages","stargazers_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/stargazers","contributors_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/contributors","subscribers_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/subscribers","subscription_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/subscription","commits_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/contents/{+path}","compare_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/merges","archive_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/downloads","issues_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/issues{/number}","pulls_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/pulls{/number}","milestones_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/milestones{/number}","notifications_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/labels{/name}","releases_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/releases{/id}","deployments_url":"https://api.github.com/repos/measurement-kit/ooniprobe-android/deployments","created_at":"2015-03-17T13:49:21Z","updated_at":"2016-11-14T19:37:49Z","pushed_at":"2016-12-27T22:59:42Z","git_url":"git://github.com/measurement-kit/ooniprobe-android.git","ssh_url":"git@github.com:measurement-kit/ooniprobe-android.git","clone_url":"https://github.com/measurement-kit/ooniprobe-android.git","svn_url":"https://github.com/measurement-kit/ooniprobe-android","homepage":"https://ooni.torproject.org/","size":4780,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/measurement-kit/ooniprobe-android/pulls/21"},"html":{"href":"https://github.com/measurement-kit/ooniprobe-android/pull/21"},"issue":{"href":"https://api.github.com/repos/measurement-kit/ooniprobe-android/issues/21"},"comments":{"href":"https://api.github.com/repos/measurement-kit/ooniprobe-android/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/measurement-kit/ooniprobe-android/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/measurement-kit/ooniprobe-android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/measurement-kit/ooniprobe-android/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/measurement-kit/ooniprobe-android/statuses/682e501c7ab4714e0cf45d0f0b0b2803cb18e86b"}}}}
{"actor":{"display_login":"bassosimone"}}