{"action":"created","comment":{"url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/pulls/comments/77337529","id":77337529,"diff_hunk":"@@ -63,12 +57,12 @@ public boolean test(Pokemon testPokemon) {\n \t * @return the pokemon by pokemon id\n \t */\n \tpublic List<Pokemon> getPokemonByPokemonId(final PokemonIdOuterClass.PokemonId id) {\n-\t\treturn Stream.of(pokemons).filter(new Predicate<Pokemon>() {\n-\t\t\t@Override\n-\t\t\tpublic boolean test(Pokemon pokemon) {\n-\t\t\t\treturn pokemon.getPokemonId().equals(id);\n-\t\t\t}\n-\t\t}).collect(Collectors.<Pokemon>toList());\n+\t\tList<Pokemon> ret = new ArrayList<>();\n+\t\tfor (Pokemon p : pokemon.values()) {\n+\t\t\tif (p.getPokemonId() == id)","path":"library/src/main/java/com/pokegoapi/api/inventory/PokeBank.java","position":72,"original_position":72,"commit_id":"6639c10f15c65ab3bb65608ac854c04066d51796","original_commit_id":"6639c10f15c65ab3bb65608ac854c04066d51796","user":{"login":"PokeAlert","id":20816665,"avatar_url":"https://avatars.githubusercontent.com/u/20816665?v=3","gravatar_id":"","url":"https://api.github.com/users/PokeAlert","html_url":"https://github.com/PokeAlert","followers_url":"https://api.github.com/users/PokeAlert/followers","following_url":"https://api.github.com/users/PokeAlert/following{/other_user}","gists_url":"https://api.github.com/users/PokeAlert/gists{/gist_id}","starred_url":"https://api.github.com/users/PokeAlert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PokeAlert/subscriptions","organizations_url":"https://api.github.com/users/PokeAlert/orgs","repos_url":"https://api.github.com/users/PokeAlert/repos","events_url":"https://api.github.com/users/PokeAlert/events{/privacy}","received_events_url":"https://api.github.com/users/PokeAlert/received_events","type":"User","site_admin":false},"body":" {\r\n}","created_at":"2016-09-02T12:26:45Z","updated_at":"2016-09-02T12:26:45Z","html_url":"https://github.com/Grover-c13/PokeGOAPI-Java/pull/729#discussion_r77337529","pull_request_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/pulls/729","_links":{"self":{"href":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/pulls/comments/77337529"},"html":{"href":"https://github.com/Grover-c13/PokeGOAPI-Java/pull/729#discussion_r77337529"},"pull_request":{"href":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/pulls/729"}}},"pull_request":{"url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/pulls/729","id":83362675,"html_url":"https://github.com/Grover-c13/PokeGOAPI-Java/pull/729","diff_url":"https://github.com/Grover-c13/PokeGOAPI-Java/pull/729.diff","patch_url":"https://github.com/Grover-c13/PokeGOAPI-Java/pull/729.patch","issue_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/issues/729","number":729,"state":"open","locked":false,"title":"[WIP - WIP - WIP] Rework everything","user":{"login":"iGio90","id":2745408,"avatar_url":"https://avatars.githubusercontent.com/u/2745408?v=3","gravatar_id":"","url":"https://api.github.com/users/iGio90","html_url":"https://github.com/iGio90","followers_url":"https://api.github.com/users/iGio90/followers","following_url":"https://api.github.com/users/iGio90/following{/other_user}","gists_url":"https://api.github.com/users/iGio90/gists{/gist_id}","starred_url":"https://api.github.com/users/iGio90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iGio90/subscriptions","organizations_url":"https://api.github.com/users/iGio90/orgs","repos_url":"https://api.github.com/users/iGio90/repos","events_url":"https://api.github.com/users/iGio90/events{/privacy}","received_events_url":"https://api.github.com/users/iGio90/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-30T23:03:10Z","updated_at":"2016-09-02T12:26:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0a4067c00e60dc8d40f4e418a795395c360bcd7d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/pulls/729/commits","review_comments_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/pulls/729/comments","review_comment_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/issues/729/comments","statuses_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/statuses/6639c10f15c65ab3bb65608ac854c04066d51796","head":{"label":"PoGo-Italy:rework","ref":"rework","sha":"6639c10f15c65ab3bb65608ac854c04066d51796","user":{"login":"PoGo-Italy","id":21269125,"avatar_url":"https://avatars.githubusercontent.com/u/21269125?v=3","gravatar_id":"","url":"https://api.github.com/users/PoGo-Italy","html_url":"https://github.com/PoGo-Italy","followers_url":"https://api.github.com/users/PoGo-Italy/followers","following_url":"https://api.github.com/users/PoGo-Italy/following{/other_user}","gists_url":"https://api.github.com/users/PoGo-Italy/gists{/gist_id}","starred_url":"https://api.github.com/users/PoGo-Italy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PoGo-Italy/subscriptions","organizations_url":"https://api.github.com/users/PoGo-Italy/orgs","repos_url":"https://api.github.com/users/PoGo-Italy/repos","events_url":"https://api.github.com/users/PoGo-Italy/events{/privacy}","received_events_url":"https://api.github.com/users/PoGo-Italy/received_events","type":"Organization","site_admin":false},"repo":{"id":66679376,"name":"PokeGOAPI-Java","full_name":"PoGo-Italy/PokeGOAPI-Java","owner":{"login":"PoGo-Italy","id":21269125,"avatar_url":"https://avatars.githubusercontent.com/u/21269125?v=3","gravatar_id":"","url":"https://api.github.com/users/PoGo-Italy","html_url":"https://github.com/PoGo-Italy","followers_url":"https://api.github.com/users/PoGo-Italy/followers","following_url":"https://api.github.com/users/PoGo-Italy/following{/other_user}","gists_url":"https://api.github.com/users/PoGo-Italy/gists{/gist_id}","starred_url":"https://api.github.com/users/PoGo-Italy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PoGo-Italy/subscriptions","organizations_url":"https://api.github.com/users/PoGo-Italy/orgs","repos_url":"https://api.github.com/users/PoGo-Italy/repos","events_url":"https://api.github.com/users/PoGo-Italy/events{/privacy}","received_events_url":"https://api.github.com/users/PoGo-Italy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PoGo-Italy/PokeGOAPI-Java","description":"Pokemon Go API","fork":true,"url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java","forks_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/forks","keys_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/teams","hooks_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/hooks","issue_events_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/issues/events{/number}","events_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/events","assignees_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/assignees{/user}","branches_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/branches{/branch}","tags_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/tags","blobs_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/git/refs{/sha}","trees_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/statuses/{sha}","languages_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/languages","stargazers_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/stargazers","contributors_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/contributors","subscribers_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/subscribers","subscription_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/subscription","commits_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/commits{/sha}","git_commits_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/git/commits{/sha}","comments_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/comments{/number}","issue_comment_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/issues/comments{/number}","contents_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/contents/{+path}","compare_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/merges","archive_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/downloads","issues_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/issues{/number}","pulls_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/pulls{/number}","milestones_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/milestones{/number}","notifications_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/labels{/name}","releases_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/releases{/id}","deployments_url":"https://api.github.com/repos/PoGo-Italy/PokeGOAPI-Java/deployments","created_at":"2016-08-26T21:07:10Z","updated_at":"2016-08-26T21:07:11Z","pushed_at":"2016-09-02T10:19:29Z","git_url":"git://github.com/PoGo-Italy/PokeGOAPI-Java.git","ssh_url":"git@github.com:PoGo-Italy/PokeGOAPI-Java.git","clone_url":"https://github.com/PoGo-Italy/PokeGOAPI-Java.git","svn_url":"https://github.com/PoGo-Italy/PokeGOAPI-Java","homepage":null,"size":9915,"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":"Development"}},"base":{"label":"Grover-c13:Development","ref":"Development","sha":"6333f96f713da34e12cb9494f5e1ce461ec67d64","user":{"login":"Grover-c13","id":1520101,"avatar_url":"https://avatars.githubusercontent.com/u/1520101?v=3","gravatar_id":"","url":"https://api.github.com/users/Grover-c13","html_url":"https://github.com/Grover-c13","followers_url":"https://api.github.com/users/Grover-c13/followers","following_url":"https://api.github.com/users/Grover-c13/following{/other_user}","gists_url":"https://api.github.com/users/Grover-c13/gists{/gist_id}","starred_url":"https://api.github.com/users/Grover-c13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grover-c13/subscriptions","organizations_url":"https://api.github.com/users/Grover-c13/orgs","repos_url":"https://api.github.com/users/Grover-c13/repos","events_url":"https://api.github.com/users/Grover-c13/events{/privacy}","received_events_url":"https://api.github.com/users/Grover-c13/received_events","type":"User","site_admin":false},"repo":{"id":63499395,"name":"PokeGOAPI-Java","full_name":"Grover-c13/PokeGOAPI-Java","owner":{"login":"Grover-c13","id":1520101,"avatar_url":"https://avatars.githubusercontent.com/u/1520101?v=3","gravatar_id":"","url":"https://api.github.com/users/Grover-c13","html_url":"https://github.com/Grover-c13","followers_url":"https://api.github.com/users/Grover-c13/followers","following_url":"https://api.github.com/users/Grover-c13/following{/other_user}","gists_url":"https://api.github.com/users/Grover-c13/gists{/gist_id}","starred_url":"https://api.github.com/users/Grover-c13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grover-c13/subscriptions","organizations_url":"https://api.github.com/users/Grover-c13/orgs","repos_url":"https://api.github.com/users/Grover-c13/repos","events_url":"https://api.github.com/users/Grover-c13/events{/privacy}","received_events_url":"https://api.github.com/users/Grover-c13/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Grover-c13/PokeGOAPI-Java","description":"Pokemon Go API","fork":false,"url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java","forks_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/forks","keys_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/teams","hooks_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/hooks","issue_events_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/issues/events{/number}","events_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/events","assignees_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/assignees{/user}","branches_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/branches{/branch}","tags_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/tags","blobs_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/git/refs{/sha}","trees_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/statuses/{sha}","languages_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/languages","stargazers_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/stargazers","contributors_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/contributors","subscribers_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/subscribers","subscription_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/subscription","commits_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/commits{/sha}","git_commits_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/git/commits{/sha}","comments_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/comments{/number}","issue_comment_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/issues/comments{/number}","contents_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/contents/{+path}","compare_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/merges","archive_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/downloads","issues_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/issues{/number}","pulls_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/pulls{/number}","milestones_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/milestones{/number}","notifications_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/labels{/name}","releases_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/releases{/id}","deployments_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/deployments","created_at":"2016-07-16T19:35:42Z","updated_at":"2016-09-01T11:48:00Z","pushed_at":"2016-09-02T10:19:30Z","git_url":"git://github.com/Grover-c13/PokeGOAPI-Java.git","ssh_url":"git@github.com:Grover-c13/PokeGOAPI-Java.git","clone_url":"https://github.com/Grover-c13/PokeGOAPI-Java.git","svn_url":"https://github.com/Grover-c13/PokeGOAPI-Java","homepage":null,"size":13705,"stargazers_count":1091,"watchers_count":1091,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":388,"mirror_url":null,"open_issues_count":34,"forks":388,"open_issues":34,"watchers":1091,"default_branch":"Development"}},"_links":{"self":{"href":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/pulls/729"},"html":{"href":"https://github.com/Grover-c13/PokeGOAPI-Java/pull/729"},"issue":{"href":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/issues/729"},"comments":{"href":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/issues/729/comments"},"review_comments":{"href":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/pulls/729/comments"},"review_comment":{"href":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/pulls/729/commits"},"statuses":{"href":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/statuses/6639c10f15c65ab3bb65608ac854c04066d51796"}}}}
{"actor":{"display_login":"PokeAlert"}}