{"action":"created","comment":{"url":"https://api.github.com/repos/apache/incubator-beam/pulls/comments/77745483","id":77745483,"diff_hunk":"@@ -151,57 +173,49 @@ private static DoFnSignature parseSignature(Class<? extends DoFn> fnClass) {\n     if (params.length > 0) {\n       contextToken = fnClass.resolveType(params[0]);\n     }\n-    checkArgument(\n+    errors.checkArgument(\n         contextToken != null && contextToken.equals(processContextToken),\n-        \"%s must take a %s as its first argument\",\n-        format(m),\n+        \"Must take %s as its first argument\",","path":"sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/reflect/DoFnSignatures.java","position":null,"original_position":134,"commit_id":"d6cf59cccf6225c8476992952b877cd28bcce4fb","original_commit_id":"723ffdff636e4d73a97201ee1f9ad55b51bd2a5a","user":{"login":"jkff","id":343722,"avatar_url":"https://avatars.githubusercontent.com/u/343722?v=3","gravatar_id":"","url":"https://api.github.com/users/jkff","html_url":"https://github.com/jkff","followers_url":"https://api.github.com/users/jkff/followers","following_url":"https://api.github.com/users/jkff/following{/other_user}","gists_url":"https://api.github.com/users/jkff/gists{/gist_id}","starred_url":"https://api.github.com/users/jkff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkff/subscriptions","organizations_url":"https://api.github.com/users/jkff/orgs","repos_url":"https://api.github.com/users/jkff/repos","events_url":"https://api.github.com/users/jkff/events{/privacy}","received_events_url":"https://api.github.com/users/jkff/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2016-09-07T00:57:14Z","updated_at":"2016-09-07T00:57:14Z","html_url":"https://github.com/apache/incubator-beam/pull/926#discussion_r77745483","pull_request_url":"https://api.github.com/repos/apache/incubator-beam/pulls/926","_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/comments/77745483"},"html":{"href":"https://github.com/apache/incubator-beam/pull/926#discussion_r77745483"},"pull_request":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/926"}}},"pull_request":{"url":"https://api.github.com/repos/apache/incubator-beam/pulls/926","id":84199735,"html_url":"https://github.com/apache/incubator-beam/pull/926","diff_url":"https://github.com/apache/incubator-beam/pull/926.diff","patch_url":"https://github.com/apache/incubator-beam/pull/926.patch","issue_url":"https://api.github.com/repos/apache/incubator-beam/issues/926","number":926,"state":"open","locked":false,"title":"More changes to DoFn{Signatures,Invokers}.","user":{"login":"jkff","id":343722,"avatar_url":"https://avatars.githubusercontent.com/u/343722?v=3","gravatar_id":"","url":"https://api.github.com/users/jkff","html_url":"https://github.com/jkff","followers_url":"https://api.github.com/users/jkff/followers","following_url":"https://api.github.com/users/jkff/following{/other_user}","gists_url":"https://api.github.com/users/jkff/gists{/gist_id}","starred_url":"https://api.github.com/users/jkff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkff/subscriptions","organizations_url":"https://api.github.com/users/jkff/orgs","repos_url":"https://api.github.com/users/jkff/repos","events_url":"https://api.github.com/users/jkff/events{/privacy}","received_events_url":"https://api.github.com/users/jkff/received_events","type":"User","site_admin":false},"body":"In preparation for Splittable DoFn.\r\n* More generic code generation in DoFnInvokers:\r\n  supports methods with return values (thanks @bjchambers).\r\n* Uses AutoValue builder in DoFnSignature.\r\n* Contextual error reporting in DoFnSignatures parsing code.\r\n* Rewrote DoFnInvokers tests to use Mockito.\r\n* Changed DoFnSignatures tests to use local classes\r\n  and an \"AnonymousMethod\" class for testing analysis of\r\n  single methods.","created_at":"2016-09-06T21:28:37Z","updated_at":"2016-09-07T00:57:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9a07a3ef52043d85fd0d66e80da31d22937924da","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-beam/pulls/926/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-beam/pulls/926/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-beam/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-beam/issues/926/comments","statuses_url":"https://api.github.com/repos/apache/incubator-beam/statuses/d6cf59cccf6225c8476992952b877cd28bcce4fb","head":{"label":"jkff:do-fn-reflector","ref":"do-fn-reflector","sha":"d6cf59cccf6225c8476992952b877cd28bcce4fb","user":{"login":"jkff","id":343722,"avatar_url":"https://avatars.githubusercontent.com/u/343722?v=3","gravatar_id":"","url":"https://api.github.com/users/jkff","html_url":"https://github.com/jkff","followers_url":"https://api.github.com/users/jkff/followers","following_url":"https://api.github.com/users/jkff/following{/other_user}","gists_url":"https://api.github.com/users/jkff/gists{/gist_id}","starred_url":"https://api.github.com/users/jkff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkff/subscriptions","organizations_url":"https://api.github.com/users/jkff/orgs","repos_url":"https://api.github.com/users/jkff/repos","events_url":"https://api.github.com/users/jkff/events{/privacy}","received_events_url":"https://api.github.com/users/jkff/received_events","type":"User","site_admin":false},"repo":{"id":53902119,"name":"incubator-beam","full_name":"jkff/incubator-beam","owner":{"login":"jkff","id":343722,"avatar_url":"https://avatars.githubusercontent.com/u/343722?v=3","gravatar_id":"","url":"https://api.github.com/users/jkff","html_url":"https://github.com/jkff","followers_url":"https://api.github.com/users/jkff/followers","following_url":"https://api.github.com/users/jkff/following{/other_user}","gists_url":"https://api.github.com/users/jkff/gists{/gist_id}","starred_url":"https://api.github.com/users/jkff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkff/subscriptions","organizations_url":"https://api.github.com/users/jkff/orgs","repos_url":"https://api.github.com/users/jkff/repos","events_url":"https://api.github.com/users/jkff/events{/privacy}","received_events_url":"https://api.github.com/users/jkff/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jkff/incubator-beam","description":"Mirror of Apache Beam (Incubating)","fork":true,"url":"https://api.github.com/repos/jkff/incubator-beam","forks_url":"https://api.github.com/repos/jkff/incubator-beam/forks","keys_url":"https://api.github.com/repos/jkff/incubator-beam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jkff/incubator-beam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jkff/incubator-beam/teams","hooks_url":"https://api.github.com/repos/jkff/incubator-beam/hooks","issue_events_url":"https://api.github.com/repos/jkff/incubator-beam/issues/events{/number}","events_url":"https://api.github.com/repos/jkff/incubator-beam/events","assignees_url":"https://api.github.com/repos/jkff/incubator-beam/assignees{/user}","branches_url":"https://api.github.com/repos/jkff/incubator-beam/branches{/branch}","tags_url":"https://api.github.com/repos/jkff/incubator-beam/tags","blobs_url":"https://api.github.com/repos/jkff/incubator-beam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jkff/incubator-beam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jkff/incubator-beam/git/refs{/sha}","trees_url":"https://api.github.com/repos/jkff/incubator-beam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jkff/incubator-beam/statuses/{sha}","languages_url":"https://api.github.com/repos/jkff/incubator-beam/languages","stargazers_url":"https://api.github.com/repos/jkff/incubator-beam/stargazers","contributors_url":"https://api.github.com/repos/jkff/incubator-beam/contributors","subscribers_url":"https://api.github.com/repos/jkff/incubator-beam/subscribers","subscription_url":"https://api.github.com/repos/jkff/incubator-beam/subscription","commits_url":"https://api.github.com/repos/jkff/incubator-beam/commits{/sha}","git_commits_url":"https://api.github.com/repos/jkff/incubator-beam/git/commits{/sha}","comments_url":"https://api.github.com/repos/jkff/incubator-beam/comments{/number}","issue_comment_url":"https://api.github.com/repos/jkff/incubator-beam/issues/comments{/number}","contents_url":"https://api.github.com/repos/jkff/incubator-beam/contents/{+path}","compare_url":"https://api.github.com/repos/jkff/incubator-beam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jkff/incubator-beam/merges","archive_url":"https://api.github.com/repos/jkff/incubator-beam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jkff/incubator-beam/downloads","issues_url":"https://api.github.com/repos/jkff/incubator-beam/issues{/number}","pulls_url":"https://api.github.com/repos/jkff/incubator-beam/pulls{/number}","milestones_url":"https://api.github.com/repos/jkff/incubator-beam/milestones{/number}","notifications_url":"https://api.github.com/repos/jkff/incubator-beam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jkff/incubator-beam/labels{/name}","releases_url":"https://api.github.com/repos/jkff/incubator-beam/releases{/id}","deployments_url":"https://api.github.com/repos/jkff/incubator-beam/deployments","created_at":"2016-03-15T00:32:38Z","updated_at":"2016-03-15T00:32:41Z","pushed_at":"2016-09-07T00:56:44Z","git_url":"git://github.com/jkff/incubator-beam.git","ssh_url":"git@github.com:jkff/incubator-beam.git","clone_url":"https://github.com/jkff/incubator-beam.git","svn_url":"https://github.com/jkff/incubator-beam","homepage":null,"size":17675,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"apache:master","ref":"master","sha":"c5956318e12f24a998624fec5476240a9657e784","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":50904245,"name":"incubator-beam","full_name":"apache/incubator-beam","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/incubator-beam","description":"Mirror of Apache Beam (Incubating)","fork":false,"url":"https://api.github.com/repos/apache/incubator-beam","forks_url":"https://api.github.com/repos/apache/incubator-beam/forks","keys_url":"https://api.github.com/repos/apache/incubator-beam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-beam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-beam/teams","hooks_url":"https://api.github.com/repos/apache/incubator-beam/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-beam/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-beam/events","assignees_url":"https://api.github.com/repos/apache/incubator-beam/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-beam/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-beam/tags","blobs_url":"https://api.github.com/repos/apache/incubator-beam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-beam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-beam/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-beam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-beam/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-beam/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-beam/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-beam/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-beam/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-beam/subscription","commits_url":"https://api.github.com/repos/apache/incubator-beam/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-beam/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-beam/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-beam/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-beam/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-beam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-beam/merges","archive_url":"https://api.github.com/repos/apache/incubator-beam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-beam/downloads","issues_url":"https://api.github.com/repos/apache/incubator-beam/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-beam/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-beam/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-beam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-beam/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-beam/releases{/id}","deployments_url":"https://api.github.com/repos/apache/incubator-beam/deployments","created_at":"2016-02-02T08:00:06Z","updated_at":"2016-09-06T14:04:20Z","pushed_at":"2016-09-07T00:56:45Z","git_url":"git://github.com/apache/incubator-beam.git","ssh_url":"git@github.com:apache/incubator-beam.git","clone_url":"https://github.com/apache/incubator-beam.git","svn_url":"https://github.com/apache/incubator-beam","homepage":null,"size":27721,"stargazers_count":331,"watchers_count":331,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":205,"mirror_url":"git://git.apache.org/incubator-beam.git","open_issues_count":47,"forks":205,"open_issues":47,"watchers":331,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/926"},"html":{"href":"https://github.com/apache/incubator-beam/pull/926"},"issue":{"href":"https://api.github.com/repos/apache/incubator-beam/issues/926"},"comments":{"href":"https://api.github.com/repos/apache/incubator-beam/issues/926/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/926/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-beam/pulls/926/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-beam/statuses/d6cf59cccf6225c8476992952b877cd28bcce4fb"}}}}
{"actor":{"display_login":"jkff"}}