{"action":"closed","number":1591,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/1591","id":30301215,"html_url":"https://github.com/jenkinsci/jenkins/pull/1591","diff_url":"https://github.com/jenkinsci/jenkins/pull/1591.diff","patch_url":"https://github.com/jenkinsci/jenkins/pull/1591.patch","issue_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/1591","number":1591,"state":"closed","locked":false,"title":"[FIXED JENKINS-27441] avoid IOOBE in getLog when called with 0","user":{"login":"vb-linetco","id":8502645,"avatar_url":"https://avatars.githubusercontent.com/u/8502645?v=3","gravatar_id":"","url":"https://api.github.com/users/vb-linetco","html_url":"https://github.com/vb-linetco","followers_url":"https://api.github.com/users/vb-linetco/followers","following_url":"https://api.github.com/users/vb-linetco/following{/other_user}","gists_url":"https://api.github.com/users/vb-linetco/gists{/gist_id}","starred_url":"https://api.github.com/users/vb-linetco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vb-linetco/subscriptions","organizations_url":"https://api.github.com/users/vb-linetco/orgs","repos_url":"https://api.github.com/users/vb-linetco/repos","events_url":"https://api.github.com/users/vb-linetco/events{/privacy}","received_events_url":"https://api.github.com/users/vb-linetco/received_events","type":"User","site_admin":false},"body":"return an empty list when called with maxLines = 0 instead\r\n","created_at":"2015-03-02T17:12:28Z","updated_at":"2015-05-04T12:56:02Z","closed_at":"2015-05-04T12:56:02Z","merged_at":"2015-05-04T12:56:02Z","merge_commit_sha":"03a81be4ab5de02b371ba8386ad39af79908ad72","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/1591/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/1591/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/1591/comments","statuses_url":"https://api.github.com/repos/jenkinsci/jenkins/statuses/75f58103d4cd39199705071d6e710da9d318cca6","head":{"label":"vb-linetco:patch-1","ref":"patch-1","sha":"75f58103d4cd39199705071d6e710da9d318cca6","user":{"login":"vb-linetco","id":8502645,"avatar_url":"https://avatars.githubusercontent.com/u/8502645?v=3","gravatar_id":"","url":"https://api.github.com/users/vb-linetco","html_url":"https://github.com/vb-linetco","followers_url":"https://api.github.com/users/vb-linetco/followers","following_url":"https://api.github.com/users/vb-linetco/following{/other_user}","gists_url":"https://api.github.com/users/vb-linetco/gists{/gist_id}","starred_url":"https://api.github.com/users/vb-linetco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vb-linetco/subscriptions","organizations_url":"https://api.github.com/users/vb-linetco/orgs","repos_url":"https://api.github.com/users/vb-linetco/repos","events_url":"https://api.github.com/users/vb-linetco/events{/privacy}","received_events_url":"https://api.github.com/users/vb-linetco/received_events","type":"User","site_admin":false},"repo":{"id":31551833,"name":"jenkins","full_name":"vb-linetco/jenkins","owner":{"login":"vb-linetco","id":8502645,"avatar_url":"https://avatars.githubusercontent.com/u/8502645?v=3","gravatar_id":"","url":"https://api.github.com/users/vb-linetco","html_url":"https://github.com/vb-linetco","followers_url":"https://api.github.com/users/vb-linetco/followers","following_url":"https://api.github.com/users/vb-linetco/following{/other_user}","gists_url":"https://api.github.com/users/vb-linetco/gists{/gist_id}","starred_url":"https://api.github.com/users/vb-linetco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vb-linetco/subscriptions","organizations_url":"https://api.github.com/users/vb-linetco/orgs","repos_url":"https://api.github.com/users/vb-linetco/repos","events_url":"https://api.github.com/users/vb-linetco/events{/privacy}","received_events_url":"https://api.github.com/users/vb-linetco/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vb-linetco/jenkins","description":"Jenkins Continuous Integration Server","fork":true,"url":"https://api.github.com/repos/vb-linetco/jenkins","forks_url":"https://api.github.com/repos/vb-linetco/jenkins/forks","keys_url":"https://api.github.com/repos/vb-linetco/jenkins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vb-linetco/jenkins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vb-linetco/jenkins/teams","hooks_url":"https://api.github.com/repos/vb-linetco/jenkins/hooks","issue_events_url":"https://api.github.com/repos/vb-linetco/jenkins/issues/events{/number}","events_url":"https://api.github.com/repos/vb-linetco/jenkins/events","assignees_url":"https://api.github.com/repos/vb-linetco/jenkins/assignees{/user}","branches_url":"https://api.github.com/repos/vb-linetco/jenkins/branches{/branch}","tags_url":"https://api.github.com/repos/vb-linetco/jenkins/tags","blobs_url":"https://api.github.com/repos/vb-linetco/jenkins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vb-linetco/jenkins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vb-linetco/jenkins/git/refs{/sha}","trees_url":"https://api.github.com/repos/vb-linetco/jenkins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vb-linetco/jenkins/statuses/{sha}","languages_url":"https://api.github.com/repos/vb-linetco/jenkins/languages","stargazers_url":"https://api.github.com/repos/vb-linetco/jenkins/stargazers","contributors_url":"https://api.github.com/repos/vb-linetco/jenkins/contributors","subscribers_url":"https://api.github.com/repos/vb-linetco/jenkins/subscribers","subscription_url":"https://api.github.com/repos/vb-linetco/jenkins/subscription","commits_url":"https://api.github.com/repos/vb-linetco/jenkins/commits{/sha}","git_commits_url":"https://api.github.com/repos/vb-linetco/jenkins/git/commits{/sha}","comments_url":"https://api.github.com/repos/vb-linetco/jenkins/comments{/number}","issue_comment_url":"https://api.github.com/repos/vb-linetco/jenkins/issues/comments{/number}","contents_url":"https://api.github.com/repos/vb-linetco/jenkins/contents/{+path}","compare_url":"https://api.github.com/repos/vb-linetco/jenkins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vb-linetco/jenkins/merges","archive_url":"https://api.github.com/repos/vb-linetco/jenkins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vb-linetco/jenkins/downloads","issues_url":"https://api.github.com/repos/vb-linetco/jenkins/issues{/number}","pulls_url":"https://api.github.com/repos/vb-linetco/jenkins/pulls{/number}","milestones_url":"https://api.github.com/repos/vb-linetco/jenkins/milestones{/number}","notifications_url":"https://api.github.com/repos/vb-linetco/jenkins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vb-linetco/jenkins/labels{/name}","releases_url":"https://api.github.com/repos/vb-linetco/jenkins/releases{/id}","created_at":"2015-03-02T17:07:12Z","updated_at":"2015-03-02T17:07:37Z","pushed_at":"2015-04-14T19:38:40Z","git_url":"git://github.com/vb-linetco/jenkins.git","ssh_url":"git@github.com:vb-linetco/jenkins.git","clone_url":"https://github.com/vb-linetco/jenkins.git","svn_url":"https://github.com/vb-linetco/jenkins","homepage":"http://jenkins-ci.org/","size":84102,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":false,"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":"jenkinsci:master","ref":"master","sha":"38c2f98f21a3e9829e7d1619ba424087e0858114","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":1103607,"name":"jenkins","full_name":"jenkinsci/jenkins","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/jenkins","description":"Jenkins Continuous Integration Server","fork":true,"url":"https://api.github.com/repos/jenkinsci/jenkins","forks_url":"https://api.github.com/repos/jenkinsci/jenkins/forks","keys_url":"https://api.github.com/repos/jenkinsci/jenkins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/jenkins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/jenkins/teams","hooks_url":"https://api.github.com/repos/jenkinsci/jenkins/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/jenkins/events","assignees_url":"https://api.github.com/repos/jenkinsci/jenkins/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/jenkins/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/jenkins/tags","blobs_url":"https://api.github.com/repos/jenkinsci/jenkins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/jenkins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/jenkins/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/jenkins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/jenkins/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/jenkins/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/jenkins/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/jenkins/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/jenkins/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/jenkins/subscription","commits_url":"https://api.github.com/repos/jenkinsci/jenkins/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/jenkins/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/jenkins/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/jenkins/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/jenkins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/jenkins/merges","archive_url":"https://api.github.com/repos/jenkinsci/jenkins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/jenkins/downloads","issues_url":"https://api.github.com/repos/jenkinsci/jenkins/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/jenkins/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/jenkins/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/jenkins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/jenkins/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/jenkins/releases{/id}","created_at":"2010-11-22T21:21:23Z","updated_at":"2015-05-04T12:37:11Z","pushed_at":"2015-05-04T12:56:02Z","git_url":"git://github.com/jenkinsci/jenkins.git","ssh_url":"git@github.com:jenkinsci/jenkins.git","clone_url":"https://github.com/jenkinsci/jenkins.git","svn_url":"https://github.com/jenkinsci/jenkins","homepage":"http://jenkins-ci.org/","size":419730,"stargazers_count":4044,"watchers_count":4044,"language":"Java","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1806,"mirror_url":null,"open_issues_count":105,"forks":1806,"open_issues":105,"watchers":4044,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/jenkins/pulls/1591"},"html":{"href":"https://github.com/jenkinsci/jenkins/pull/1591"},"issue":{"href":"https://api.github.com/repos/jenkinsci/jenkins/issues/1591"},"comments":{"href":"https://api.github.com/repos/jenkinsci/jenkins/issues/1591/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/jenkins/pulls/1591/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/jenkins/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/jenkins/pulls/1591/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/jenkins/statuses/75f58103d4cd39199705071d6e710da9d318cca6"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"oleg-nenashev","id":3000480,"avatar_url":"https://avatars.githubusercontent.com/u/3000480?v=3","gravatar_id":"","url":"https://api.github.com/users/oleg-nenashev","html_url":"https://github.com/oleg-nenashev","followers_url":"https://api.github.com/users/oleg-nenashev/followers","following_url":"https://api.github.com/users/oleg-nenashev/following{/other_user}","gists_url":"https://api.github.com/users/oleg-nenashev/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-nenashev/subscriptions","organizations_url":"https://api.github.com/users/oleg-nenashev/orgs","repos_url":"https://api.github.com/users/oleg-nenashev/repos","events_url":"https://api.github.com/users/oleg-nenashev/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-nenashev/received_events","type":"User","site_admin":false},"comments":13,"review_comments":2,"commits":1,"additions":29,"deletions":0,"changed_files":2}}