{"action":"closed","issue":{"url":"https://api.github.com/repos/edulify/play-geolocation-module.edulify.com/issues/7","labels_url":"https://api.github.com/repos/edulify/play-geolocation-module.edulify.com/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/edulify/play-geolocation-module.edulify.com/issues/7/comments","events_url":"https://api.github.com/repos/edulify/play-geolocation-module.edulify.com/issues/7/events","html_url":"https://github.com/edulify/play-geolocation-module.edulify.com/issues/7","id":78613967,"number":7,"title":"Improvement request","user":{"login":"sovaalexandr","id":3388993,"avatar_url":"https://avatars.githubusercontent.com/u/3388993?v=3","gravatar_id":"","url":"https://api.github.com/users/sovaalexandr","html_url":"https://github.com/sovaalexandr","followers_url":"https://api.github.com/users/sovaalexandr/followers","following_url":"https://api.github.com/users/sovaalexandr/following{/other_user}","gists_url":"https://api.github.com/users/sovaalexandr/gists{/gist_id}","starred_url":"https://api.github.com/users/sovaalexandr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sovaalexandr/subscriptions","organizations_url":"https://api.github.com/users/sovaalexandr/orgs","repos_url":"https://api.github.com/users/sovaalexandr/repos","events_url":"https://api.github.com/users/sovaalexandr/events{/privacy}","received_events_url":"https://api.github.com/users/sovaalexandr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-05-20T17:19:07Z","updated_at":"2016-01-11T00:46:24Z","closed_at":"2016-01-11T00:46:24Z","body":"I'd suggest to move away from static calls to service methods or to cache. Why it should be done could be read here: http://java.dzone.com/articles/why-static-bad-and-how-avoid\r\nWhat do I want to achieve while/after this improvement:\r\n * Cover whole project with isolated unit tests\r\n * Ability to use AsyncService directly from DI container in my project\r\n\r\nIf you consider it worthwhile I could handle it in backwards-compatible way and send you a pull-request"}}