{"action":"created","issue":{"url":"https://api.github.com/repos/mdarefin/Convert-For-Each-Loop-to-Lambda-Expression-Eclipse-Plugin/issues/12","labels_url":"https://api.github.com/repos/mdarefin/Convert-For-Each-Loop-to-Lambda-Expression-Eclipse-Plugin/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/mdarefin/Convert-For-Each-Loop-to-Lambda-Expression-Eclipse-Plugin/issues/12/comments","events_url":"https://api.github.com/repos/mdarefin/Convert-For-Each-Loop-to-Lambda-Expression-Eclipse-Plugin/issues/12/events","html_url":"https://github.com/mdarefin/Convert-For-Each-Loop-to-Lambda-Expression-Eclipse-Plugin/issues/12","id":95249930,"number":12,"title":"Precondition - Check if the loop has more than one return statement and whether the return value is boolean","user":{"login":"mdarefin","id":9343226,"avatar_url":"https://avatars.githubusercontent.com/u/9343226?v=3","gravatar_id":"","url":"https://api.github.com/users/mdarefin","html_url":"https://github.com/mdarefin","followers_url":"https://api.github.com/users/mdarefin/followers","following_url":"https://api.github.com/users/mdarefin/following{/other_user}","gists_url":"https://api.github.com/users/mdarefin/gists{/gist_id}","starred_url":"https://api.github.com/users/mdarefin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdarefin/subscriptions","organizations_url":"https://api.github.com/users/mdarefin/orgs","repos_url":"https://api.github.com/users/mdarefin/repos","events_url":"https://api.github.com/users/mdarefin/events{/privacy}","received_events_url":"https://api.github.com/users/mdarefin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mdarefin/Convert-For-Each-Loop-to-Lambda-Expression-Eclipse-Plugin/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"mdarefin","id":9343226,"avatar_url":"https://avatars.githubusercontent.com/u/9343226?v=3","gravatar_id":"","url":"https://api.github.com/users/mdarefin","html_url":"https://github.com/mdarefin","followers_url":"https://api.github.com/users/mdarefin/followers","following_url":"https://api.github.com/users/mdarefin/following{/other_user}","gists_url":"https://api.github.com/users/mdarefin/gists{/gist_id}","starred_url":"https://api.github.com/users/mdarefin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdarefin/subscriptions","organizations_url":"https://api.github.com/users/mdarefin/orgs","repos_url":"https://api.github.com/users/mdarefin/repos","events_url":"https://api.github.com/users/mdarefin/events{/privacy}","received_events_url":"https://api.github.com/users/mdarefin/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mdarefin/Convert-For-Each-Loop-to-Lambda-Expression-Eclipse-Plugin/milestones/1","html_url":"https://github.com/mdarefin/Convert-For-Each-Loop-to-Lambda-Expression-Eclipse-Plugin/milestones/Preconditions","labels_url":"https://api.github.com/repos/mdarefin/Convert-For-Each-Loop-to-Lambda-Expression-Eclipse-Plugin/milestones/1/labels","id":1206142,"number":1,"title":"Preconditions","description":"","creator":{"login":"khatchad","id":2048831,"avatar_url":"https://avatars.githubusercontent.com/u/2048831?v=3","gravatar_id":"","url":"https://api.github.com/users/khatchad","html_url":"https://github.com/khatchad","followers_url":"https://api.github.com/users/khatchad/followers","following_url":"https://api.github.com/users/khatchad/following{/other_user}","gists_url":"https://api.github.com/users/khatchad/gists{/gist_id}","starred_url":"https://api.github.com/users/khatchad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khatchad/subscriptions","organizations_url":"https://api.github.com/users/khatchad/orgs","repos_url":"https://api.github.com/users/khatchad/repos","events_url":"https://api.github.com/users/khatchad/events{/privacy}","received_events_url":"https://api.github.com/users/khatchad/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":5,"state":"open","created_at":"2015-07-14T00:01:35Z","updated_at":"2015-07-23T19:44:04Z","due_on":"2015-07-24T04:00:00Z","closed_at":null},"comments":30,"created_at":"2015-07-15T17:41:07Z","updated_at":"2015-07-23T20:20:02Z","closed_at":null,"body":" The body of the initial for loop does not contain more than one return statement. LambdaFicator can deal with loops with only one return statement as long as they return a boolean literal and LambdaFactor can infer that they can be refactored to an anyMatch or noneMatch operation."},"comment":{"url":"https://api.github.com/repos/mdarefin/Convert-For-Each-Loop-to-Lambda-Expression-Eclipse-Plugin/issues/comments/124228578","html_url":"https://github.com/mdarefin/Convert-For-Each-Loop-to-Lambda-Expression-Eclipse-Plugin/issues/12#issuecomment-124228578","issue_url":"https://api.github.com/repos/mdarefin/Convert-For-Each-Loop-to-Lambda-Expression-Eclipse-Plugin/issues/12","id":124228578,"user":{"login":"khatchad","id":2048831,"avatar_url":"https://avatars.githubusercontent.com/u/2048831?v=3","gravatar_id":"","url":"https://api.github.com/users/khatchad","html_url":"https://github.com/khatchad","followers_url":"https://api.github.com/users/khatchad/followers","following_url":"https://api.github.com/users/khatchad/following{/other_user}","gists_url":"https://api.github.com/users/khatchad/gists{/gist_id}","starred_url":"https://api.github.com/users/khatchad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khatchad/subscriptions","organizations_url":"https://api.github.com/users/khatchad/orgs","repos_url":"https://api.github.com/users/khatchad/repos","events_url":"https://api.github.com/users/khatchad/events{/privacy}","received_events_url":"https://api.github.com/users/khatchad/received_events","type":"User","site_admin":false},"created_at":"2015-07-23T20:20:02Z","updated_at":"2015-07-23T20:20:02Z","body":"In containsMultipleReturns(), just `return returnCount > 1`."}}