{"action":"created","comment":{"url":"https://api.github.com/repos/onepf/OPFPush/pulls/comments/33768545","id":33768545,"diff_hunk":"@@ -96,6 +111,19 @@ public void run() {\n         }\n     }\n \n+    /**\n+     * Invokes {@link GcmPubSub#unsubscribe(String, String)} asynchronously.\n+     * Saved in {@link OPFPushHelper} registration id is used for the unsubscribing.\n+     * It checks current provider name. If {@link OPFPushHelper#getProviderName()} isn't equal to {@link GCMConstants#PROVIDER_NAME}\n+     * the {@link org.onepf.opfpush.gcm.GCMPubSubHelper.Callback#onError(String)} method will be called with\n+     * {@link GCMConstants#GCM_NOT_CURRENT_PROVIDER_ERROR} as argument.\n+     * Also it checks if the registration id is already obtained. If {@link OPFPushHelper#getRegistrationId()} returns null\n+     * the {@link org.onepf.opfpush.gcm.GCMPubSubHelper.Callback#onError(String)} method will be called with\n+     * {@link GCMConstants#REGISTRATION_ID_NOT_OBTAINED_ERROR} as argument.\n+     *\n+     * @param topic    From which to stop receiving messages.","path":"opfpush-providers/gcm/src/main/java/org/onepf/opfpush/gcm/GCMPubSubHelper.java","position":45,"original_position":45,"commit_id":"829abb03d1c6f1b32ef44eac0cc5f1f836c028ed","original_commit_id":"829abb03d1c6f1b32ef44eac0cc5f1f836c028ed","user":{"login":"akarimova","id":2319433,"avatar_url":"https://avatars.githubusercontent.com/u/2319433?v=3","gravatar_id":"","url":"https://api.github.com/users/akarimova","html_url":"https://github.com/akarimova","followers_url":"https://api.github.com/users/akarimova/followers","following_url":"https://api.github.com/users/akarimova/following{/other_user}","gists_url":"https://api.github.com/users/akarimova/gists{/gist_id}","starred_url":"https://api.github.com/users/akarimova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akarimova/subscriptions","organizations_url":"https://api.github.com/users/akarimova/orgs","repos_url":"https://api.github.com/users/akarimova/repos","events_url":"https://api.github.com/users/akarimova/events{/privacy}","received_events_url":"https://api.github.com/users/akarimova/received_events","type":"User","site_admin":false},"body":"is it correct to say like \"from which to stop\"?","created_at":"2015-07-02T11:25:02Z","updated_at":"2015-07-02T11:25:02Z","html_url":"https://github.com/onepf/OPFPush/pull/19#discussion_r33768545","pull_request_url":"https://api.github.com/repos/onepf/OPFPush/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/onepf/OPFPush/pulls/comments/33768545"},"html":{"href":"https://github.com/onepf/OPFPush/pull/19#discussion_r33768545"},"pull_request":{"href":"https://api.github.com/repos/onepf/OPFPush/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/onepf/OPFPush/pulls/19","id":39012207,"html_url":"https://github.com/onepf/OPFPush/pull/19","diff_url":"https://github.com/onepf/OPFPush/pull/19.diff","patch_url":"https://github.com/onepf/OPFPush/pull/19.patch","issue_url":"https://api.github.com/repos/onepf/OPFPush/issues/19","number":19,"state":"open","locked":false,"title":"Javadoc","user":{"login":"rsavin","id":1546352,"avatar_url":"https://avatars.githubusercontent.com/u/1546352?v=3","gravatar_id":"","url":"https://api.github.com/users/rsavin","html_url":"https://github.com/rsavin","followers_url":"https://api.github.com/users/rsavin/followers","following_url":"https://api.github.com/users/rsavin/following{/other_user}","gists_url":"https://api.github.com/users/rsavin/gists{/gist_id}","starred_url":"https://api.github.com/users/rsavin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsavin/subscriptions","organizations_url":"https://api.github.com/users/rsavin/orgs","repos_url":"https://api.github.com/users/rsavin/repos","events_url":"https://api.github.com/users/rsavin/events{/privacy}","received_events_url":"https://api.github.com/users/rsavin/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-01T18:39:42Z","updated_at":"2015-07-02T11:25:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9ea93304dc8a8658f438acfbacdb5539bea884d3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/onepf/OPFPush/pulls/19/commits","review_comments_url":"https://api.github.com/repos/onepf/OPFPush/pulls/19/comments","review_comment_url":"https://api.github.com/repos/onepf/OPFPush/pulls/comments{/number}","comments_url":"https://api.github.com/repos/onepf/OPFPush/issues/19/comments","statuses_url":"https://api.github.com/repos/onepf/OPFPush/statuses/829abb03d1c6f1b32ef44eac0cc5f1f836c028ed","head":{"label":"onepf:javadoc","ref":"javadoc","sha":"829abb03d1c6f1b32ef44eac0cc5f1f836c028ed","user":{"login":"onepf","id":3110962,"avatar_url":"https://avatars.githubusercontent.com/u/3110962?v=3","gravatar_id":"","url":"https://api.github.com/users/onepf","html_url":"https://github.com/onepf","followers_url":"https://api.github.com/users/onepf/followers","following_url":"https://api.github.com/users/onepf/following{/other_user}","gists_url":"https://api.github.com/users/onepf/gists{/gist_id}","starred_url":"https://api.github.com/users/onepf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onepf/subscriptions","organizations_url":"https://api.github.com/users/onepf/orgs","repos_url":"https://api.github.com/users/onepf/repos","events_url":"https://api.github.com/users/onepf/events{/privacy}","received_events_url":"https://api.github.com/users/onepf/received_events","type":"Organization","site_admin":false},"repo":{"id":21462033,"name":"OPFPush","full_name":"onepf/OPFPush","owner":{"login":"onepf","id":3110962,"avatar_url":"https://avatars.githubusercontent.com/u/3110962?v=3","gravatar_id":"","url":"https://api.github.com/users/onepf","html_url":"https://github.com/onepf","followers_url":"https://api.github.com/users/onepf/followers","following_url":"https://api.github.com/users/onepf/following{/other_user}","gists_url":"https://api.github.com/users/onepf/gists{/gist_id}","starred_url":"https://api.github.com/users/onepf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onepf/subscriptions","organizations_url":"https://api.github.com/users/onepf/orgs","repos_url":"https://api.github.com/users/onepf/repos","events_url":"https://api.github.com/users/onepf/events{/privacy}","received_events_url":"https://api.github.com/users/onepf/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/onepf/OPFPush","description":"Android push notifications client (GCM, ADM, Nokia Push)","fork":false,"url":"https://api.github.com/repos/onepf/OPFPush","forks_url":"https://api.github.com/repos/onepf/OPFPush/forks","keys_url":"https://api.github.com/repos/onepf/OPFPush/keys{/key_id}","collaborators_url":"https://api.github.com/repos/onepf/OPFPush/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/onepf/OPFPush/teams","hooks_url":"https://api.github.com/repos/onepf/OPFPush/hooks","issue_events_url":"https://api.github.com/repos/onepf/OPFPush/issues/events{/number}","events_url":"https://api.github.com/repos/onepf/OPFPush/events","assignees_url":"https://api.github.com/repos/onepf/OPFPush/assignees{/user}","branches_url":"https://api.github.com/repos/onepf/OPFPush/branches{/branch}","tags_url":"https://api.github.com/repos/onepf/OPFPush/tags","blobs_url":"https://api.github.com/repos/onepf/OPFPush/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/onepf/OPFPush/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/onepf/OPFPush/git/refs{/sha}","trees_url":"https://api.github.com/repos/onepf/OPFPush/git/trees{/sha}","statuses_url":"https://api.github.com/repos/onepf/OPFPush/statuses/{sha}","languages_url":"https://api.github.com/repos/onepf/OPFPush/languages","stargazers_url":"https://api.github.com/repos/onepf/OPFPush/stargazers","contributors_url":"https://api.github.com/repos/onepf/OPFPush/contributors","subscribers_url":"https://api.github.com/repos/onepf/OPFPush/subscribers","subscription_url":"https://api.github.com/repos/onepf/OPFPush/subscription","commits_url":"https://api.github.com/repos/onepf/OPFPush/commits{/sha}","git_commits_url":"https://api.github.com/repos/onepf/OPFPush/git/commits{/sha}","comments_url":"https://api.github.com/repos/onepf/OPFPush/comments{/number}","issue_comment_url":"https://api.github.com/repos/onepf/OPFPush/issues/comments{/number}","contents_url":"https://api.github.com/repos/onepf/OPFPush/contents/{+path}","compare_url":"https://api.github.com/repos/onepf/OPFPush/compare/{base}...{head}","merges_url":"https://api.github.com/repos/onepf/OPFPush/merges","archive_url":"https://api.github.com/repos/onepf/OPFPush/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/onepf/OPFPush/downloads","issues_url":"https://api.github.com/repos/onepf/OPFPush/issues{/number}","pulls_url":"https://api.github.com/repos/onepf/OPFPush/pulls{/number}","milestones_url":"https://api.github.com/repos/onepf/OPFPush/milestones{/number}","notifications_url":"https://api.github.com/repos/onepf/OPFPush/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/onepf/OPFPush/labels{/name}","releases_url":"https://api.github.com/repos/onepf/OPFPush/releases{/id}","created_at":"2014-07-03T12:41:54Z","updated_at":"2015-05-26T03:18:29Z","pushed_at":"2015-07-01T18:39:43Z","git_url":"git://github.com/onepf/OPFPush.git","ssh_url":"git@github.com:onepf/OPFPush.git","clone_url":"https://github.com/onepf/OPFPush.git","svn_url":"https://github.com/onepf/OPFPush","homepage":"http://www.onepf.org","size":28485,"stargazers_count":65,"watchers_count":65,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":1,"forks":14,"open_issues":1,"watchers":65,"default_branch":"master"}},"base":{"label":"onepf:dev-v0.3.0","ref":"dev-v0.3.0","sha":"c379a5597f4779dcc94770e086e21c9731c06975","user":{"login":"onepf","id":3110962,"avatar_url":"https://avatars.githubusercontent.com/u/3110962?v=3","gravatar_id":"","url":"https://api.github.com/users/onepf","html_url":"https://github.com/onepf","followers_url":"https://api.github.com/users/onepf/followers","following_url":"https://api.github.com/users/onepf/following{/other_user}","gists_url":"https://api.github.com/users/onepf/gists{/gist_id}","starred_url":"https://api.github.com/users/onepf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onepf/subscriptions","organizations_url":"https://api.github.com/users/onepf/orgs","repos_url":"https://api.github.com/users/onepf/repos","events_url":"https://api.github.com/users/onepf/events{/privacy}","received_events_url":"https://api.github.com/users/onepf/received_events","type":"Organization","site_admin":false},"repo":{"id":21462033,"name":"OPFPush","full_name":"onepf/OPFPush","owner":{"login":"onepf","id":3110962,"avatar_url":"https://avatars.githubusercontent.com/u/3110962?v=3","gravatar_id":"","url":"https://api.github.com/users/onepf","html_url":"https://github.com/onepf","followers_url":"https://api.github.com/users/onepf/followers","following_url":"https://api.github.com/users/onepf/following{/other_user}","gists_url":"https://api.github.com/users/onepf/gists{/gist_id}","starred_url":"https://api.github.com/users/onepf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onepf/subscriptions","organizations_url":"https://api.github.com/users/onepf/orgs","repos_url":"https://api.github.com/users/onepf/repos","events_url":"https://api.github.com/users/onepf/events{/privacy}","received_events_url":"https://api.github.com/users/onepf/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/onepf/OPFPush","description":"Android push notifications client (GCM, ADM, Nokia Push)","fork":false,"url":"https://api.github.com/repos/onepf/OPFPush","forks_url":"https://api.github.com/repos/onepf/OPFPush/forks","keys_url":"https://api.github.com/repos/onepf/OPFPush/keys{/key_id}","collaborators_url":"https://api.github.com/repos/onepf/OPFPush/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/onepf/OPFPush/teams","hooks_url":"https://api.github.com/repos/onepf/OPFPush/hooks","issue_events_url":"https://api.github.com/repos/onepf/OPFPush/issues/events{/number}","events_url":"https://api.github.com/repos/onepf/OPFPush/events","assignees_url":"https://api.github.com/repos/onepf/OPFPush/assignees{/user}","branches_url":"https://api.github.com/repos/onepf/OPFPush/branches{/branch}","tags_url":"https://api.github.com/repos/onepf/OPFPush/tags","blobs_url":"https://api.github.com/repos/onepf/OPFPush/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/onepf/OPFPush/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/onepf/OPFPush/git/refs{/sha}","trees_url":"https://api.github.com/repos/onepf/OPFPush/git/trees{/sha}","statuses_url":"https://api.github.com/repos/onepf/OPFPush/statuses/{sha}","languages_url":"https://api.github.com/repos/onepf/OPFPush/languages","stargazers_url":"https://api.github.com/repos/onepf/OPFPush/stargazers","contributors_url":"https://api.github.com/repos/onepf/OPFPush/contributors","subscribers_url":"https://api.github.com/repos/onepf/OPFPush/subscribers","subscription_url":"https://api.github.com/repos/onepf/OPFPush/subscription","commits_url":"https://api.github.com/repos/onepf/OPFPush/commits{/sha}","git_commits_url":"https://api.github.com/repos/onepf/OPFPush/git/commits{/sha}","comments_url":"https://api.github.com/repos/onepf/OPFPush/comments{/number}","issue_comment_url":"https://api.github.com/repos/onepf/OPFPush/issues/comments{/number}","contents_url":"https://api.github.com/repos/onepf/OPFPush/contents/{+path}","compare_url":"https://api.github.com/repos/onepf/OPFPush/compare/{base}...{head}","merges_url":"https://api.github.com/repos/onepf/OPFPush/merges","archive_url":"https://api.github.com/repos/onepf/OPFPush/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/onepf/OPFPush/downloads","issues_url":"https://api.github.com/repos/onepf/OPFPush/issues{/number}","pulls_url":"https://api.github.com/repos/onepf/OPFPush/pulls{/number}","milestones_url":"https://api.github.com/repos/onepf/OPFPush/milestones{/number}","notifications_url":"https://api.github.com/repos/onepf/OPFPush/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/onepf/OPFPush/labels{/name}","releases_url":"https://api.github.com/repos/onepf/OPFPush/releases{/id}","created_at":"2014-07-03T12:41:54Z","updated_at":"2015-05-26T03:18:29Z","pushed_at":"2015-07-01T18:39:43Z","git_url":"git://github.com/onepf/OPFPush.git","ssh_url":"git@github.com:onepf/OPFPush.git","clone_url":"https://github.com/onepf/OPFPush.git","svn_url":"https://github.com/onepf/OPFPush","homepage":"http://www.onepf.org","size":28485,"stargazers_count":65,"watchers_count":65,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":1,"forks":14,"open_issues":1,"watchers":65,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/onepf/OPFPush/pulls/19"},"html":{"href":"https://github.com/onepf/OPFPush/pull/19"},"issue":{"href":"https://api.github.com/repos/onepf/OPFPush/issues/19"},"comments":{"href":"https://api.github.com/repos/onepf/OPFPush/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/onepf/OPFPush/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/onepf/OPFPush/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/onepf/OPFPush/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/onepf/OPFPush/statuses/829abb03d1c6f1b32ef44eac0cc5f1f836c028ed"}}}}