{"comment":{"url":"https://api.github.com/repos/mchirita/SummerInternship-main/comments/18427168","html_url":"https://github.com/mchirita/SummerInternship-main/commit/dc3d35117d0efc465a590134bbf73ffb45feac4e#commitcomment-18427168","id":18427168,"user":{"login":"andreeabivolaruiquest","id":20420677,"avatar_url":"https://avatars.githubusercontent.com/u/20420677?v=3","gravatar_id":"","url":"https://api.github.com/users/andreeabivolaruiquest","html_url":"https://github.com/andreeabivolaruiquest","followers_url":"https://api.github.com/users/andreeabivolaruiquest/followers","following_url":"https://api.github.com/users/andreeabivolaruiquest/following{/other_user}","gists_url":"https://api.github.com/users/andreeabivolaruiquest/gists{/gist_id}","starred_url":"https://api.github.com/users/andreeabivolaruiquest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreeabivolaruiquest/subscriptions","organizations_url":"https://api.github.com/users/andreeabivolaruiquest/orgs","repos_url":"https://api.github.com/users/andreeabivolaruiquest/repos","events_url":"https://api.github.com/users/andreeabivolaruiquest/events{/privacy}","received_events_url":"https://api.github.com/users/andreeabivolaruiquest/received_events","type":"User","site_admin":false},"position":35,"line":20,"path":"auth-persistence/src/main/java/org/iqu/auth/persistence/dao/DaoFactory.java","commit_id":"dc3d35117d0efc465a590134bbf73ffb45feac4e","created_at":"2016-07-28T07:45:50Z","updated_at":"2016-07-28T07:45:50Z","body":"please synchronize the getInstance() methods with double check idiom. You can use the class ConsumerFactory from slave services as a reference. Also you do not need 2 return statements. You can use only one return outside the if."}}
{"actor":{"display_login":"andreeabivolaruiquest"}}