{"action":"created","comment":{"url":"https://api.github.com/repos/google/open-location-code/pulls/comments/192182774","pull_request_review_id":124909309,"id":192182774,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MjE4Mjc3NA==","diff_hunk":"@@ -153,11 +154,12 @@ public double getEastLongitude() {\n    * @constructor\n   */\n   public OpenLocationCode(String code) throws IllegalArgumentException {\n-    if (!isValidCode(code.toUpperCase())) {","path":"java/com/google/openlocationcode/OpenLocationCode.java","position":12,"original_position":12,"commit_id":"803cdd5aa5486e7ca20b45954ecab2f82a171747","original_commit_id":"803cdd5aa5486e7ca20b45954ecab2f82a171747","user":{"login":"zongweil","id":1677201,"node_id":"MDQ6VXNlcjE2NzcyMDE=","avatar_url":"https://avatars1.githubusercontent.com/u/1677201?v=4","gravatar_id":"","url":"https://api.github.com/users/zongweil","html_url":"https://github.com/zongweil","followers_url":"https://api.github.com/users/zongweil/followers","following_url":"https://api.github.com/users/zongweil/following{/other_user}","gists_url":"https://api.github.com/users/zongweil/gists{/gist_id}","starred_url":"https://api.github.com/users/zongweil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zongweil/subscriptions","organizations_url":"https://api.github.com/users/zongweil/orgs","repos_url":"https://api.github.com/users/zongweil/repos","events_url":"https://api.github.com/users/zongweil/events{/privacy}","received_events_url":"https://api.github.com/users/zongweil/received_events","type":"User","site_admin":false},"body":"We can get rid of the code.toUpperCase() here all together, since we're calling it inside of isValidCode().","created_at":"2018-05-31T17:49:32Z","updated_at":"2018-05-31T17:52:29Z","html_url":"https://github.com/google/open-location-code/pull/158#discussion_r192182774","pull_request_url":"https://api.github.com/repos/google/open-location-code/pulls/158","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/google/open-location-code/pulls/comments/192182774"},"html":{"href":"https://github.com/google/open-location-code/pull/158#discussion_r192182774"},"pull_request":{"href":"https://api.github.com/repos/google/open-location-code/pulls/158"}}},"pull_request":{"url":"https://api.github.com/repos/google/open-location-code/pulls/158","id":184809061,"node_id":"MDExOlB1bGxSZXF1ZXN0MTg0ODA5MDYx","html_url":"https://github.com/google/open-location-code/pull/158","diff_url":"https://github.com/google/open-location-code/pull/158.diff","patch_url":"https://github.com/google/open-location-code/pull/158.patch","issue_url":"https://api.github.com/repos/google/open-location-code/issues/158","number":158,"state":"open","locked":false,"title":"Fix duplicate toUpperCase() calls, use Locale.ROOT","user":{"login":"nyurik","id":1641515,"node_id":"MDQ6VXNlcjE2NDE1MTU=","avatar_url":"https://avatars0.githubusercontent.com/u/1641515?v=4","gravatar_id":"","url":"https://api.github.com/users/nyurik","html_url":"https://github.com/nyurik","followers_url":"https://api.github.com/users/nyurik/followers","following_url":"https://api.github.com/users/nyurik/following{/other_user}","gists_url":"https://api.github.com/users/nyurik/gists{/gist_id}","starred_url":"https://api.github.com/users/nyurik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyurik/subscriptions","organizations_url":"https://api.github.com/users/nyurik/orgs","repos_url":"https://api.github.com/users/nyurik/repos","events_url":"https://api.github.com/users/nyurik/events{/privacy}","received_events_url":"https://api.github.com/users/nyurik/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-28T22:56:16Z","updated_at":"2018-05-31T17:52:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"151be7cf63564f50f6f1355aa1c341c7e327da2b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/google/open-location-code/pulls/158/commits","review_comments_url":"https://api.github.com/repos/google/open-location-code/pulls/158/comments","review_comment_url":"https://api.github.com/repos/google/open-location-code/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/open-location-code/issues/158/comments","statuses_url":"https://api.github.com/repos/google/open-location-code/statuses/803cdd5aa5486e7ca20b45954ecab2f82a171747","head":{"label":"nyurik:patch-2","ref":"patch-2","sha":"803cdd5aa5486e7ca20b45954ecab2f82a171747","user":{"login":"nyurik","id":1641515,"node_id":"MDQ6VXNlcjE2NDE1MTU=","avatar_url":"https://avatars0.githubusercontent.com/u/1641515?v=4","gravatar_id":"","url":"https://api.github.com/users/nyurik","html_url":"https://github.com/nyurik","followers_url":"https://api.github.com/users/nyurik/followers","following_url":"https://api.github.com/users/nyurik/following{/other_user}","gists_url":"https://api.github.com/users/nyurik/gists{/gist_id}","starred_url":"https://api.github.com/users/nyurik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyurik/subscriptions","organizations_url":"https://api.github.com/users/nyurik/orgs","repos_url":"https://api.github.com/users/nyurik/repos","events_url":"https://api.github.com/users/nyurik/events{/privacy}","received_events_url":"https://api.github.com/users/nyurik/received_events","type":"User","site_admin":false},"repo":{"id":131442387,"node_id":"MDEwOlJlcG9zaXRvcnkxMzE0NDIzODc=","name":"open-location-code","full_name":"nyurik/open-location-code","owner":{"login":"nyurik","id":1641515,"node_id":"MDQ6VXNlcjE2NDE1MTU=","avatar_url":"https://avatars0.githubusercontent.com/u/1641515?v=4","gravatar_id":"","url":"https://api.github.com/users/nyurik","html_url":"https://github.com/nyurik","followers_url":"https://api.github.com/users/nyurik/followers","following_url":"https://api.github.com/users/nyurik/following{/other_user}","gists_url":"https://api.github.com/users/nyurik/gists{/gist_id}","starred_url":"https://api.github.com/users/nyurik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyurik/subscriptions","organizations_url":"https://api.github.com/users/nyurik/orgs","repos_url":"https://api.github.com/users/nyurik/repos","events_url":"https://api.github.com/users/nyurik/events{/privacy}","received_events_url":"https://api.github.com/users/nyurik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nyurik/open-location-code","description":"Open Location Code is a library to generate short codes that can be used like street addresses, for places where street addresses don't exist.","fork":true,"url":"https://api.github.com/repos/nyurik/open-location-code","forks_url":"https://api.github.com/repos/nyurik/open-location-code/forks","keys_url":"https://api.github.com/repos/nyurik/open-location-code/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nyurik/open-location-code/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nyurik/open-location-code/teams","hooks_url":"https://api.github.com/repos/nyurik/open-location-code/hooks","issue_events_url":"https://api.github.com/repos/nyurik/open-location-code/issues/events{/number}","events_url":"https://api.github.com/repos/nyurik/open-location-code/events","assignees_url":"https://api.github.com/repos/nyurik/open-location-code/assignees{/user}","branches_url":"https://api.github.com/repos/nyurik/open-location-code/branches{/branch}","tags_url":"https://api.github.com/repos/nyurik/open-location-code/tags","blobs_url":"https://api.github.com/repos/nyurik/open-location-code/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nyurik/open-location-code/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nyurik/open-location-code/git/refs{/sha}","trees_url":"https://api.github.com/repos/nyurik/open-location-code/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nyurik/open-location-code/statuses/{sha}","languages_url":"https://api.github.com/repos/nyurik/open-location-code/languages","stargazers_url":"https://api.github.com/repos/nyurik/open-location-code/stargazers","contributors_url":"https://api.github.com/repos/nyurik/open-location-code/contributors","subscribers_url":"https://api.github.com/repos/nyurik/open-location-code/subscribers","subscription_url":"https://api.github.com/repos/nyurik/open-location-code/subscription","commits_url":"https://api.github.com/repos/nyurik/open-location-code/commits{/sha}","git_commits_url":"https://api.github.com/repos/nyurik/open-location-code/git/commits{/sha}","comments_url":"https://api.github.com/repos/nyurik/open-location-code/comments{/number}","issue_comment_url":"https://api.github.com/repos/nyurik/open-location-code/issues/comments{/number}","contents_url":"https://api.github.com/repos/nyurik/open-location-code/contents/{+path}","compare_url":"https://api.github.com/repos/nyurik/open-location-code/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nyurik/open-location-code/merges","archive_url":"https://api.github.com/repos/nyurik/open-location-code/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nyurik/open-location-code/downloads","issues_url":"https://api.github.com/repos/nyurik/open-location-code/issues{/number}","pulls_url":"https://api.github.com/repos/nyurik/open-location-code/pulls{/number}","milestones_url":"https://api.github.com/repos/nyurik/open-location-code/milestones{/number}","notifications_url":"https://api.github.com/repos/nyurik/open-location-code/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nyurik/open-location-code/labels{/name}","releases_url":"https://api.github.com/repos/nyurik/open-location-code/releases{/id}","deployments_url":"https://api.github.com/repos/nyurik/open-location-code/deployments","created_at":"2018-04-28T20:35:23Z","updated_at":"2018-04-28T20:35:26Z","pushed_at":"2018-04-29T17:20:43Z","git_url":"git://github.com/nyurik/open-location-code.git","ssh_url":"git@github.com:nyurik/open-location-code.git","clone_url":"https://github.com/nyurik/open-location-code.git","svn_url":"https://github.com/nyurik/open-location-code","homepage":"http://www.openlocationcode.com","size":3886,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"0cb19d29daf046d0af8fea2941d6c8a4c7be929a","user":{"login":"google","id":1342004,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNDIwMDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","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":24650146,"node_id":"MDEwOlJlcG9zaXRvcnkyNDY1MDE0Ng==","name":"open-location-code","full_name":"google/open-location-code","owner":{"login":"google","id":1342004,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNDIwMDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","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/open-location-code","description":"Open Location Code is a library to generate short codes that can be used like street addresses, for places where street addresses don't exist.","fork":false,"url":"https://api.github.com/repos/google/open-location-code","forks_url":"https://api.github.com/repos/google/open-location-code/forks","keys_url":"https://api.github.com/repos/google/open-location-code/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/open-location-code/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/open-location-code/teams","hooks_url":"https://api.github.com/repos/google/open-location-code/hooks","issue_events_url":"https://api.github.com/repos/google/open-location-code/issues/events{/number}","events_url":"https://api.github.com/repos/google/open-location-code/events","assignees_url":"https://api.github.com/repos/google/open-location-code/assignees{/user}","branches_url":"https://api.github.com/repos/google/open-location-code/branches{/branch}","tags_url":"https://api.github.com/repos/google/open-location-code/tags","blobs_url":"https://api.github.com/repos/google/open-location-code/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/open-location-code/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/open-location-code/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/open-location-code/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/open-location-code/statuses/{sha}","languages_url":"https://api.github.com/repos/google/open-location-code/languages","stargazers_url":"https://api.github.com/repos/google/open-location-code/stargazers","contributors_url":"https://api.github.com/repos/google/open-location-code/contributors","subscribers_url":"https://api.github.com/repos/google/open-location-code/subscribers","subscription_url":"https://api.github.com/repos/google/open-location-code/subscription","commits_url":"https://api.github.com/repos/google/open-location-code/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/open-location-code/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/open-location-code/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/open-location-code/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/open-location-code/contents/{+path}","compare_url":"https://api.github.com/repos/google/open-location-code/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/open-location-code/merges","archive_url":"https://api.github.com/repos/google/open-location-code/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/open-location-code/downloads","issues_url":"https://api.github.com/repos/google/open-location-code/issues{/number}","pulls_url":"https://api.github.com/repos/google/open-location-code/pulls{/number}","milestones_url":"https://api.github.com/repos/google/open-location-code/milestones{/number}","notifications_url":"https://api.github.com/repos/google/open-location-code/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/open-location-code/labels{/name}","releases_url":"https://api.github.com/repos/google/open-location-code/releases{/id}","deployments_url":"https://api.github.com/repos/google/open-location-code/deployments","created_at":"2014-09-30T18:26:35Z","updated_at":"2018-05-31T07:13:25Z","pushed_at":"2018-05-31T07:13:23Z","git_url":"git://github.com/google/open-location-code.git","ssh_url":"git@github.com:google/open-location-code.git","clone_url":"https://github.com/google/open-location-code.git","svn_url":"https://github.com/google/open-location-code","homepage":"http://www.openlocationcode.com","size":3862,"stargazers_count":1297,"watchers_count":1297,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":178,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":178,"open_issues":15,"watchers":1297,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/open-location-code/pulls/158"},"html":{"href":"https://github.com/google/open-location-code/pull/158"},"issue":{"href":"https://api.github.com/repos/google/open-location-code/issues/158"},"comments":{"href":"https://api.github.com/repos/google/open-location-code/issues/158/comments"},"review_comments":{"href":"https://api.github.com/repos/google/open-location-code/pulls/158/comments"},"review_comment":{"href":"https://api.github.com/repos/google/open-location-code/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/open-location-code/pulls/158/commits"},"statuses":{"href":"https://api.github.com/repos/google/open-location-code/statuses/803cdd5aa5486e7ca20b45954ecab2f82a171747"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"zongweil"}}