{"action":"created","issue":{"url":"https://api.github.com/repos/SpartanRefactoring/Spartanizer/issues/194","repository_url":"https://api.github.com/repos/SpartanRefactoring/Spartanizer","labels_url":"https://api.github.com/repos/SpartanRefactoring/Spartanizer/issues/194/labels{/name}","comments_url":"https://api.github.com/repos/SpartanRefactoring/Spartanizer/issues/194/comments","events_url":"https://api.github.com/repos/SpartanRefactoring/Spartanizer/issues/194/events","html_url":"https://github.com/SpartanRefactoring/Spartanizer/issues/194","id":176757311,"number":194,"title":"Early return from functions","user":{"login":"yossigil","id":12775400,"avatar_url":"https://avatars.githubusercontent.com/u/12775400?v=3","gravatar_id":"","url":"https://api.github.com/users/yossigil","html_url":"https://github.com/yossigil","followers_url":"https://api.github.com/users/yossigil/followers","following_url":"https://api.github.com/users/yossigil/following{/other_user}","gists_url":"https://api.github.com/users/yossigil/gists{/gist_id}","starred_url":"https://api.github.com/users/yossigil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yossigil/subscriptions","organizations_url":"https://api.github.com/users/yossigil/orgs","repos_url":"https://api.github.com/users/yossigil/repos","events_url":"https://api.github.com/users/yossigil/events{/privacy}","received_events_url":"https://api.github.com/users/yossigil/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SpartanRefactoring/Spartanizer/labels/new-wring","name":"new-wring","color":"1d76db"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/SpartanRefactoring/Spartanizer/milestones/2","html_url":"https://github.com/SpartanRefactoring/Spartanizer/milestones/Version%202.5","labels_url":"https://api.github.com/repos/SpartanRefactoring/Spartanizer/milestones/2/labels","id":1722647,"number":2,"title":"Version 2.5","description":"More robust version, without switch and other wring improvements. Unroll comments for now","creator":{"login":"yossigil","id":12775400,"avatar_url":"https://avatars.githubusercontent.com/u/12775400?v=3","gravatar_id":"","url":"https://api.github.com/users/yossigil","html_url":"https://github.com/yossigil","followers_url":"https://api.github.com/users/yossigil/followers","following_url":"https://api.github.com/users/yossigil/following{/other_user}","gists_url":"https://api.github.com/users/yossigil/gists{/gist_id}","starred_url":"https://api.github.com/users/yossigil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yossigil/subscriptions","organizations_url":"https://api.github.com/users/yossigil/orgs","repos_url":"https://api.github.com/users/yossigil/repos","events_url":"https://api.github.com/users/yossigil/events{/privacy}","received_events_url":"https://api.github.com/users/yossigil/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":38,"state":"open","created_at":"2016-04-21T11:32:14Z","updated_at":"2016-09-14T05:05:07Z","due_on":"2016-09-30T00:00:00Z","closed_at":null},"comments":1,"created_at":"2016-09-13T21:39:53Z","updated_at":"2016-09-14T05:12:53Z","closed_at":null,"body":"There is something that does this, but it cannot handle\r\n```java\r\nif (a != null) {\r\n\t\t\tfinal a = f(); \r\n      if (g());\r\n        return f();\r\n\t\t\tif (f() && g()) \r\n\t\t\t\treturn a; \r\n\t\t}\r\n\t\treturn null;\r\n\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/SpartanRefactoring/Spartanizer/issues/comments/246908385","html_url":"https://github.com/SpartanRefactoring/Spartanizer/issues/194#issuecomment-246908385","issue_url":"https://api.github.com/repos/SpartanRefactoring/Spartanizer/issues/194","id":246908385,"user":{"login":"yossigil","id":12775400,"avatar_url":"https://avatars.githubusercontent.com/u/12775400?v=3","gravatar_id":"","url":"https://api.github.com/users/yossigil","html_url":"https://github.com/yossigil","followers_url":"https://api.github.com/users/yossigil/followers","following_url":"https://api.github.com/users/yossigil/following{/other_user}","gists_url":"https://api.github.com/users/yossigil/gists{/gist_id}","starred_url":"https://api.github.com/users/yossigil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yossigil/subscriptions","organizations_url":"https://api.github.com/users/yossigil/orgs","repos_url":"https://api.github.com/users/yossigil/repos","events_url":"https://api.github.com/users/yossigil/events{/privacy}","received_events_url":"https://api.github.com/users/yossigil/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T05:12:53Z","updated_at":"2016-09-14T05:12:53Z","body":"- [ ] Create several test cases. At which length do we want the spartanization\r\n- [ ] Make sure the tests fail!. Commit them, with a `@Ignore` label. The commit message should include a reference to the issue.\r\n- [ ] Find the wring that does this.\r\n- [ ] If there is none, create your own wring.\r\n- [ ] Make sure the tests pass.\r\n- [ ] Spartanize the code of the plugin using using your own wring\r\n- [ ] Spartanize another project with your wring.\r\n- [ ] Open issue(s), as per problems you encounter\r\n- [ ] Perfect your wring, by adding test cases for any problems your encounter\r\n- [ ] Commit your fix, using `Fix #194` in the commit message.\r\n- [ ] Make sure that the commit indeed closed this issue.\r\n"}}
{"actor":{"display_login":"yossigil"}}