{"action":"created","issue":{"url":"https://api.github.com/repos/JiangAo621/JiangA/issues/5","labels_url":"https://api.github.com/repos/JiangAo621/JiangA/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/JiangAo621/JiangA/issues/5/comments","events_url":"https://api.github.com/repos/JiangAo621/JiangA/issues/5/events","html_url":"https://github.com/JiangAo621/JiangA/issues/5","id":67051840,"number":5,"title":"Something to be simplified.","user":{"login":"Yangzhen0000","id":11536834,"avatar_url":"https://avatars.githubusercontent.com/u/11536834?v=3","gravatar_id":"","url":"https://api.github.com/users/Yangzhen0000","html_url":"https://github.com/Yangzhen0000","followers_url":"https://api.github.com/users/Yangzhen0000/followers","following_url":"https://api.github.com/users/Yangzhen0000/following{/other_user}","gists_url":"https://api.github.com/users/Yangzhen0000/gists{/gist_id}","starred_url":"https://api.github.com/users/Yangzhen0000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yangzhen0000/subscriptions","organizations_url":"https://api.github.com/users/Yangzhen0000/orgs","repos_url":"https://api.github.com/users/Yangzhen0000/repos","events_url":"https://api.github.com/users/Yangzhen0000/events{/privacy}","received_events_url":"https://api.github.com/users/Yangzhen0000/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-08T05:24:46Z","updated_at":"2015-04-08T05:54:33Z","closed_at":"2015-04-08T05:54:33Z","body":"In the 63th line of your code, you write an \"else\" code, but this case will never occur, so you can delete this branch to make your code more simplified.\r\nThen in the 77th line of your code, you used a \"for\" loop to assign an array with only one element, it is no need to do this."},"comment":{"url":"https://api.github.com/repos/JiangAo621/JiangA/issues/comments/90809734","html_url":"https://github.com/JiangAo621/JiangA/issues/5#issuecomment-90809734","issue_url":"https://api.github.com/repos/JiangAo621/JiangA/issues/5","id":90809734,"user":{"login":"JiangAo621","id":11540060,"avatar_url":"https://avatars.githubusercontent.com/u/11540060?v=3","gravatar_id":"","url":"https://api.github.com/users/JiangAo621","html_url":"https://github.com/JiangAo621","followers_url":"https://api.github.com/users/JiangAo621/followers","following_url":"https://api.github.com/users/JiangAo621/following{/other_user}","gists_url":"https://api.github.com/users/JiangAo621/gists{/gist_id}","starred_url":"https://api.github.com/users/JiangAo621/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JiangAo621/subscriptions","organizations_url":"https://api.github.com/users/JiangAo621/orgs","repos_url":"https://api.github.com/users/JiangAo621/repos","events_url":"https://api.github.com/users/JiangAo621/events{/privacy}","received_events_url":"https://api.github.com/users/JiangAo621/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T05:54:33Z","updated_at":"2015-04-08T05:54:33Z","body":"Bug fixed."}}