{"action":"created","issue":{"url":"https://api.github.com/repos/pwittchen/ReactiveBus/issues/5","repository_url":"https://api.github.com/repos/pwittchen/ReactiveBus","labels_url":"https://api.github.com/repos/pwittchen/ReactiveBus/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/pwittchen/ReactiveBus/issues/5/comments","events_url":"https://api.github.com/repos/pwittchen/ReactiveBus/issues/5/events","html_url":"https://github.com/pwittchen/ReactiveBus/pull/5","id":306674462,"number":5,"title":"Reduce overhead by casting result","user":{"login":"davidmoten","id":318187,"avatar_url":"https://avatars3.githubusercontent.com/u/318187?v=4","gravatar_id":"","url":"https://api.github.com/users/davidmoten","html_url":"https://github.com/davidmoten","followers_url":"https://api.github.com/users/davidmoten/followers","following_url":"https://api.github.com/users/davidmoten/following{/other_user}","gists_url":"https://api.github.com/users/davidmoten/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmoten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmoten/subscriptions","organizations_url":"https://api.github.com/users/davidmoten/orgs","repos_url":"https://api.github.com/users/davidmoten/repos","events_url":"https://api.github.com/users/davidmoten/events{/privacy}","received_events_url":"https://api.github.com/users/davidmoten/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-19T23:26:23Z","updated_at":"2018-03-20T09:50:54Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/pwittchen/ReactiveBus/pulls/5","html_url":"https://github.com/pwittchen/ReactiveBus/pull/5","diff_url":"https://github.com/pwittchen/ReactiveBus/pull/5.diff","patch_url":"https://github.com/pwittchen/ReactiveBus/pull/5.patch"},"body":"Library is really tiny (a testament to the power of RxJava) but I thought I'd make a PR to reduce overhead for you. \r\n\r\nBy the time the filter has occurred you know exactly what type the stream is so you can just use a cast instead."},"comment":{"url":"https://api.github.com/repos/pwittchen/ReactiveBus/issues/comments/374536764","html_url":"https://github.com/pwittchen/ReactiveBus/pull/5#issuecomment-374536764","issue_url":"https://api.github.com/repos/pwittchen/ReactiveBus/issues/5","id":374536764,"user":{"login":"pwittchen","id":695319,"avatar_url":"https://avatars2.githubusercontent.com/u/695319?v=4","gravatar_id":"","url":"https://api.github.com/users/pwittchen","html_url":"https://github.com/pwittchen","followers_url":"https://api.github.com/users/pwittchen/followers","following_url":"https://api.github.com/users/pwittchen/following{/other_user}","gists_url":"https://api.github.com/users/pwittchen/gists{/gist_id}","starred_url":"https://api.github.com/users/pwittchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwittchen/subscriptions","organizations_url":"https://api.github.com/users/pwittchen/orgs","repos_url":"https://api.github.com/users/pwittchen/repos","events_url":"https://api.github.com/users/pwittchen/events{/privacy}","received_events_url":"https://api.github.com/users/pwittchen/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T09:50:54Z","updated_at":"2018-03-20T09:50:54Z","author_association":"OWNER","body":"Hi @davidmoten!\r\n\r\nThanks for your contribution. \r\n\r\nI was also wondering if it makes sense to create such tiny library, but I decided to do that and set for myself a few goals:\r\n- learn more about RxJava and its Subjects\r\n- train programming and unit testing skills (especially in the context of RxJava)\r\n- have pluggable reactive event bus for the future Android and Java apps (it's more convenient to add dependency and use it instead of copying & pasting code all the time)\r\n\r\nTo wrap up, your change looks nice and I'm merging it."}}
{"actor":{"display_login":"pwittchen"}}