{"action":"created","comment":{"url":"https://api.github.com/repos/yegor256/netbout/pulls/comments/31591044","id":31591044,"diff_hunk":"@@ -90,16 +92,28 @@\n      * @throws IOException If fails\n      */\n     public TkApp(final Base base) throws IOException {\n-        super(TkApp.make(base));\n+        this(base, new PsEmpty());\n     }\n \n     /**\n      * Ctor.\n      * @param base Base\n+     * @param pass Last Pass to be executed\n+     * @throws IOException If fails\n+     */\n+    public TkApp(final Base base, final Pass pass) throws IOException {\n+        super(TkApp.make(base, pass));\n+    }\n+\n+    /**\n+     * Ctor.\n+     * @param base Base\n+     * @param pass Last Pass to be executed by the TkAppAuth\n      * @return Take\n      * @throws IOException If fails\n      */\n-    private static Take make(final Base base) throws IOException {\n+    private static Take make(final Base base, final Pass pass)","path":"netbout-web/src/main/java/com/netbout/rest/TkApp.java","position":36,"original_position":36,"commit_id":"a3cd3df9818515ea673674db8394ca8ac2faf646","original_commit_id":"a3cd3df9818515ea673674db8394ca8ac2faf646","user":{"login":"pinaf","id":1054771,"avatar_url":"https://avatars.githubusercontent.com/u/1054771?v=3","gravatar_id":"","url":"https://api.github.com/users/pinaf","html_url":"https://github.com/pinaf","followers_url":"https://api.github.com/users/pinaf/followers","following_url":"https://api.github.com/users/pinaf/following{/other_user}","gists_url":"https://api.github.com/users/pinaf/gists{/gist_id}","starred_url":"https://api.github.com/users/pinaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pinaf/subscriptions","organizations_url":"https://api.github.com/users/pinaf/orgs","repos_url":"https://api.github.com/users/pinaf/repos","events_url":"https://api.github.com/users/pinaf/events{/privacy}","received_events_url":"https://api.github.com/users/pinaf/received_events","type":"User","site_admin":false},"body":"@antonini instead of passing `Pass`, we could pass `Optional<Pass>` - that way we get rid of the `instanceof` below which is not good.","created_at":"2015-06-03T03:13:15Z","updated_at":"2015-06-03T03:13:15Z","html_url":"https://github.com/yegor256/netbout/pull/650#discussion_r31591044","pull_request_url":"https://api.github.com/repos/yegor256/netbout/pulls/650","_links":{"self":{"href":"https://api.github.com/repos/yegor256/netbout/pulls/comments/31591044"},"html":{"href":"https://github.com/yegor256/netbout/pull/650#discussion_r31591044"},"pull_request":{"href":"https://api.github.com/repos/yegor256/netbout/pulls/650"}}},"pull_request":{"url":"https://api.github.com/repos/yegor256/netbout/pulls/650","id":36474462,"html_url":"https://github.com/yegor256/netbout/pull/650","diff_url":"https://github.com/yegor256/netbout/pull/650.diff","patch_url":"https://github.com/yegor256/netbout/pull/650.patch","issue_url":"https://api.github.com/repos/yegor256/netbout/issues/650","number":650,"state":"open","locked":false,"title":"Fixed puzzle to execute the test that redirects an anonymous user to login page. Issue #648","user":{"login":"antonini","id":209396,"avatar_url":"https://avatars.githubusercontent.com/u/209396?v=3","gravatar_id":"","url":"https://api.github.com/users/antonini","html_url":"https://github.com/antonini","followers_url":"https://api.github.com/users/antonini/followers","following_url":"https://api.github.com/users/antonini/following{/other_user}","gists_url":"https://api.github.com/users/antonini/gists{/gist_id}","starred_url":"https://api.github.com/users/antonini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonini/subscriptions","organizations_url":"https://api.github.com/users/antonini/orgs","repos_url":"https://api.github.com/users/antonini/repos","events_url":"https://api.github.com/users/antonini/events{/privacy}","received_events_url":"https://api.github.com/users/antonini/received_events","type":"User","site_admin":false},"body":"Fixed puzzle `609-bc8eaf9f` to execute the test that redirects an anonymous user to login page. Issue #648","created_at":"2015-05-29T05:07:53Z","updated_at":"2015-06-03T03:13:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6de0eadcd5528258eafa4b9f4f77d6ae0050b9bf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yegor256/netbout/pulls/650/commits","review_comments_url":"https://api.github.com/repos/yegor256/netbout/pulls/650/comments","review_comment_url":"https://api.github.com/repos/yegor256/netbout/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yegor256/netbout/issues/650/comments","statuses_url":"https://api.github.com/repos/yegor256/netbout/statuses/a3cd3df9818515ea673674db8394ca8ac2faf646","head":{"label":"antonini:issue_648","ref":"issue_648","sha":"a3cd3df9818515ea673674db8394ca8ac2faf646","user":{"login":"antonini","id":209396,"avatar_url":"https://avatars.githubusercontent.com/u/209396?v=3","gravatar_id":"","url":"https://api.github.com/users/antonini","html_url":"https://github.com/antonini","followers_url":"https://api.github.com/users/antonini/followers","following_url":"https://api.github.com/users/antonini/following{/other_user}","gists_url":"https://api.github.com/users/antonini/gists{/gist_id}","starred_url":"https://api.github.com/users/antonini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonini/subscriptions","organizations_url":"https://api.github.com/users/antonini/orgs","repos_url":"https://api.github.com/users/antonini/repos","events_url":"https://api.github.com/users/antonini/events{/privacy}","received_events_url":"https://api.github.com/users/antonini/received_events","type":"User","site_admin":false},"repo":{"id":36434694,"name":"netbout","full_name":"antonini/netbout","owner":{"login":"antonini","id":209396,"avatar_url":"https://avatars.githubusercontent.com/u/209396?v=3","gravatar_id":"","url":"https://api.github.com/users/antonini","html_url":"https://github.com/antonini","followers_url":"https://api.github.com/users/antonini/followers","following_url":"https://api.github.com/users/antonini/following{/other_user}","gists_url":"https://api.github.com/users/antonini/gists{/gist_id}","starred_url":"https://api.github.com/users/antonini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonini/subscriptions","organizations_url":"https://api.github.com/users/antonini/orgs","repos_url":"https://api.github.com/users/antonini/repos","events_url":"https://api.github.com/users/antonini/events{/privacy}","received_events_url":"https://api.github.com/users/antonini/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/antonini/netbout","description":"Private talks made easy","fork":true,"url":"https://api.github.com/repos/antonini/netbout","forks_url":"https://api.github.com/repos/antonini/netbout/forks","keys_url":"https://api.github.com/repos/antonini/netbout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/antonini/netbout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/antonini/netbout/teams","hooks_url":"https://api.github.com/repos/antonini/netbout/hooks","issue_events_url":"https://api.github.com/repos/antonini/netbout/issues/events{/number}","events_url":"https://api.github.com/repos/antonini/netbout/events","assignees_url":"https://api.github.com/repos/antonini/netbout/assignees{/user}","branches_url":"https://api.github.com/repos/antonini/netbout/branches{/branch}","tags_url":"https://api.github.com/repos/antonini/netbout/tags","blobs_url":"https://api.github.com/repos/antonini/netbout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/antonini/netbout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/antonini/netbout/git/refs{/sha}","trees_url":"https://api.github.com/repos/antonini/netbout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/antonini/netbout/statuses/{sha}","languages_url":"https://api.github.com/repos/antonini/netbout/languages","stargazers_url":"https://api.github.com/repos/antonini/netbout/stargazers","contributors_url":"https://api.github.com/repos/antonini/netbout/contributors","subscribers_url":"https://api.github.com/repos/antonini/netbout/subscribers","subscription_url":"https://api.github.com/repos/antonini/netbout/subscription","commits_url":"https://api.github.com/repos/antonini/netbout/commits{/sha}","git_commits_url":"https://api.github.com/repos/antonini/netbout/git/commits{/sha}","comments_url":"https://api.github.com/repos/antonini/netbout/comments{/number}","issue_comment_url":"https://api.github.com/repos/antonini/netbout/issues/comments{/number}","contents_url":"https://api.github.com/repos/antonini/netbout/contents/{+path}","compare_url":"https://api.github.com/repos/antonini/netbout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/antonini/netbout/merges","archive_url":"https://api.github.com/repos/antonini/netbout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/antonini/netbout/downloads","issues_url":"https://api.github.com/repos/antonini/netbout/issues{/number}","pulls_url":"https://api.github.com/repos/antonini/netbout/pulls{/number}","milestones_url":"https://api.github.com/repos/antonini/netbout/milestones{/number}","notifications_url":"https://api.github.com/repos/antonini/netbout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/antonini/netbout/labels{/name}","releases_url":"https://api.github.com/repos/antonini/netbout/releases{/id}","created_at":"2015-05-28T11:44:16Z","updated_at":"2015-05-28T11:44:17Z","pushed_at":"2015-06-03T02:44:06Z","git_url":"git://github.com/antonini/netbout.git","ssh_url":"git@github.com:antonini/netbout.git","clone_url":"https://github.com/antonini/netbout.git","svn_url":"https://github.com/antonini/netbout","homepage":"www.netbout.com","size":17097,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"yegor256:master","ref":"master","sha":"e337efae533f6fd88d51016fb6ae97120ec166de","user":{"login":"yegor256","id":526301,"avatar_url":"https://avatars.githubusercontent.com/u/526301?v=3","gravatar_id":"","url":"https://api.github.com/users/yegor256","html_url":"https://github.com/yegor256","followers_url":"https://api.github.com/users/yegor256/followers","following_url":"https://api.github.com/users/yegor256/following{/other_user}","gists_url":"https://api.github.com/users/yegor256/gists{/gist_id}","starred_url":"https://api.github.com/users/yegor256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yegor256/subscriptions","organizations_url":"https://api.github.com/users/yegor256/orgs","repos_url":"https://api.github.com/users/yegor256/repos","events_url":"https://api.github.com/users/yegor256/events{/privacy}","received_events_url":"https://api.github.com/users/yegor256/received_events","type":"User","site_admin":false},"repo":{"id":9580819,"name":"netbout","full_name":"yegor256/netbout","owner":{"login":"yegor256","id":526301,"avatar_url":"https://avatars.githubusercontent.com/u/526301?v=3","gravatar_id":"","url":"https://api.github.com/users/yegor256","html_url":"https://github.com/yegor256","followers_url":"https://api.github.com/users/yegor256/followers","following_url":"https://api.github.com/users/yegor256/following{/other_user}","gists_url":"https://api.github.com/users/yegor256/gists{/gist_id}","starred_url":"https://api.github.com/users/yegor256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yegor256/subscriptions","organizations_url":"https://api.github.com/users/yegor256/orgs","repos_url":"https://api.github.com/users/yegor256/repos","events_url":"https://api.github.com/users/yegor256/events{/privacy}","received_events_url":"https://api.github.com/users/yegor256/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yegor256/netbout","description":"Private talks made easy","fork":false,"url":"https://api.github.com/repos/yegor256/netbout","forks_url":"https://api.github.com/repos/yegor256/netbout/forks","keys_url":"https://api.github.com/repos/yegor256/netbout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yegor256/netbout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yegor256/netbout/teams","hooks_url":"https://api.github.com/repos/yegor256/netbout/hooks","issue_events_url":"https://api.github.com/repos/yegor256/netbout/issues/events{/number}","events_url":"https://api.github.com/repos/yegor256/netbout/events","assignees_url":"https://api.github.com/repos/yegor256/netbout/assignees{/user}","branches_url":"https://api.github.com/repos/yegor256/netbout/branches{/branch}","tags_url":"https://api.github.com/repos/yegor256/netbout/tags","blobs_url":"https://api.github.com/repos/yegor256/netbout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yegor256/netbout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yegor256/netbout/git/refs{/sha}","trees_url":"https://api.github.com/repos/yegor256/netbout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yegor256/netbout/statuses/{sha}","languages_url":"https://api.github.com/repos/yegor256/netbout/languages","stargazers_url":"https://api.github.com/repos/yegor256/netbout/stargazers","contributors_url":"https://api.github.com/repos/yegor256/netbout/contributors","subscribers_url":"https://api.github.com/repos/yegor256/netbout/subscribers","subscription_url":"https://api.github.com/repos/yegor256/netbout/subscription","commits_url":"https://api.github.com/repos/yegor256/netbout/commits{/sha}","git_commits_url":"https://api.github.com/repos/yegor256/netbout/git/commits{/sha}","comments_url":"https://api.github.com/repos/yegor256/netbout/comments{/number}","issue_comment_url":"https://api.github.com/repos/yegor256/netbout/issues/comments{/number}","contents_url":"https://api.github.com/repos/yegor256/netbout/contents/{+path}","compare_url":"https://api.github.com/repos/yegor256/netbout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yegor256/netbout/merges","archive_url":"https://api.github.com/repos/yegor256/netbout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yegor256/netbout/downloads","issues_url":"https://api.github.com/repos/yegor256/netbout/issues{/number}","pulls_url":"https://api.github.com/repos/yegor256/netbout/pulls{/number}","milestones_url":"https://api.github.com/repos/yegor256/netbout/milestones{/number}","notifications_url":"https://api.github.com/repos/yegor256/netbout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yegor256/netbout/labels{/name}","releases_url":"https://api.github.com/repos/yegor256/netbout/releases{/id}","created_at":"2013-04-21T14:49:21Z","updated_at":"2015-05-30T11:17:34Z","pushed_at":"2015-06-03T02:45:10Z","git_url":"git://github.com/yegor256/netbout.git","ssh_url":"git@github.com:yegor256/netbout.git","clone_url":"https://github.com/yegor256/netbout.git","svn_url":"https://github.com/yegor256/netbout","homepage":"www.netbout.com","size":18971,"stargazers_count":10,"watchers_count":10,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"open_issues_count":50,"forks":9,"open_issues":50,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yegor256/netbout/pulls/650"},"html":{"href":"https://github.com/yegor256/netbout/pull/650"},"issue":{"href":"https://api.github.com/repos/yegor256/netbout/issues/650"},"comments":{"href":"https://api.github.com/repos/yegor256/netbout/issues/650/comments"},"review_comments":{"href":"https://api.github.com/repos/yegor256/netbout/pulls/650/comments"},"review_comment":{"href":"https://api.github.com/repos/yegor256/netbout/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yegor256/netbout/pulls/650/commits"},"statuses":{"href":"https://api.github.com/repos/yegor256/netbout/statuses/a3cd3df9818515ea673674db8394ca8ac2faf646"}}}}