{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/awoods/fcrepo4/pulls/5","id":62688513,"html_url":"https://github.com/awoods/fcrepo4/pull/5","diff_url":"https://github.com/awoods/fcrepo4/pull/5.diff","patch_url":"https://github.com/awoods/fcrepo4/pull/5.patch","issue_url":"https://api.github.com/repos/awoods/fcrepo4/issues/5","number":5,"state":"open","locked":false,"title":"make use of Streams instead of VersionIterator","user":{"login":"acoburn","id":1265883,"avatar_url":"https://avatars.githubusercontent.com/u/1265883?v=3","gravatar_id":"","url":"https://api.github.com/users/acoburn","html_url":"https://github.com/acoburn","followers_url":"https://api.github.com/users/acoburn/followers","following_url":"https://api.github.com/users/acoburn/following{/other_user}","gists_url":"https://api.github.com/users/acoburn/gists{/gist_id}","starred_url":"https://api.github.com/users/acoburn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acoburn/subscriptions","organizations_url":"https://api.github.com/users/acoburn/orgs","repos_url":"https://api.github.com/users/acoburn/repos","events_url":"https://api.github.com/users/acoburn/events{/privacy}","received_events_url":"https://api.github.com/users/acoburn/received_events","type":"User","site_admin":false},"body":"As @ajs6f suggested, this makes use of a more Stream-based approach.","created_at":"2016-03-14T00:03:02Z","updated_at":"2016-03-14T00:03:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/awoods/fcrepo4/pulls/5/commits","review_comments_url":"https://api.github.com/repos/awoods/fcrepo4/pulls/5/comments","review_comment_url":"https://api.github.com/repos/awoods/fcrepo4/pulls/comments{/number}","comments_url":"https://api.github.com/repos/awoods/fcrepo4/issues/5/comments","statuses_url":"https://api.github.com/repos/awoods/fcrepo4/statuses/15a6bd4d191c97db183f02c2caa4c05e78eaec8a","head":{"label":"acoburn:fcrepo-1942","ref":"fcrepo-1942","sha":"15a6bd4d191c97db183f02c2caa4c05e78eaec8a","user":{"login":"acoburn","id":1265883,"avatar_url":"https://avatars.githubusercontent.com/u/1265883?v=3","gravatar_id":"","url":"https://api.github.com/users/acoburn","html_url":"https://github.com/acoburn","followers_url":"https://api.github.com/users/acoburn/followers","following_url":"https://api.github.com/users/acoburn/following{/other_user}","gists_url":"https://api.github.com/users/acoburn/gists{/gist_id}","starred_url":"https://api.github.com/users/acoburn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acoburn/subscriptions","organizations_url":"https://api.github.com/users/acoburn/orgs","repos_url":"https://api.github.com/users/acoburn/repos","events_url":"https://api.github.com/users/acoburn/events{/privacy}","received_events_url":"https://api.github.com/users/acoburn/received_events","type":"User","site_admin":false},"repo":{"id":25535833,"name":"fcrepo4","full_name":"acoburn/fcrepo4","owner":{"login":"acoburn","id":1265883,"avatar_url":"https://avatars.githubusercontent.com/u/1265883?v=3","gravatar_id":"","url":"https://api.github.com/users/acoburn","html_url":"https://github.com/acoburn","followers_url":"https://api.github.com/users/acoburn/followers","following_url":"https://api.github.com/users/acoburn/following{/other_user}","gists_url":"https://api.github.com/users/acoburn/gists{/gist_id}","starred_url":"https://api.github.com/users/acoburn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acoburn/subscriptions","organizations_url":"https://api.github.com/users/acoburn/orgs","repos_url":"https://api.github.com/users/acoburn/repos","events_url":"https://api.github.com/users/acoburn/events{/privacy}","received_events_url":"https://api.github.com/users/acoburn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/acoburn/fcrepo4","description":"Fedora 4","fork":true,"url":"https://api.github.com/repos/acoburn/fcrepo4","forks_url":"https://api.github.com/repos/acoburn/fcrepo4/forks","keys_url":"https://api.github.com/repos/acoburn/fcrepo4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acoburn/fcrepo4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acoburn/fcrepo4/teams","hooks_url":"https://api.github.com/repos/acoburn/fcrepo4/hooks","issue_events_url":"https://api.github.com/repos/acoburn/fcrepo4/issues/events{/number}","events_url":"https://api.github.com/repos/acoburn/fcrepo4/events","assignees_url":"https://api.github.com/repos/acoburn/fcrepo4/assignees{/user}","branches_url":"https://api.github.com/repos/acoburn/fcrepo4/branches{/branch}","tags_url":"https://api.github.com/repos/acoburn/fcrepo4/tags","blobs_url":"https://api.github.com/repos/acoburn/fcrepo4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acoburn/fcrepo4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acoburn/fcrepo4/git/refs{/sha}","trees_url":"https://api.github.com/repos/acoburn/fcrepo4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acoburn/fcrepo4/statuses/{sha}","languages_url":"https://api.github.com/repos/acoburn/fcrepo4/languages","stargazers_url":"https://api.github.com/repos/acoburn/fcrepo4/stargazers","contributors_url":"https://api.github.com/repos/acoburn/fcrepo4/contributors","subscribers_url":"https://api.github.com/repos/acoburn/fcrepo4/subscribers","subscription_url":"https://api.github.com/repos/acoburn/fcrepo4/subscription","commits_url":"https://api.github.com/repos/acoburn/fcrepo4/commits{/sha}","git_commits_url":"https://api.github.com/repos/acoburn/fcrepo4/git/commits{/sha}","comments_url":"https://api.github.com/repos/acoburn/fcrepo4/comments{/number}","issue_comment_url":"https://api.github.com/repos/acoburn/fcrepo4/issues/comments{/number}","contents_url":"https://api.github.com/repos/acoburn/fcrepo4/contents/{+path}","compare_url":"https://api.github.com/repos/acoburn/fcrepo4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acoburn/fcrepo4/merges","archive_url":"https://api.github.com/repos/acoburn/fcrepo4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acoburn/fcrepo4/downloads","issues_url":"https://api.github.com/repos/acoburn/fcrepo4/issues{/number}","pulls_url":"https://api.github.com/repos/acoburn/fcrepo4/pulls{/number}","milestones_url":"https://api.github.com/repos/acoburn/fcrepo4/milestones{/number}","notifications_url":"https://api.github.com/repos/acoburn/fcrepo4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acoburn/fcrepo4/labels{/name}","releases_url":"https://api.github.com/repos/acoburn/fcrepo4/releases{/id}","deployments_url":"https://api.github.com/repos/acoburn/fcrepo4/deployments","created_at":"2014-10-21T17:27:47Z","updated_at":"2015-04-26T01:03:39Z","pushed_at":"2016-03-13T23:59:26Z","git_url":"git://github.com/acoburn/fcrepo4.git","ssh_url":"git@github.com:acoburn/fcrepo4.git","clone_url":"https://github.com/acoburn/fcrepo4.git","svn_url":"https://github.com/acoburn/fcrepo4","homepage":"http://github.com/fcrepo4/fcrepo4","size":13965,"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":"awoods:fcrepo-1942","ref":"fcrepo-1942","sha":"550d3f683f45e841368025b9a27b41b6dab4f3cf","user":{"login":"awoods","id":149283,"avatar_url":"https://avatars.githubusercontent.com/u/149283?v=3","gravatar_id":"","url":"https://api.github.com/users/awoods","html_url":"https://github.com/awoods","followers_url":"https://api.github.com/users/awoods/followers","following_url":"https://api.github.com/users/awoods/following{/other_user}","gists_url":"https://api.github.com/users/awoods/gists{/gist_id}","starred_url":"https://api.github.com/users/awoods/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awoods/subscriptions","organizations_url":"https://api.github.com/users/awoods/orgs","repos_url":"https://api.github.com/users/awoods/repos","events_url":"https://api.github.com/users/awoods/events{/privacy}","received_events_url":"https://api.github.com/users/awoods/received_events","type":"User","site_admin":false},"repo":{"id":16359093,"name":"fcrepo4","full_name":"awoods/fcrepo4","owner":{"login":"awoods","id":149283,"avatar_url":"https://avatars.githubusercontent.com/u/149283?v=3","gravatar_id":"","url":"https://api.github.com/users/awoods","html_url":"https://github.com/awoods","followers_url":"https://api.github.com/users/awoods/followers","following_url":"https://api.github.com/users/awoods/following{/other_user}","gists_url":"https://api.github.com/users/awoods/gists{/gist_id}","starred_url":"https://api.github.com/users/awoods/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awoods/subscriptions","organizations_url":"https://api.github.com/users/awoods/orgs","repos_url":"https://api.github.com/users/awoods/repos","events_url":"https://api.github.com/users/awoods/events{/privacy}","received_events_url":"https://api.github.com/users/awoods/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/awoods/fcrepo4","description":"Fedora 4: \"Changing everything, two weeks at a time\"","fork":true,"url":"https://api.github.com/repos/awoods/fcrepo4","forks_url":"https://api.github.com/repos/awoods/fcrepo4/forks","keys_url":"https://api.github.com/repos/awoods/fcrepo4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/awoods/fcrepo4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/awoods/fcrepo4/teams","hooks_url":"https://api.github.com/repos/awoods/fcrepo4/hooks","issue_events_url":"https://api.github.com/repos/awoods/fcrepo4/issues/events{/number}","events_url":"https://api.github.com/repos/awoods/fcrepo4/events","assignees_url":"https://api.github.com/repos/awoods/fcrepo4/assignees{/user}","branches_url":"https://api.github.com/repos/awoods/fcrepo4/branches{/branch}","tags_url":"https://api.github.com/repos/awoods/fcrepo4/tags","blobs_url":"https://api.github.com/repos/awoods/fcrepo4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/awoods/fcrepo4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/awoods/fcrepo4/git/refs{/sha}","trees_url":"https://api.github.com/repos/awoods/fcrepo4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/awoods/fcrepo4/statuses/{sha}","languages_url":"https://api.github.com/repos/awoods/fcrepo4/languages","stargazers_url":"https://api.github.com/repos/awoods/fcrepo4/stargazers","contributors_url":"https://api.github.com/repos/awoods/fcrepo4/contributors","subscribers_url":"https://api.github.com/repos/awoods/fcrepo4/subscribers","subscription_url":"https://api.github.com/repos/awoods/fcrepo4/subscription","commits_url":"https://api.github.com/repos/awoods/fcrepo4/commits{/sha}","git_commits_url":"https://api.github.com/repos/awoods/fcrepo4/git/commits{/sha}","comments_url":"https://api.github.com/repos/awoods/fcrepo4/comments{/number}","issue_comment_url":"https://api.github.com/repos/awoods/fcrepo4/issues/comments{/number}","contents_url":"https://api.github.com/repos/awoods/fcrepo4/contents/{+path}","compare_url":"https://api.github.com/repos/awoods/fcrepo4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/awoods/fcrepo4/merges","archive_url":"https://api.github.com/repos/awoods/fcrepo4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/awoods/fcrepo4/downloads","issues_url":"https://api.github.com/repos/awoods/fcrepo4/issues{/number}","pulls_url":"https://api.github.com/repos/awoods/fcrepo4/pulls{/number}","milestones_url":"https://api.github.com/repos/awoods/fcrepo4/milestones{/number}","notifications_url":"https://api.github.com/repos/awoods/fcrepo4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/awoods/fcrepo4/labels{/name}","releases_url":"https://api.github.com/repos/awoods/fcrepo4/releases{/id}","deployments_url":"https://api.github.com/repos/awoods/fcrepo4/deployments","created_at":"2014-01-29T21:07:10Z","updated_at":"2015-04-16T20:30:47Z","pushed_at":"2016-03-13T22:28:52Z","git_url":"git://github.com/awoods/fcrepo4.git","ssh_url":"git@github.com:awoods/fcrepo4.git","clone_url":"https://github.com/awoods/fcrepo4.git","svn_url":"https://github.com/awoods/fcrepo4","homepage":"http://futures.github.com/fcrepo4/","size":45191,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/awoods/fcrepo4/pulls/5"},"html":{"href":"https://github.com/awoods/fcrepo4/pull/5"},"issue":{"href":"https://api.github.com/repos/awoods/fcrepo4/issues/5"},"comments":{"href":"https://api.github.com/repos/awoods/fcrepo4/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/awoods/fcrepo4/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/awoods/fcrepo4/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/awoods/fcrepo4/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/awoods/fcrepo4/statuses/15a6bd4d191c97db183f02c2caa4c05e78eaec8a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":16,"changed_files":1}}