{"action":"created","comment":{"url":"https://api.github.com/repos/systers/PCSA/pulls/comments/36760253","id":36760253,"diff_hunk":"@@ -0,0 +1,74 @@\n+package com.pcsa.views.reporting;\n+\n+import android.app.Activity;\n+import android.os.Bundle;\n+import android.view.View;\n+import android.widget.AdapterView;\n+import android.widget.ArrayAdapter;\n+import android.widget.Button;\n+import android.widget.Spinner;\n+import android.widget.TextView;\n+\n+import com.pcsa.beans.reporting.LocationDetails;\n+import com.pcsabuddhi.R;\n+\n+import java.util.HashMap;\n+import java.util.Map;\n+\n+/**\n+ * @author Buddhiprabha Erabadda\n+ *\n+ * Allows the user to call Post Staff in case of crime. The details for the\n+ * current location will be set by changing the location\n+ */\n+public class ContactPostStaff extends Activity implements AdapterView.OnItemSelectedListener {\n+\n+    Button contact_pcmo;\n+    Button contact_ssm;\n+    Button contact_sarl;\n+    TextView current_location;\n+    private static final Map<String, LocationDetails> locationDetails;\n+    static {\n+        locationDetails = new HashMap<>();","path":"app/src/main/java/com/pcsa/views/reporting/ContactPostStaff.java","position":32,"original_position":32,"commit_id":"3165150081fa7218dbd3f80e6525d86633c81ab0","original_commit_id":"3165150081fa7218dbd3f80e6525d86633c81ab0","user":{"login":"shruti-gupta","id":3852755,"avatar_url":"https://avatars.githubusercontent.com/u/3852755?v=3","gravatar_id":"","url":"https://api.github.com/users/shruti-gupta","html_url":"https://github.com/shruti-gupta","followers_url":"https://api.github.com/users/shruti-gupta/followers","following_url":"https://api.github.com/users/shruti-gupta/following{/other_user}","gists_url":"https://api.github.com/users/shruti-gupta/gists{/gist_id}","starred_url":"https://api.github.com/users/shruti-gupta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shruti-gupta/subscriptions","organizations_url":"https://api.github.com/users/shruti-gupta/orgs","repos_url":"https://api.github.com/users/shruti-gupta/repos","events_url":"https://api.github.com/users/shruti-gupta/events{/privacy}","received_events_url":"https://api.github.com/users/shruti-gupta/received_events","type":"User","site_admin":false},"body":"is this some test code? do you mean to change it later?","created_at":"2015-08-11T15:41:15Z","updated_at":"2015-08-11T15:41:15Z","html_url":"https://github.com/systers/PCSA/pull/2#discussion_r36760253","pull_request_url":"https://api.github.com/repos/systers/PCSA/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/systers/PCSA/pulls/comments/36760253"},"html":{"href":"https://github.com/systers/PCSA/pull/2#discussion_r36760253"},"pull_request":{"href":"https://api.github.com/repos/systers/PCSA/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/systers/PCSA/pulls/2","id":41879004,"html_url":"https://github.com/systers/PCSA/pull/2","diff_url":"https://github.com/systers/PCSA/pull/2.diff","patch_url":"https://github.com/systers/PCSA/pull/2.patch","issue_url":"https://api.github.com/repos/systers/PCSA/issues/2","number":2,"state":"closed","locked":false,"title":"Initial PCSA commit with some Reporting features","user":{"login":"Buddhiprabha","id":1551513,"avatar_url":"https://avatars.githubusercontent.com/u/1551513?v=3","gravatar_id":"","url":"https://api.github.com/users/Buddhiprabha","html_url":"https://github.com/Buddhiprabha","followers_url":"https://api.github.com/users/Buddhiprabha/followers","following_url":"https://api.github.com/users/Buddhiprabha/following{/other_user}","gists_url":"https://api.github.com/users/Buddhiprabha/gists{/gist_id}","starred_url":"https://api.github.com/users/Buddhiprabha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Buddhiprabha/subscriptions","organizations_url":"https://api.github.com/users/Buddhiprabha/orgs","repos_url":"https://api.github.com/users/Buddhiprabha/repos","events_url":"https://api.github.com/users/Buddhiprabha/events{/privacy}","received_events_url":"https://api.github.com/users/Buddhiprabha/received_events","type":"User","site_admin":false},"body":"I added the PCSA project skeleton and the Reporting features that I have developed so far. \r\n\r\nReporting features added are as follows:\r\n- Landing page for reporting\r\n- Reporting Steps\r\n- Reporting Types\r\n- Reporting FAQ\r\n- More Reporting Resources\r\n- Confidentiality\r\n- Post Staff contact - partially done","created_at":"2015-08-07T10:33:01Z","updated_at":"2015-08-11T15:41:15Z","closed_at":"2015-08-07T22:12:06Z","merged_at":"2015-08-07T22:12:06Z","merge_commit_sha":"8bddf536df799bd5794763334afe767dde9eabd7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/systers/PCSA/pulls/2/commits","review_comments_url":"https://api.github.com/repos/systers/PCSA/pulls/2/comments","review_comment_url":"https://api.github.com/repos/systers/PCSA/pulls/comments{/number}","comments_url":"https://api.github.com/repos/systers/PCSA/issues/2/comments","statuses_url":"https://api.github.com/repos/systers/PCSA/statuses/3165150081fa7218dbd3f80e6525d86633c81ab0","head":{"label":"Buddhiprabha:develop","ref":"develop","sha":"3165150081fa7218dbd3f80e6525d86633c81ab0","user":{"login":"Buddhiprabha","id":1551513,"avatar_url":"https://avatars.githubusercontent.com/u/1551513?v=3","gravatar_id":"","url":"https://api.github.com/users/Buddhiprabha","html_url":"https://github.com/Buddhiprabha","followers_url":"https://api.github.com/users/Buddhiprabha/followers","following_url":"https://api.github.com/users/Buddhiprabha/following{/other_user}","gists_url":"https://api.github.com/users/Buddhiprabha/gists{/gist_id}","starred_url":"https://api.github.com/users/Buddhiprabha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Buddhiprabha/subscriptions","organizations_url":"https://api.github.com/users/Buddhiprabha/orgs","repos_url":"https://api.github.com/users/Buddhiprabha/repos","events_url":"https://api.github.com/users/Buddhiprabha/events{/privacy}","received_events_url":"https://api.github.com/users/Buddhiprabha/received_events","type":"User","site_admin":false},"repo":{"id":40341024,"name":"PCSA","full_name":"Buddhiprabha/PCSA","owner":{"login":"Buddhiprabha","id":1551513,"avatar_url":"https://avatars.githubusercontent.com/u/1551513?v=3","gravatar_id":"","url":"https://api.github.com/users/Buddhiprabha","html_url":"https://github.com/Buddhiprabha","followers_url":"https://api.github.com/users/Buddhiprabha/followers","following_url":"https://api.github.com/users/Buddhiprabha/following{/other_user}","gists_url":"https://api.github.com/users/Buddhiprabha/gists{/gist_id}","starred_url":"https://api.github.com/users/Buddhiprabha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Buddhiprabha/subscriptions","organizations_url":"https://api.github.com/users/Buddhiprabha/orgs","repos_url":"https://api.github.com/users/Buddhiprabha/repos","events_url":"https://api.github.com/users/Buddhiprabha/events{/privacy}","received_events_url":"https://api.github.com/users/Buddhiprabha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Buddhiprabha/PCSA","description":"","fork":true,"url":"https://api.github.com/repos/Buddhiprabha/PCSA","forks_url":"https://api.github.com/repos/Buddhiprabha/PCSA/forks","keys_url":"https://api.github.com/repos/Buddhiprabha/PCSA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Buddhiprabha/PCSA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Buddhiprabha/PCSA/teams","hooks_url":"https://api.github.com/repos/Buddhiprabha/PCSA/hooks","issue_events_url":"https://api.github.com/repos/Buddhiprabha/PCSA/issues/events{/number}","events_url":"https://api.github.com/repos/Buddhiprabha/PCSA/events","assignees_url":"https://api.github.com/repos/Buddhiprabha/PCSA/assignees{/user}","branches_url":"https://api.github.com/repos/Buddhiprabha/PCSA/branches{/branch}","tags_url":"https://api.github.com/repos/Buddhiprabha/PCSA/tags","blobs_url":"https://api.github.com/repos/Buddhiprabha/PCSA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Buddhiprabha/PCSA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Buddhiprabha/PCSA/git/refs{/sha}","trees_url":"https://api.github.com/repos/Buddhiprabha/PCSA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Buddhiprabha/PCSA/statuses/{sha}","languages_url":"https://api.github.com/repos/Buddhiprabha/PCSA/languages","stargazers_url":"https://api.github.com/repos/Buddhiprabha/PCSA/stargazers","contributors_url":"https://api.github.com/repos/Buddhiprabha/PCSA/contributors","subscribers_url":"https://api.github.com/repos/Buddhiprabha/PCSA/subscribers","subscription_url":"https://api.github.com/repos/Buddhiprabha/PCSA/subscription","commits_url":"https://api.github.com/repos/Buddhiprabha/PCSA/commits{/sha}","git_commits_url":"https://api.github.com/repos/Buddhiprabha/PCSA/git/commits{/sha}","comments_url":"https://api.github.com/repos/Buddhiprabha/PCSA/comments{/number}","issue_comment_url":"https://api.github.com/repos/Buddhiprabha/PCSA/issues/comments{/number}","contents_url":"https://api.github.com/repos/Buddhiprabha/PCSA/contents/{+path}","compare_url":"https://api.github.com/repos/Buddhiprabha/PCSA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Buddhiprabha/PCSA/merges","archive_url":"https://api.github.com/repos/Buddhiprabha/PCSA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Buddhiprabha/PCSA/downloads","issues_url":"https://api.github.com/repos/Buddhiprabha/PCSA/issues{/number}","pulls_url":"https://api.github.com/repos/Buddhiprabha/PCSA/pulls{/number}","milestones_url":"https://api.github.com/repos/Buddhiprabha/PCSA/milestones{/number}","notifications_url":"https://api.github.com/repos/Buddhiprabha/PCSA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Buddhiprabha/PCSA/labels{/name}","releases_url":"https://api.github.com/repos/Buddhiprabha/PCSA/releases{/id}","created_at":"2015-08-07T04:25:27Z","updated_at":"2015-08-07T10:13:02Z","pushed_at":"2015-08-07T10:23:54Z","git_url":"git://github.com/Buddhiprabha/PCSA.git","ssh_url":"git@github.com:Buddhiprabha/PCSA.git","clone_url":"https://github.com/Buddhiprabha/PCSA.git","svn_url":"https://github.com/Buddhiprabha/PCSA","homepage":null,"size":407,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"systers:develop","ref":"develop","sha":"a62bc3c333ee2e98e735154ccc7eacba410be303","user":{"login":"systers","id":6520415,"avatar_url":"https://avatars.githubusercontent.com/u/6520415?v=3","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":37461820,"name":"PCSA","full_name":"systers/PCSA","owner":{"login":"systers","id":6520415,"avatar_url":"https://avatars.githubusercontent.com/u/6520415?v=3","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/PCSA","description":"","fork":true,"url":"https://api.github.com/repos/systers/PCSA","forks_url":"https://api.github.com/repos/systers/PCSA/forks","keys_url":"https://api.github.com/repos/systers/PCSA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/systers/PCSA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/systers/PCSA/teams","hooks_url":"https://api.github.com/repos/systers/PCSA/hooks","issue_events_url":"https://api.github.com/repos/systers/PCSA/issues/events{/number}","events_url":"https://api.github.com/repos/systers/PCSA/events","assignees_url":"https://api.github.com/repos/systers/PCSA/assignees{/user}","branches_url":"https://api.github.com/repos/systers/PCSA/branches{/branch}","tags_url":"https://api.github.com/repos/systers/PCSA/tags","blobs_url":"https://api.github.com/repos/systers/PCSA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/systers/PCSA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/systers/PCSA/git/refs{/sha}","trees_url":"https://api.github.com/repos/systers/PCSA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/systers/PCSA/statuses/{sha}","languages_url":"https://api.github.com/repos/systers/PCSA/languages","stargazers_url":"https://api.github.com/repos/systers/PCSA/stargazers","contributors_url":"https://api.github.com/repos/systers/PCSA/contributors","subscribers_url":"https://api.github.com/repos/systers/PCSA/subscribers","subscription_url":"https://api.github.com/repos/systers/PCSA/subscription","commits_url":"https://api.github.com/repos/systers/PCSA/commits{/sha}","git_commits_url":"https://api.github.com/repos/systers/PCSA/git/commits{/sha}","comments_url":"https://api.github.com/repos/systers/PCSA/comments{/number}","issue_comment_url":"https://api.github.com/repos/systers/PCSA/issues/comments{/number}","contents_url":"https://api.github.com/repos/systers/PCSA/contents/{+path}","compare_url":"https://api.github.com/repos/systers/PCSA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/systers/PCSA/merges","archive_url":"https://api.github.com/repos/systers/PCSA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/systers/PCSA/downloads","issues_url":"https://api.github.com/repos/systers/PCSA/issues{/number}","pulls_url":"https://api.github.com/repos/systers/PCSA/pulls{/number}","milestones_url":"https://api.github.com/repos/systers/PCSA/milestones{/number}","notifications_url":"https://api.github.com/repos/systers/PCSA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/systers/PCSA/labels{/name}","releases_url":"https://api.github.com/repos/systers/PCSA/releases{/id}","created_at":"2015-06-15T11:46:40Z","updated_at":"2015-08-07T22:12:06Z","pushed_at":"2015-08-07T22:12:06Z","git_url":"git://github.com/systers/PCSA.git","ssh_url":"git@github.com:systers/PCSA.git","clone_url":"https://github.com/systers/PCSA.git","svn_url":"https://github.com/systers/PCSA","homepage":null,"size":428,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/systers/PCSA/pulls/2"},"html":{"href":"https://github.com/systers/PCSA/pull/2"},"issue":{"href":"https://api.github.com/repos/systers/PCSA/issues/2"},"comments":{"href":"https://api.github.com/repos/systers/PCSA/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/systers/PCSA/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/systers/PCSA/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/systers/PCSA/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/systers/PCSA/statuses/3165150081fa7218dbd3f80e6525d86633c81ab0"}}}}