{"action":"created","comment":{"url":"https://api.github.com/repos/scijava/scijava-common/pulls/comments/74637818","id":74637818,"diff_hunk":"@@ -212,9 +213,9 @@ public boolean isHeadless() {\n \n \t@Override\n \tpublic UserInterface getDefaultUI() {\n+\t\tif (isHeadless()) return null;","path":"src/main/java/org/scijava/ui/DefaultUIService.java","position":21,"original_position":21,"commit_id":"40c8085355a17e3afdf78ef5455af7cdac12cfb1","original_commit_id":"40c8085355a17e3afdf78ef5455af7cdac12cfb1","user":{"login":"ctrueden","id":556626,"avatar_url":"https://avatars.githubusercontent.com/u/556626?v=3","gravatar_id":"","url":"https://api.github.com/users/ctrueden","html_url":"https://github.com/ctrueden","followers_url":"https://api.github.com/users/ctrueden/followers","following_url":"https://api.github.com/users/ctrueden/following{/other_user}","gists_url":"https://api.github.com/users/ctrueden/gists{/gist_id}","starred_url":"https://api.github.com/users/ctrueden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctrueden/subscriptions","organizations_url":"https://api.github.com/users/ctrueden/orgs","repos_url":"https://api.github.com/users/ctrueden/repos","events_url":"https://api.github.com/users/ctrueden/events{/privacy}","received_events_url":"https://api.github.com/users/ctrueden/received_events","type":"User","site_admin":false},"body":"I really like this. It makes total sense to return `null` in a headless context. And if downstream code can't deal with it—tough. 😝 ","created_at":"2016-08-12T18:24:11Z","updated_at":"2016-08-12T18:24:11Z","html_url":"https://github.com/scijava/scijava-common/pull/245#discussion_r74637818","pull_request_url":"https://api.github.com/repos/scijava/scijava-common/pulls/245","_links":{"self":{"href":"https://api.github.com/repos/scijava/scijava-common/pulls/comments/74637818"},"html":{"href":"https://github.com/scijava/scijava-common/pull/245#discussion_r74637818"},"pull_request":{"href":"https://api.github.com/repos/scijava/scijava-common/pulls/245"}}},"pull_request":{"url":"https://api.github.com/repos/scijava/scijava-common/pulls/245","id":81136938,"html_url":"https://github.com/scijava/scijava-common/pull/245","diff_url":"https://github.com/scijava/scijava-common/pull/245.diff","patch_url":"https://github.com/scijava/scijava-common/pull/245.patch","issue_url":"https://api.github.com/repos/scijava/scijava-common/issues/245","number":245,"state":"open","locked":false,"title":"Fix headless UI bug","user":{"login":"rimadoma","id":14994878,"avatar_url":"https://avatars.githubusercontent.com/u/14994878?v=3","gravatar_id":"","url":"https://api.github.com/users/rimadoma","html_url":"https://github.com/rimadoma","followers_url":"https://api.github.com/users/rimadoma/followers","following_url":"https://api.github.com/users/rimadoma/following{/other_user}","gists_url":"https://api.github.com/users/rimadoma/gists{/gist_id}","starred_url":"https://api.github.com/users/rimadoma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rimadoma/subscriptions","organizations_url":"https://api.github.com/users/rimadoma/orgs","repos_url":"https://api.github.com/users/rimadoma/repos","events_url":"https://api.github.com/users/rimadoma/events{/privacy}","received_events_url":"https://api.github.com/users/rimadoma/received_events","type":"User","site_admin":false},"body":"Fixed the bug where dialog would pop open even if UI was set _headless_. Sorry it took me so long to submit this bug fix.","created_at":"2016-08-12T15:22:30Z","updated_at":"2016-08-12T18:24:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"faeb00629e917f9ebfe014a14413554dfc975c3d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/scijava/scijava-common/pulls/245/commits","review_comments_url":"https://api.github.com/repos/scijava/scijava-common/pulls/245/comments","review_comment_url":"https://api.github.com/repos/scijava/scijava-common/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scijava/scijava-common/issues/245/comments","statuses_url":"https://api.github.com/repos/scijava/scijava-common/statuses/40c8085355a17e3afdf78ef5455af7cdac12cfb1","head":{"label":"bonej-org:headless-fix","ref":"headless-fix","sha":"40c8085355a17e3afdf78ef5455af7cdac12cfb1","user":{"login":"bonej-org","id":15815050,"avatar_url":"https://avatars.githubusercontent.com/u/15815050?v=3","gravatar_id":"","url":"https://api.github.com/users/bonej-org","html_url":"https://github.com/bonej-org","followers_url":"https://api.github.com/users/bonej-org/followers","following_url":"https://api.github.com/users/bonej-org/following{/other_user}","gists_url":"https://api.github.com/users/bonej-org/gists{/gist_id}","starred_url":"https://api.github.com/users/bonej-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonej-org/subscriptions","organizations_url":"https://api.github.com/users/bonej-org/orgs","repos_url":"https://api.github.com/users/bonej-org/repos","events_url":"https://api.github.com/users/bonej-org/events{/privacy}","received_events_url":"https://api.github.com/users/bonej-org/received_events","type":"Organization","site_admin":false},"repo":{"id":65455234,"name":"scijava-common","full_name":"bonej-org/scijava-common","owner":{"login":"bonej-org","id":15815050,"avatar_url":"https://avatars.githubusercontent.com/u/15815050?v=3","gravatar_id":"","url":"https://api.github.com/users/bonej-org","html_url":"https://github.com/bonej-org","followers_url":"https://api.github.com/users/bonej-org/followers","following_url":"https://api.github.com/users/bonej-org/following{/other_user}","gists_url":"https://api.github.com/users/bonej-org/gists{/gist_id}","starred_url":"https://api.github.com/users/bonej-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonej-org/subscriptions","organizations_url":"https://api.github.com/users/bonej-org/orgs","repos_url":"https://api.github.com/users/bonej-org/repos","events_url":"https://api.github.com/users/bonej-org/events{/privacy}","received_events_url":"https://api.github.com/users/bonej-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bonej-org/scijava-common","description":"A plugin framework and application container with built-in extensibility mechanism","fork":true,"url":"https://api.github.com/repos/bonej-org/scijava-common","forks_url":"https://api.github.com/repos/bonej-org/scijava-common/forks","keys_url":"https://api.github.com/repos/bonej-org/scijava-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bonej-org/scijava-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bonej-org/scijava-common/teams","hooks_url":"https://api.github.com/repos/bonej-org/scijava-common/hooks","issue_events_url":"https://api.github.com/repos/bonej-org/scijava-common/issues/events{/number}","events_url":"https://api.github.com/repos/bonej-org/scijava-common/events","assignees_url":"https://api.github.com/repos/bonej-org/scijava-common/assignees{/user}","branches_url":"https://api.github.com/repos/bonej-org/scijava-common/branches{/branch}","tags_url":"https://api.github.com/repos/bonej-org/scijava-common/tags","blobs_url":"https://api.github.com/repos/bonej-org/scijava-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bonej-org/scijava-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bonej-org/scijava-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/bonej-org/scijava-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bonej-org/scijava-common/statuses/{sha}","languages_url":"https://api.github.com/repos/bonej-org/scijava-common/languages","stargazers_url":"https://api.github.com/repos/bonej-org/scijava-common/stargazers","contributors_url":"https://api.github.com/repos/bonej-org/scijava-common/contributors","subscribers_url":"https://api.github.com/repos/bonej-org/scijava-common/subscribers","subscription_url":"https://api.github.com/repos/bonej-org/scijava-common/subscription","commits_url":"https://api.github.com/repos/bonej-org/scijava-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/bonej-org/scijava-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/bonej-org/scijava-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/bonej-org/scijava-common/issues/comments{/number}","contents_url":"https://api.github.com/repos/bonej-org/scijava-common/contents/{+path}","compare_url":"https://api.github.com/repos/bonej-org/scijava-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bonej-org/scijava-common/merges","archive_url":"https://api.github.com/repos/bonej-org/scijava-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bonej-org/scijava-common/downloads","issues_url":"https://api.github.com/repos/bonej-org/scijava-common/issues{/number}","pulls_url":"https://api.github.com/repos/bonej-org/scijava-common/pulls{/number}","milestones_url":"https://api.github.com/repos/bonej-org/scijava-common/milestones{/number}","notifications_url":"https://api.github.com/repos/bonej-org/scijava-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bonej-org/scijava-common/labels{/name}","releases_url":"https://api.github.com/repos/bonej-org/scijava-common/releases{/id}","deployments_url":"https://api.github.com/repos/bonej-org/scijava-common/deployments","created_at":"2016-08-11T09:05:23Z","updated_at":"2016-08-11T09:05:26Z","pushed_at":"2016-08-12T16:53:33Z","git_url":"git://github.com/bonej-org/scijava-common.git","ssh_url":"git@github.com:bonej-org/scijava-common.git","clone_url":"https://github.com/bonej-org/scijava-common.git","svn_url":"https://github.com/bonej-org/scijava-common","homepage":"","size":3674,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"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":"scijava:master","ref":"master","sha":"eb2ca6f908422b847a5c0a575f0f4e3e85bd4ef0","user":{"login":"scijava","id":1262770,"avatar_url":"https://avatars.githubusercontent.com/u/1262770?v=3","gravatar_id":"","url":"https://api.github.com/users/scijava","html_url":"https://github.com/scijava","followers_url":"https://api.github.com/users/scijava/followers","following_url":"https://api.github.com/users/scijava/following{/other_user}","gists_url":"https://api.github.com/users/scijava/gists{/gist_id}","starred_url":"https://api.github.com/users/scijava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scijava/subscriptions","organizations_url":"https://api.github.com/users/scijava/orgs","repos_url":"https://api.github.com/users/scijava/repos","events_url":"https://api.github.com/users/scijava/events{/privacy}","received_events_url":"https://api.github.com/users/scijava/received_events","type":"Organization","site_admin":false},"repo":{"id":3594497,"name":"scijava-common","full_name":"scijava/scijava-common","owner":{"login":"scijava","id":1262770,"avatar_url":"https://avatars.githubusercontent.com/u/1262770?v=3","gravatar_id":"","url":"https://api.github.com/users/scijava","html_url":"https://github.com/scijava","followers_url":"https://api.github.com/users/scijava/followers","following_url":"https://api.github.com/users/scijava/following{/other_user}","gists_url":"https://api.github.com/users/scijava/gists{/gist_id}","starred_url":"https://api.github.com/users/scijava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scijava/subscriptions","organizations_url":"https://api.github.com/users/scijava/orgs","repos_url":"https://api.github.com/users/scijava/repos","events_url":"https://api.github.com/users/scijava/events{/privacy}","received_events_url":"https://api.github.com/users/scijava/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scijava/scijava-common","description":"A plugin framework and application container with built-in extensibility mechanism","fork":false,"url":"https://api.github.com/repos/scijava/scijava-common","forks_url":"https://api.github.com/repos/scijava/scijava-common/forks","keys_url":"https://api.github.com/repos/scijava/scijava-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scijava/scijava-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scijava/scijava-common/teams","hooks_url":"https://api.github.com/repos/scijava/scijava-common/hooks","issue_events_url":"https://api.github.com/repos/scijava/scijava-common/issues/events{/number}","events_url":"https://api.github.com/repos/scijava/scijava-common/events","assignees_url":"https://api.github.com/repos/scijava/scijava-common/assignees{/user}","branches_url":"https://api.github.com/repos/scijava/scijava-common/branches{/branch}","tags_url":"https://api.github.com/repos/scijava/scijava-common/tags","blobs_url":"https://api.github.com/repos/scijava/scijava-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scijava/scijava-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scijava/scijava-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/scijava/scijava-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scijava/scijava-common/statuses/{sha}","languages_url":"https://api.github.com/repos/scijava/scijava-common/languages","stargazers_url":"https://api.github.com/repos/scijava/scijava-common/stargazers","contributors_url":"https://api.github.com/repos/scijava/scijava-common/contributors","subscribers_url":"https://api.github.com/repos/scijava/scijava-common/subscribers","subscription_url":"https://api.github.com/repos/scijava/scijava-common/subscription","commits_url":"https://api.github.com/repos/scijava/scijava-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/scijava/scijava-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/scijava/scijava-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/scijava/scijava-common/issues/comments{/number}","contents_url":"https://api.github.com/repos/scijava/scijava-common/contents/{+path}","compare_url":"https://api.github.com/repos/scijava/scijava-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scijava/scijava-common/merges","archive_url":"https://api.github.com/repos/scijava/scijava-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scijava/scijava-common/downloads","issues_url":"https://api.github.com/repos/scijava/scijava-common/issues{/number}","pulls_url":"https://api.github.com/repos/scijava/scijava-common/pulls{/number}","milestones_url":"https://api.github.com/repos/scijava/scijava-common/milestones{/number}","notifications_url":"https://api.github.com/repos/scijava/scijava-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scijava/scijava-common/labels{/name}","releases_url":"https://api.github.com/repos/scijava/scijava-common/releases{/id}","deployments_url":"https://api.github.com/repos/scijava/scijava-common/deployments","created_at":"2012-03-01T18:06:45Z","updated_at":"2016-07-14T16:02:02Z","pushed_at":"2016-08-12T15:22:31Z","git_url":"git://github.com/scijava/scijava-common.git","ssh_url":"git@github.com:scijava/scijava-common.git","clone_url":"https://github.com/scijava/scijava-common.git","svn_url":"https://github.com/scijava/scijava-common","homepage":"","size":5430,"stargazers_count":17,"watchers_count":17,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":98,"forks":19,"open_issues":98,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scijava/scijava-common/pulls/245"},"html":{"href":"https://github.com/scijava/scijava-common/pull/245"},"issue":{"href":"https://api.github.com/repos/scijava/scijava-common/issues/245"},"comments":{"href":"https://api.github.com/repos/scijava/scijava-common/issues/245/comments"},"review_comments":{"href":"https://api.github.com/repos/scijava/scijava-common/pulls/245/comments"},"review_comment":{"href":"https://api.github.com/repos/scijava/scijava-common/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scijava/scijava-common/pulls/245/commits"},"statuses":{"href":"https://api.github.com/repos/scijava/scijava-common/statuses/40c8085355a17e3afdf78ef5455af7cdac12cfb1"}}}}
{"actor":{"display_login":"ctrueden"}}