{"action":"created","comment":{"url":"https://api.github.com/repos/google/physical-web/pulls/comments/73773594","id":73773594,"diff_hunk":"@@ -189,6 +191,13 @@ private void restoreCache() {\n           Utils.updateRegion(urlDevice);\n         }\n       }\n+      if (now - prevScanStartTime >= LOCAL_SCAN_STALE_TIME_MILLIS) {","path":"android/PhysicalWeb/app/src/main/java/org/physical_web/physicalweb/UrlDeviceDiscoveryService.java","position":29,"original_position":29,"commit_id":"b3ffaf9b2dd151447331e25def4ed0fe0dfad0ae","original_commit_id":"b3ffaf9b2dd151447331e25def4ed0fe0dfad0ae","user":{"login":"cco3","id":236057,"avatar_url":"https://avatars.githubusercontent.com/u/236057?v=3","gravatar_id":"","url":"https://api.github.com/users/cco3","html_url":"https://github.com/cco3","followers_url":"https://api.github.com/users/cco3/followers","following_url":"https://api.github.com/users/cco3/following{/other_user}","gists_url":"https://api.github.com/users/cco3/gists{/gist_id}","starred_url":"https://api.github.com/users/cco3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cco3/subscriptions","organizations_url":"https://api.github.com/users/cco3/orgs","repos_url":"https://api.github.com/users/cco3/repos","events_url":"https://api.github.com/users/cco3/events{/privacy}","received_events_url":"https://api.github.com/users/cco3/received_events","type":"User","site_admin":false},"body":"why does this need to go in the try block?","created_at":"2016-08-05T23:37:27Z","updated_at":"2016-08-05T23:37:27Z","html_url":"https://github.com/google/physical-web/pull/763#discussion_r73773594","pull_request_url":"https://api.github.com/repos/google/physical-web/pulls/763","_links":{"self":{"href":"https://api.github.com/repos/google/physical-web/pulls/comments/73773594"},"html":{"href":"https://github.com/google/physical-web/pull/763#discussion_r73773594"},"pull_request":{"href":"https://api.github.com/repos/google/physical-web/pulls/763"}}},"pull_request":{"url":"https://api.github.com/repos/google/physical-web/pulls/763","id":80320382,"html_url":"https://github.com/google/physical-web/pull/763","diff_url":"https://github.com/google/physical-web/pull/763.diff","patch_url":"https://github.com/google/physical-web/pull/763.patch","issue_url":"https://api.github.com/repos/google/physical-web/issues/763","number":763,"state":"open","locked":false,"title":"Add Device Type Attribute","user":{"login":"nishadg246","id":10369130,"avatar_url":"https://avatars.githubusercontent.com/u/10369130?v=3","gravatar_id":"","url":"https://api.github.com/users/nishadg246","html_url":"https://github.com/nishadg246","followers_url":"https://api.github.com/users/nishadg246/followers","following_url":"https://api.github.com/users/nishadg246/following{/other_user}","gists_url":"https://api.github.com/users/nishadg246/gists{/gist_id}","starred_url":"https://api.github.com/users/nishadg246/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nishadg246/subscriptions","organizations_url":"https://api.github.com/users/nishadg246/orgs","repos_url":"https://api.github.com/users/nishadg246/repos","events_url":"https://api.github.com/users/nishadg246/events{/privacy}","received_events_url":"https://api.github.com/users/nishadg246/received_events","type":"User","site_admin":false},"body":"Add tag to each UrlDevice defining the tranport it was discovered with.","created_at":"2016-08-05T23:31:32Z","updated_at":"2016-08-05T23:37:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bbf51dddb0d058e8b33b92a3a3ca8c806d28ab3e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/google/physical-web/pulls/763/commits","review_comments_url":"https://api.github.com/repos/google/physical-web/pulls/763/comments","review_comment_url":"https://api.github.com/repos/google/physical-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/physical-web/issues/763/comments","statuses_url":"https://api.github.com/repos/google/physical-web/statuses/b3ffaf9b2dd151447331e25def4ed0fe0dfad0ae","head":{"label":"nishadg246:add_type","ref":"add_type","sha":"b3ffaf9b2dd151447331e25def4ed0fe0dfad0ae","user":{"login":"nishadg246","id":10369130,"avatar_url":"https://avatars.githubusercontent.com/u/10369130?v=3","gravatar_id":"","url":"https://api.github.com/users/nishadg246","html_url":"https://github.com/nishadg246","followers_url":"https://api.github.com/users/nishadg246/followers","following_url":"https://api.github.com/users/nishadg246/following{/other_user}","gists_url":"https://api.github.com/users/nishadg246/gists{/gist_id}","starred_url":"https://api.github.com/users/nishadg246/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nishadg246/subscriptions","organizations_url":"https://api.github.com/users/nishadg246/orgs","repos_url":"https://api.github.com/users/nishadg246/repos","events_url":"https://api.github.com/users/nishadg246/events{/privacy}","received_events_url":"https://api.github.com/users/nishadg246/received_events","type":"User","site_admin":false},"repo":{"id":59617356,"name":"physical-web","full_name":"nishadg246/physical-web","owner":{"login":"nishadg246","id":10369130,"avatar_url":"https://avatars.githubusercontent.com/u/10369130?v=3","gravatar_id":"","url":"https://api.github.com/users/nishadg246","html_url":"https://github.com/nishadg246","followers_url":"https://api.github.com/users/nishadg246/followers","following_url":"https://api.github.com/users/nishadg246/following{/other_user}","gists_url":"https://api.github.com/users/nishadg246/gists{/gist_id}","starred_url":"https://api.github.com/users/nishadg246/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nishadg246/subscriptions","organizations_url":"https://api.github.com/users/nishadg246/orgs","repos_url":"https://api.github.com/users/nishadg246/repos","events_url":"https://api.github.com/users/nishadg246/events{/privacy}","received_events_url":"https://api.github.com/users/nishadg246/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nishadg246/physical-web","description":"The Physical Web: walk up and use anything","fork":true,"url":"https://api.github.com/repos/nishadg246/physical-web","forks_url":"https://api.github.com/repos/nishadg246/physical-web/forks","keys_url":"https://api.github.com/repos/nishadg246/physical-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nishadg246/physical-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nishadg246/physical-web/teams","hooks_url":"https://api.github.com/repos/nishadg246/physical-web/hooks","issue_events_url":"https://api.github.com/repos/nishadg246/physical-web/issues/events{/number}","events_url":"https://api.github.com/repos/nishadg246/physical-web/events","assignees_url":"https://api.github.com/repos/nishadg246/physical-web/assignees{/user}","branches_url":"https://api.github.com/repos/nishadg246/physical-web/branches{/branch}","tags_url":"https://api.github.com/repos/nishadg246/physical-web/tags","blobs_url":"https://api.github.com/repos/nishadg246/physical-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nishadg246/physical-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nishadg246/physical-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/nishadg246/physical-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nishadg246/physical-web/statuses/{sha}","languages_url":"https://api.github.com/repos/nishadg246/physical-web/languages","stargazers_url":"https://api.github.com/repos/nishadg246/physical-web/stargazers","contributors_url":"https://api.github.com/repos/nishadg246/physical-web/contributors","subscribers_url":"https://api.github.com/repos/nishadg246/physical-web/subscribers","subscription_url":"https://api.github.com/repos/nishadg246/physical-web/subscription","commits_url":"https://api.github.com/repos/nishadg246/physical-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/nishadg246/physical-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/nishadg246/physical-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/nishadg246/physical-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/nishadg246/physical-web/contents/{+path}","compare_url":"https://api.github.com/repos/nishadg246/physical-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nishadg246/physical-web/merges","archive_url":"https://api.github.com/repos/nishadg246/physical-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nishadg246/physical-web/downloads","issues_url":"https://api.github.com/repos/nishadg246/physical-web/issues{/number}","pulls_url":"https://api.github.com/repos/nishadg246/physical-web/pulls{/number}","milestones_url":"https://api.github.com/repos/nishadg246/physical-web/milestones{/number}","notifications_url":"https://api.github.com/repos/nishadg246/physical-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nishadg246/physical-web/labels{/name}","releases_url":"https://api.github.com/repos/nishadg246/physical-web/releases{/id}","deployments_url":"https://api.github.com/repos/nishadg246/physical-web/deployments","created_at":"2016-05-25T00:11:45Z","updated_at":"2016-05-25T00:11:46Z","pushed_at":"2016-08-05T23:31:20Z","git_url":"git://github.com/nishadg246/physical-web.git","ssh_url":"git@github.com:nishadg246/physical-web.git","clone_url":"https://github.com/nishadg246/physical-web.git","svn_url":"https://github.com/nishadg246/physical-web","homepage":"http://physical-web.org","size":12533,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":false,"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":"master"}},"base":{"label":"google:master","ref":"master","sha":"d9994dd1bd16b0c85dd461bb9c66be1252128e51","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":24650339,"name":"physical-web","full_name":"google/physical-web","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/physical-web","description":"The Physical Web: walk up and use anything","fork":false,"url":"https://api.github.com/repos/google/physical-web","forks_url":"https://api.github.com/repos/google/physical-web/forks","keys_url":"https://api.github.com/repos/google/physical-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/physical-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/physical-web/teams","hooks_url":"https://api.github.com/repos/google/physical-web/hooks","issue_events_url":"https://api.github.com/repos/google/physical-web/issues/events{/number}","events_url":"https://api.github.com/repos/google/physical-web/events","assignees_url":"https://api.github.com/repos/google/physical-web/assignees{/user}","branches_url":"https://api.github.com/repos/google/physical-web/branches{/branch}","tags_url":"https://api.github.com/repos/google/physical-web/tags","blobs_url":"https://api.github.com/repos/google/physical-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/physical-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/physical-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/physical-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/physical-web/statuses/{sha}","languages_url":"https://api.github.com/repos/google/physical-web/languages","stargazers_url":"https://api.github.com/repos/google/physical-web/stargazers","contributors_url":"https://api.github.com/repos/google/physical-web/contributors","subscribers_url":"https://api.github.com/repos/google/physical-web/subscribers","subscription_url":"https://api.github.com/repos/google/physical-web/subscription","commits_url":"https://api.github.com/repos/google/physical-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/physical-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/physical-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/physical-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/physical-web/contents/{+path}","compare_url":"https://api.github.com/repos/google/physical-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/physical-web/merges","archive_url":"https://api.github.com/repos/google/physical-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/physical-web/downloads","issues_url":"https://api.github.com/repos/google/physical-web/issues{/number}","pulls_url":"https://api.github.com/repos/google/physical-web/pulls{/number}","milestones_url":"https://api.github.com/repos/google/physical-web/milestones{/number}","notifications_url":"https://api.github.com/repos/google/physical-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/physical-web/labels{/name}","releases_url":"https://api.github.com/repos/google/physical-web/releases{/id}","deployments_url":"https://api.github.com/repos/google/physical-web/deployments","created_at":"2014-09-30T18:32:14Z","updated_at":"2016-08-05T21:32:21Z","pushed_at":"2016-08-05T23:31:34Z","git_url":"git://github.com/google/physical-web.git","ssh_url":"git@github.com:google/physical-web.git","clone_url":"https://github.com/google/physical-web.git","svn_url":"https://github.com/google/physical-web","homepage":"http://physical-web.org","size":13251,"stargazers_count":5536,"watchers_count":5536,"language":"Java","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":672,"mirror_url":null,"open_issues_count":54,"forks":672,"open_issues":54,"watchers":5536,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/physical-web/pulls/763"},"html":{"href":"https://github.com/google/physical-web/pull/763"},"issue":{"href":"https://api.github.com/repos/google/physical-web/issues/763"},"comments":{"href":"https://api.github.com/repos/google/physical-web/issues/763/comments"},"review_comments":{"href":"https://api.github.com/repos/google/physical-web/pulls/763/comments"},"review_comment":{"href":"https://api.github.com/repos/google/physical-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/physical-web/pulls/763/commits"},"statuses":{"href":"https://api.github.com/repos/google/physical-web/statuses/b3ffaf9b2dd151447331e25def4ed0fe0dfad0ae"}}}}
{"actor":{"display_login":"cco3"}}