{"comment":{"url":"https://api.github.com/repos/marcrodrig/java-bootcamp-bahia/comments/9717153","html_url":"https://github.com/marcrodrig/java-bootcamp-bahia/commit/eb56c08aeba0c115e61cd9c6f5eda9a38be3c177#commitcomment-9717153","id":9717153,"user":{"login":"nicolashferrer","id":10869595,"avatar_url":"https://avatars.githubusercontent.com/u/10869595?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolashferrer","html_url":"https://github.com/nicolashferrer","followers_url":"https://api.github.com/users/nicolashferrer/followers","following_url":"https://api.github.com/users/nicolashferrer/following{/other_user}","gists_url":"https://api.github.com/users/nicolashferrer/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolashferrer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolashferrer/subscriptions","organizations_url":"https://api.github.com/users/nicolashferrer/orgs","repos_url":"https://api.github.com/users/nicolashferrer/repos","events_url":"https://api.github.com/users/nicolashferrer/events{/privacy}","received_events_url":"https://api.github.com/users/nicolashferrer/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"eb56c08aeba0c115e61cd9c6f5eda9a38be3c177","created_at":"2015-02-12T14:19:19Z","updated_at":"2015-02-12T14:19:19Z","body":"Here it is preferable to define an enumerated of types and do \"case \" instead of nested ifs"}}