{"action":"closed","number":311,"pull_request":{"url":"https://api.github.com/repos/cbeust/jcommander/pulls/311","id":99483521,"html_url":"https://github.com/cbeust/jcommander/pull/311","diff_url":"https://github.com/cbeust/jcommander/pull/311.diff","patch_url":"https://github.com/cbeust/jcommander/pull/311.patch","issue_url":"https://api.github.com/repos/cbeust/jcommander/issues/311","number":311,"state":"closed","locked":false,"title":"Allow empty string as part of main parameter #306 ","user":{"login":"jeremysolarz","id":213918,"avatar_url":"https://avatars.githubusercontent.com/u/213918?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremysolarz","html_url":"https://github.com/jeremysolarz","followers_url":"https://api.github.com/users/jeremysolarz/followers","following_url":"https://api.github.com/users/jeremysolarz/following{/other_user}","gists_url":"https://api.github.com/users/jeremysolarz/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremysolarz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremysolarz/subscriptions","organizations_url":"https://api.github.com/users/jeremysolarz/orgs","repos_url":"https://api.github.com/users/jeremysolarz/repos","events_url":"https://api.github.com/users/jeremysolarz/events{/privacy}","received_events_url":"https://api.github.com/users/jeremysolarz/received_events","type":"User","site_admin":false},"body":"When a _Main parameter_\r\n```\r\n@Parameter(description = \"Parameters\")\r\nprivate List<String> parameters = new ArrayList<>();\r\n```\r\nis defined and the program is called with an empty string as a parameter\r\n`java -jar jcommander-program.jar param1 \"\"`  \r\nwith the current implementation the parameter is removed.\r\n\r\nThe PR changes this.\r\n@cbeust I am not sure why the empty string test was there in the beginning.\r\nIf there was a reason please tell and I will amend this PR accordingly.","created_at":"2016-12-27T21:05:59Z","updated_at":"2016-12-28T15:54:49Z","closed_at":"2016-12-28T15:54:49Z","merged_at":"2016-12-28T15:54:49Z","merge_commit_sha":"5eae55a0b0a2e727ecc779d116bf37f3204d7aa9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cbeust/jcommander/pulls/311/commits","review_comments_url":"https://api.github.com/repos/cbeust/jcommander/pulls/311/comments","review_comment_url":"https://api.github.com/repos/cbeust/jcommander/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cbeust/jcommander/issues/311/comments","statuses_url":"https://api.github.com/repos/cbeust/jcommander/statuses/7becebc5f9e372a2bdc426ee3349a46cf7ac786b","head":{"label":"jeremysolarz:issue-306-empty-string-as-parameter","ref":"issue-306-empty-string-as-parameter","sha":"7becebc5f9e372a2bdc426ee3349a46cf7ac786b","user":{"login":"jeremysolarz","id":213918,"avatar_url":"https://avatars.githubusercontent.com/u/213918?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremysolarz","html_url":"https://github.com/jeremysolarz","followers_url":"https://api.github.com/users/jeremysolarz/followers","following_url":"https://api.github.com/users/jeremysolarz/following{/other_user}","gists_url":"https://api.github.com/users/jeremysolarz/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremysolarz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremysolarz/subscriptions","organizations_url":"https://api.github.com/users/jeremysolarz/orgs","repos_url":"https://api.github.com/users/jeremysolarz/repos","events_url":"https://api.github.com/users/jeremysolarz/events{/privacy}","received_events_url":"https://api.github.com/users/jeremysolarz/received_events","type":"User","site_admin":false},"repo":{"id":67410281,"name":"jcommander","full_name":"jeremysolarz/jcommander","owner":{"login":"jeremysolarz","id":213918,"avatar_url":"https://avatars.githubusercontent.com/u/213918?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremysolarz","html_url":"https://github.com/jeremysolarz","followers_url":"https://api.github.com/users/jeremysolarz/followers","following_url":"https://api.github.com/users/jeremysolarz/following{/other_user}","gists_url":"https://api.github.com/users/jeremysolarz/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremysolarz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremysolarz/subscriptions","organizations_url":"https://api.github.com/users/jeremysolarz/orgs","repos_url":"https://api.github.com/users/jeremysolarz/repos","events_url":"https://api.github.com/users/jeremysolarz/events{/privacy}","received_events_url":"https://api.github.com/users/jeremysolarz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeremysolarz/jcommander","description":"Command line parsing framework for Java","fork":true,"url":"https://api.github.com/repos/jeremysolarz/jcommander","forks_url":"https://api.github.com/repos/jeremysolarz/jcommander/forks","keys_url":"https://api.github.com/repos/jeremysolarz/jcommander/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeremysolarz/jcommander/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeremysolarz/jcommander/teams","hooks_url":"https://api.github.com/repos/jeremysolarz/jcommander/hooks","issue_events_url":"https://api.github.com/repos/jeremysolarz/jcommander/issues/events{/number}","events_url":"https://api.github.com/repos/jeremysolarz/jcommander/events","assignees_url":"https://api.github.com/repos/jeremysolarz/jcommander/assignees{/user}","branches_url":"https://api.github.com/repos/jeremysolarz/jcommander/branches{/branch}","tags_url":"https://api.github.com/repos/jeremysolarz/jcommander/tags","blobs_url":"https://api.github.com/repos/jeremysolarz/jcommander/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeremysolarz/jcommander/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeremysolarz/jcommander/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeremysolarz/jcommander/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeremysolarz/jcommander/statuses/{sha}","languages_url":"https://api.github.com/repos/jeremysolarz/jcommander/languages","stargazers_url":"https://api.github.com/repos/jeremysolarz/jcommander/stargazers","contributors_url":"https://api.github.com/repos/jeremysolarz/jcommander/contributors","subscribers_url":"https://api.github.com/repos/jeremysolarz/jcommander/subscribers","subscription_url":"https://api.github.com/repos/jeremysolarz/jcommander/subscription","commits_url":"https://api.github.com/repos/jeremysolarz/jcommander/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeremysolarz/jcommander/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeremysolarz/jcommander/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeremysolarz/jcommander/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeremysolarz/jcommander/contents/{+path}","compare_url":"https://api.github.com/repos/jeremysolarz/jcommander/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeremysolarz/jcommander/merges","archive_url":"https://api.github.com/repos/jeremysolarz/jcommander/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeremysolarz/jcommander/downloads","issues_url":"https://api.github.com/repos/jeremysolarz/jcommander/issues{/number}","pulls_url":"https://api.github.com/repos/jeremysolarz/jcommander/pulls{/number}","milestones_url":"https://api.github.com/repos/jeremysolarz/jcommander/milestones{/number}","notifications_url":"https://api.github.com/repos/jeremysolarz/jcommander/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeremysolarz/jcommander/labels{/name}","releases_url":"https://api.github.com/repos/jeremysolarz/jcommander/releases{/id}","deployments_url":"https://api.github.com/repos/jeremysolarz/jcommander/deployments","created_at":"2016-09-05T10:08:09Z","updated_at":"2016-12-13T21:55:29Z","pushed_at":"2016-12-28T08:13:30Z","git_url":"git://github.com/jeremysolarz/jcommander.git","ssh_url":"git@github.com:jeremysolarz/jcommander.git","clone_url":"https://github.com/jeremysolarz/jcommander.git","svn_url":"https://github.com/jeremysolarz/jcommander","homepage":"","size":23701,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"cbeust:master","ref":"master","sha":"6e520f74fa7c03c1d86e51518b26e4b67f53fb5a","user":{"login":"cbeust","id":92322,"avatar_url":"https://avatars.githubusercontent.com/u/92322?v=3","gravatar_id":"","url":"https://api.github.com/users/cbeust","html_url":"https://github.com/cbeust","followers_url":"https://api.github.com/users/cbeust/followers","following_url":"https://api.github.com/users/cbeust/following{/other_user}","gists_url":"https://api.github.com/users/cbeust/gists{/gist_id}","starred_url":"https://api.github.com/users/cbeust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbeust/subscriptions","organizations_url":"https://api.github.com/users/cbeust/orgs","repos_url":"https://api.github.com/users/cbeust/repos","events_url":"https://api.github.com/users/cbeust/events{/privacy}","received_events_url":"https://api.github.com/users/cbeust/received_events","type":"User","site_admin":false},"repo":{"id":771886,"name":"jcommander","full_name":"cbeust/jcommander","owner":{"login":"cbeust","id":92322,"avatar_url":"https://avatars.githubusercontent.com/u/92322?v=3","gravatar_id":"","url":"https://api.github.com/users/cbeust","html_url":"https://github.com/cbeust","followers_url":"https://api.github.com/users/cbeust/followers","following_url":"https://api.github.com/users/cbeust/following{/other_user}","gists_url":"https://api.github.com/users/cbeust/gists{/gist_id}","starred_url":"https://api.github.com/users/cbeust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbeust/subscriptions","organizations_url":"https://api.github.com/users/cbeust/orgs","repos_url":"https://api.github.com/users/cbeust/repos","events_url":"https://api.github.com/users/cbeust/events{/privacy}","received_events_url":"https://api.github.com/users/cbeust/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cbeust/jcommander","description":"Command line parsing framework for Java","fork":false,"url":"https://api.github.com/repos/cbeust/jcommander","forks_url":"https://api.github.com/repos/cbeust/jcommander/forks","keys_url":"https://api.github.com/repos/cbeust/jcommander/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbeust/jcommander/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbeust/jcommander/teams","hooks_url":"https://api.github.com/repos/cbeust/jcommander/hooks","issue_events_url":"https://api.github.com/repos/cbeust/jcommander/issues/events{/number}","events_url":"https://api.github.com/repos/cbeust/jcommander/events","assignees_url":"https://api.github.com/repos/cbeust/jcommander/assignees{/user}","branches_url":"https://api.github.com/repos/cbeust/jcommander/branches{/branch}","tags_url":"https://api.github.com/repos/cbeust/jcommander/tags","blobs_url":"https://api.github.com/repos/cbeust/jcommander/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbeust/jcommander/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbeust/jcommander/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbeust/jcommander/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbeust/jcommander/statuses/{sha}","languages_url":"https://api.github.com/repos/cbeust/jcommander/languages","stargazers_url":"https://api.github.com/repos/cbeust/jcommander/stargazers","contributors_url":"https://api.github.com/repos/cbeust/jcommander/contributors","subscribers_url":"https://api.github.com/repos/cbeust/jcommander/subscribers","subscription_url":"https://api.github.com/repos/cbeust/jcommander/subscription","commits_url":"https://api.github.com/repos/cbeust/jcommander/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbeust/jcommander/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbeust/jcommander/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbeust/jcommander/issues/comments{/number}","contents_url":"https://api.github.com/repos/cbeust/jcommander/contents/{+path}","compare_url":"https://api.github.com/repos/cbeust/jcommander/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbeust/jcommander/merges","archive_url":"https://api.github.com/repos/cbeust/jcommander/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbeust/jcommander/downloads","issues_url":"https://api.github.com/repos/cbeust/jcommander/issues{/number}","pulls_url":"https://api.github.com/repos/cbeust/jcommander/pulls{/number}","milestones_url":"https://api.github.com/repos/cbeust/jcommander/milestones{/number}","notifications_url":"https://api.github.com/repos/cbeust/jcommander/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbeust/jcommander/labels{/name}","releases_url":"https://api.github.com/repos/cbeust/jcommander/releases{/id}","deployments_url":"https://api.github.com/repos/cbeust/jcommander/deployments","created_at":"2010-07-13T05:40:31Z","updated_at":"2016-12-20T22:51:58Z","pushed_at":"2016-12-28T15:54:49Z","git_url":"git://github.com/cbeust/jcommander.git","ssh_url":"git@github.com:cbeust/jcommander.git","clone_url":"https://github.com/cbeust/jcommander.git","svn_url":"https://github.com/cbeust/jcommander","homepage":"","size":23685,"stargazers_count":756,"watchers_count":756,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":180,"mirror_url":null,"open_issues_count":95,"forks":180,"open_issues":95,"watchers":756,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cbeust/jcommander/pulls/311"},"html":{"href":"https://github.com/cbeust/jcommander/pull/311"},"issue":{"href":"https://api.github.com/repos/cbeust/jcommander/issues/311"},"comments":{"href":"https://api.github.com/repos/cbeust/jcommander/issues/311/comments"},"review_comments":{"href":"https://api.github.com/repos/cbeust/jcommander/pulls/311/comments"},"review_comment":{"href":"https://api.github.com/repos/cbeust/jcommander/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cbeust/jcommander/pulls/311/commits"},"statuses":{"href":"https://api.github.com/repos/cbeust/jcommander/statuses/7becebc5f9e372a2bdc426ee3349a46cf7ac786b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"cbeust","id":92322,"avatar_url":"https://avatars.githubusercontent.com/u/92322?v=3","gravatar_id":"","url":"https://api.github.com/users/cbeust","html_url":"https://github.com/cbeust","followers_url":"https://api.github.com/users/cbeust/followers","following_url":"https://api.github.com/users/cbeust/following{/other_user}","gists_url":"https://api.github.com/users/cbeust/gists{/gist_id}","starred_url":"https://api.github.com/users/cbeust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbeust/subscriptions","organizations_url":"https://api.github.com/users/cbeust/orgs","repos_url":"https://api.github.com/users/cbeust/repos","events_url":"https://api.github.com/users/cbeust/events{/privacy}","received_events_url":"https://api.github.com/users/cbeust/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":5,"additions":1379,"deletions":1352,"changed_files":3}}
{"actor":{"display_login":"cbeust"}}