{"action":"created","comment":{"url":"https://api.github.com/repos/Vincentyification/JavaBot/pulls/comments/23497055","id":23497055,"diff_hunk":"@@ -52,6 +53,13 @@ private void processMessageQueue() {\n     }\n \n     private void processMessage(final ChatMessage chatMessage) {\n+    \tfor (final CommandHandle listener : listeners){\n+    \t\tfinal String response = listener.execute(chatMessage);\n+    \t\tif (response != null){","path":"src/main/java/com/gmail/inverseconduit/bot/DefaultBot.java","position":14,"original_position":14,"commit_id":"8c040153fd9833ba478b2a92a69173efc9f23f8e","original_commit_id":"5614cd608b6d25ba3b7e03a5d113b4eef79d148b","user":{"login":"mangstadt","id":700174,"avatar_url":"https://avatars.githubusercontent.com/u/700174?v=3","gravatar_id":"","url":"https://api.github.com/users/mangstadt","html_url":"https://github.com/mangstadt","followers_url":"https://api.github.com/users/mangstadt/followers","following_url":"https://api.github.com/users/mangstadt/following{/other_user}","gists_url":"https://api.github.com/users/mangstadt/gists{/gist_id}","starred_url":"https://api.github.com/users/mangstadt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mangstadt/subscriptions","organizations_url":"https://api.github.com/users/mangstadt/orgs","repos_url":"https://api.github.com/users/mangstadt/repos","events_url":"https://api.github.com/users/mangstadt/events{/privacy}","received_events_url":"https://api.github.com/users/mangstadt/received_events","type":"User","site_admin":false},"body":"What does `findFirst` do?  Will that break out of the loop at the first occurrence of a non-null value?  If so, that's not what I want it to do.  I don't want it to break out of the loop...I want it to go through the entire collection.","created_at":"2015-01-24T15:38:29Z","updated_at":"2015-01-24T15:38:29Z","html_url":"https://github.com/Vincentyification/JavaBot/pull/35#discussion_r23497055","pull_request_url":"https://api.github.com/repos/Vincentyification/JavaBot/pulls/35","_links":{"self":{"href":"https://api.github.com/repos/Vincentyification/JavaBot/pulls/comments/23497055"},"html":{"href":"https://github.com/Vincentyification/JavaBot/pull/35#discussion_r23497055"},"pull_request":{"href":"https://api.github.com/repos/Vincentyification/JavaBot/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/Vincentyification/JavaBot/pulls/35","id":27731215,"html_url":"https://github.com/Vincentyification/JavaBot/pull/35","diff_url":"https://github.com/Vincentyification/JavaBot/pull/35.diff","patch_url":"https://github.com/Vincentyification/JavaBot/pull/35.patch","issue_url":"https://api.github.com/repos/Vincentyification/JavaBot/issues/35","number":35,"state":"open","locked":false,"title":"Merged in the latest changes to the \"javadoc\" command from OakBot.","user":{"login":"mangstadt","id":700174,"avatar_url":"https://avatars.githubusercontent.com/u/700174?v=3","gravatar_id":"","url":"https://api.github.com/users/mangstadt","html_url":"https://github.com/mangstadt","followers_url":"https://api.github.com/users/mangstadt/followers","following_url":"https://api.github.com/users/mangstadt/following{/other_user}","gists_url":"https://api.github.com/users/mangstadt/gists{/gist_id}","starred_url":"https://api.github.com/users/mangstadt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mangstadt/subscriptions","organizations_url":"https://api.github.com/users/mangstadt/orgs","repos_url":"https://api.github.com/users/mangstadt/repos","events_url":"https://api.github.com/users/mangstadt/events{/privacy}","received_events_url":"https://api.github.com/users/mangstadt/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-21T02:37:48Z","updated_at":"2015-01-24T15:38:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"97650cbc7a256dd3a9ee6997737b9b8746111c06","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Vincentyification/JavaBot/pulls/35/commits","review_comments_url":"https://api.github.com/repos/Vincentyification/JavaBot/pulls/35/comments","review_comment_url":"https://api.github.com/repos/Vincentyification/JavaBot/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Vincentyification/JavaBot/issues/35/comments","statuses_url":"https://api.github.com/repos/Vincentyification/JavaBot/statuses/8c040153fd9833ba478b2a92a69173efc9f23f8e","head":{"label":"mangstadt:master","ref":"master","sha":"8c040153fd9833ba478b2a92a69173efc9f23f8e","user":{"login":"mangstadt","id":700174,"avatar_url":"https://avatars.githubusercontent.com/u/700174?v=3","gravatar_id":"","url":"https://api.github.com/users/mangstadt","html_url":"https://github.com/mangstadt","followers_url":"https://api.github.com/users/mangstadt/followers","following_url":"https://api.github.com/users/mangstadt/following{/other_user}","gists_url":"https://api.github.com/users/mangstadt/gists{/gist_id}","starred_url":"https://api.github.com/users/mangstadt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mangstadt/subscriptions","organizations_url":"https://api.github.com/users/mangstadt/orgs","repos_url":"https://api.github.com/users/mangstadt/repos","events_url":"https://api.github.com/users/mangstadt/events{/privacy}","received_events_url":"https://api.github.com/users/mangstadt/received_events","type":"User","site_admin":false},"repo":{"id":29531224,"name":"JavaBot","full_name":"mangstadt/JavaBot","owner":{"login":"mangstadt","id":700174,"avatar_url":"https://avatars.githubusercontent.com/u/700174?v=3","gravatar_id":"","url":"https://api.github.com/users/mangstadt","html_url":"https://github.com/mangstadt","followers_url":"https://api.github.com/users/mangstadt/followers","following_url":"https://api.github.com/users/mangstadt/following{/other_user}","gists_url":"https://api.github.com/users/mangstadt/gists{/gist_id}","starred_url":"https://api.github.com/users/mangstadt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mangstadt/subscriptions","organizations_url":"https://api.github.com/users/mangstadt/orgs","repos_url":"https://api.github.com/users/mangstadt/repos","events_url":"https://api.github.com/users/mangstadt/events{/privacy}","received_events_url":"https://api.github.com/users/mangstadt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mangstadt/JavaBot","description":"Java based chat bot that runs in Java room of Stack Overflow Chat.","fork":true,"url":"https://api.github.com/repos/mangstadt/JavaBot","forks_url":"https://api.github.com/repos/mangstadt/JavaBot/forks","keys_url":"https://api.github.com/repos/mangstadt/JavaBot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mangstadt/JavaBot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mangstadt/JavaBot/teams","hooks_url":"https://api.github.com/repos/mangstadt/JavaBot/hooks","issue_events_url":"https://api.github.com/repos/mangstadt/JavaBot/issues/events{/number}","events_url":"https://api.github.com/repos/mangstadt/JavaBot/events","assignees_url":"https://api.github.com/repos/mangstadt/JavaBot/assignees{/user}","branches_url":"https://api.github.com/repos/mangstadt/JavaBot/branches{/branch}","tags_url":"https://api.github.com/repos/mangstadt/JavaBot/tags","blobs_url":"https://api.github.com/repos/mangstadt/JavaBot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mangstadt/JavaBot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mangstadt/JavaBot/git/refs{/sha}","trees_url":"https://api.github.com/repos/mangstadt/JavaBot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mangstadt/JavaBot/statuses/{sha}","languages_url":"https://api.github.com/repos/mangstadt/JavaBot/languages","stargazers_url":"https://api.github.com/repos/mangstadt/JavaBot/stargazers","contributors_url":"https://api.github.com/repos/mangstadt/JavaBot/contributors","subscribers_url":"https://api.github.com/repos/mangstadt/JavaBot/subscribers","subscription_url":"https://api.github.com/repos/mangstadt/JavaBot/subscription","commits_url":"https://api.github.com/repos/mangstadt/JavaBot/commits{/sha}","git_commits_url":"https://api.github.com/repos/mangstadt/JavaBot/git/commits{/sha}","comments_url":"https://api.github.com/repos/mangstadt/JavaBot/comments{/number}","issue_comment_url":"https://api.github.com/repos/mangstadt/JavaBot/issues/comments/{number}","contents_url":"https://api.github.com/repos/mangstadt/JavaBot/contents/{+path}","compare_url":"https://api.github.com/repos/mangstadt/JavaBot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mangstadt/JavaBot/merges","archive_url":"https://api.github.com/repos/mangstadt/JavaBot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mangstadt/JavaBot/downloads","issues_url":"https://api.github.com/repos/mangstadt/JavaBot/issues{/number}","pulls_url":"https://api.github.com/repos/mangstadt/JavaBot/pulls{/number}","milestones_url":"https://api.github.com/repos/mangstadt/JavaBot/milestones{/number}","notifications_url":"https://api.github.com/repos/mangstadt/JavaBot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mangstadt/JavaBot/labels{/name}","releases_url":"https://api.github.com/repos/mangstadt/JavaBot/releases{/id}","created_at":"2015-01-20T13:33:37Z","updated_at":"2015-01-24T15:34:59Z","pushed_at":"2015-01-24T15:34:59Z","git_url":"git://github.com/mangstadt/JavaBot.git","ssh_url":"git@github.com:mangstadt/JavaBot.git","clone_url":"https://github.com/mangstadt/JavaBot.git","svn_url":"https://github.com/mangstadt/JavaBot","homepage":null,"size":395,"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":"Vincentyification:master","ref":"master","sha":"d4cf384bce35fb2dc5fb45b314e8f49ceef3866a","user":{"login":"Vincentyification","id":5595067,"avatar_url":"https://avatars.githubusercontent.com/u/5595067?v=3","gravatar_id":"","url":"https://api.github.com/users/Vincentyification","html_url":"https://github.com/Vincentyification","followers_url":"https://api.github.com/users/Vincentyification/followers","following_url":"https://api.github.com/users/Vincentyification/following{/other_user}","gists_url":"https://api.github.com/users/Vincentyification/gists{/gist_id}","starred_url":"https://api.github.com/users/Vincentyification/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vincentyification/subscriptions","organizations_url":"https://api.github.com/users/Vincentyification/orgs","repos_url":"https://api.github.com/users/Vincentyification/repos","events_url":"https://api.github.com/users/Vincentyification/events{/privacy}","received_events_url":"https://api.github.com/users/Vincentyification/received_events","type":"User","site_admin":false},"repo":{"id":25425280,"name":"JavaBot","full_name":"Vincentyification/JavaBot","owner":{"login":"Vincentyification","id":5595067,"avatar_url":"https://avatars.githubusercontent.com/u/5595067?v=3","gravatar_id":"","url":"https://api.github.com/users/Vincentyification","html_url":"https://github.com/Vincentyification","followers_url":"https://api.github.com/users/Vincentyification/followers","following_url":"https://api.github.com/users/Vincentyification/following{/other_user}","gists_url":"https://api.github.com/users/Vincentyification/gists{/gist_id}","starred_url":"https://api.github.com/users/Vincentyification/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vincentyification/subscriptions","organizations_url":"https://api.github.com/users/Vincentyification/orgs","repos_url":"https://api.github.com/users/Vincentyification/repos","events_url":"https://api.github.com/users/Vincentyification/events{/privacy}","received_events_url":"https://api.github.com/users/Vincentyification/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Vincentyification/JavaBot","description":"Java based chat bot that runs in Java room of Stack Overflow Chat.","fork":false,"url":"https://api.github.com/repos/Vincentyification/JavaBot","forks_url":"https://api.github.com/repos/Vincentyification/JavaBot/forks","keys_url":"https://api.github.com/repos/Vincentyification/JavaBot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Vincentyification/JavaBot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Vincentyification/JavaBot/teams","hooks_url":"https://api.github.com/repos/Vincentyification/JavaBot/hooks","issue_events_url":"https://api.github.com/repos/Vincentyification/JavaBot/issues/events{/number}","events_url":"https://api.github.com/repos/Vincentyification/JavaBot/events","assignees_url":"https://api.github.com/repos/Vincentyification/JavaBot/assignees{/user}","branches_url":"https://api.github.com/repos/Vincentyification/JavaBot/branches{/branch}","tags_url":"https://api.github.com/repos/Vincentyification/JavaBot/tags","blobs_url":"https://api.github.com/repos/Vincentyification/JavaBot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Vincentyification/JavaBot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Vincentyification/JavaBot/git/refs{/sha}","trees_url":"https://api.github.com/repos/Vincentyification/JavaBot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Vincentyification/JavaBot/statuses/{sha}","languages_url":"https://api.github.com/repos/Vincentyification/JavaBot/languages","stargazers_url":"https://api.github.com/repos/Vincentyification/JavaBot/stargazers","contributors_url":"https://api.github.com/repos/Vincentyification/JavaBot/contributors","subscribers_url":"https://api.github.com/repos/Vincentyification/JavaBot/subscribers","subscription_url":"https://api.github.com/repos/Vincentyification/JavaBot/subscription","commits_url":"https://api.github.com/repos/Vincentyification/JavaBot/commits{/sha}","git_commits_url":"https://api.github.com/repos/Vincentyification/JavaBot/git/commits{/sha}","comments_url":"https://api.github.com/repos/Vincentyification/JavaBot/comments{/number}","issue_comment_url":"https://api.github.com/repos/Vincentyification/JavaBot/issues/comments/{number}","contents_url":"https://api.github.com/repos/Vincentyification/JavaBot/contents/{+path}","compare_url":"https://api.github.com/repos/Vincentyification/JavaBot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Vincentyification/JavaBot/merges","archive_url":"https://api.github.com/repos/Vincentyification/JavaBot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Vincentyification/JavaBot/downloads","issues_url":"https://api.github.com/repos/Vincentyification/JavaBot/issues{/number}","pulls_url":"https://api.github.com/repos/Vincentyification/JavaBot/pulls{/number}","milestones_url":"https://api.github.com/repos/Vincentyification/JavaBot/milestones{/number}","notifications_url":"https://api.github.com/repos/Vincentyification/JavaBot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Vincentyification/JavaBot/labels{/name}","releases_url":"https://api.github.com/repos/Vincentyification/JavaBot/releases{/id}","created_at":"2014-10-19T11:40:16Z","updated_at":"2015-01-20T05:48:17Z","pushed_at":"2015-01-21T14:49:36Z","git_url":"git://github.com/Vincentyification/JavaBot.git","ssh_url":"git@github.com:Vincentyification/JavaBot.git","clone_url":"https://github.com/Vincentyification/JavaBot.git","svn_url":"https://github.com/Vincentyification/JavaBot","homepage":null,"size":1961,"stargazers_count":10,"watchers_count":10,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":10,"forks":6,"open_issues":10,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Vincentyification/JavaBot/pulls/35"},"html":{"href":"https://github.com/Vincentyification/JavaBot/pull/35"},"issue":{"href":"https://api.github.com/repos/Vincentyification/JavaBot/issues/35"},"comments":{"href":"https://api.github.com/repos/Vincentyification/JavaBot/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/Vincentyification/JavaBot/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/Vincentyification/JavaBot/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Vincentyification/JavaBot/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/Vincentyification/JavaBot/statuses/8c040153fd9833ba478b2a92a69173efc9f23f8e"}}}}