{"action":"created","issue":{"url":"https://api.github.com/repos/griffon-plugins/griffon-tasks-plugin/issues/1","labels_url":"https://api.github.com/repos/griffon-plugins/griffon-tasks-plugin/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/griffon-plugins/griffon-tasks-plugin/issues/1/comments","events_url":"https://api.github.com/repos/griffon-plugins/griffon-tasks-plugin/issues/1/events","html_url":"https://github.com/griffon-plugins/griffon-tasks-plugin/issues/1","id":110783054,"number":1,"title":"PrimeNumbersTask example doesn't compile","user":{"login":"shnplr","id":12369009,"avatar_url":"https://avatars.githubusercontent.com/u/12369009?v=3","gravatar_id":"","url":"https://api.github.com/users/shnplr","html_url":"https://github.com/shnplr","followers_url":"https://api.github.com/users/shnplr/followers","following_url":"https://api.github.com/users/shnplr/following{/other_user}","gists_url":"https://api.github.com/users/shnplr/gists{/gist_id}","starred_url":"https://api.github.com/users/shnplr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shnplr/subscriptions","organizations_url":"https://api.github.com/users/shnplr/orgs","repos_url":"https://api.github.com/users/shnplr/repos","events_url":"https://api.github.com/users/shnplr/events{/privacy}","received_events_url":"https://api.github.com/users/shnplr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-10T09:09:51Z","updated_at":"2016-01-17T21:33:21Z","closed_at":null,"body":"1. There is no default constructor in AbstractTask i.e. the example should call super(String).\r\n\r\n    public PrimeNumbersTask(int numbersToFind) {\r\n        super(\"\")\r\n        //initialize\r\n    }\r\n\r\n2. The return type of execute <V> does not match the interface definition <V, C>\r\ni.e. shouldn't it return a List?\r\n\r\n    @Override\r\n    public List<Integer> execute(Tracker<Integer> tracker) throws Exception {\r\n        while (!enough && !isCancelled()) {\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/griffon-plugins/griffon-tasks-plugin/issues/comments/172385465","html_url":"https://github.com/griffon-plugins/griffon-tasks-plugin/issues/1#issuecomment-172385465","issue_url":"https://api.github.com/repos/griffon-plugins/griffon-tasks-plugin/issues/1","id":172385465,"user":{"login":"aalmiray","id":13969,"avatar_url":"https://avatars.githubusercontent.com/u/13969?v=3","gravatar_id":"","url":"https://api.github.com/users/aalmiray","html_url":"https://github.com/aalmiray","followers_url":"https://api.github.com/users/aalmiray/followers","following_url":"https://api.github.com/users/aalmiray/following{/other_user}","gists_url":"https://api.github.com/users/aalmiray/gists{/gist_id}","starred_url":"https://api.github.com/users/aalmiray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aalmiray/subscriptions","organizations_url":"https://api.github.com/users/aalmiray/orgs","repos_url":"https://api.github.com/users/aalmiray/repos","events_url":"https://api.github.com/users/aalmiray/events{/privacy}","received_events_url":"https://api.github.com/users/aalmiray/received_events","type":"User","site_admin":false},"created_at":"2016-01-17T21:33:21Z","updated_at":"2016-01-17T21:33:21Z","body":"The newly uploaded sample application gives more details on how this plugin can be used. It's not the final solution though as I believe it can be simplified even further, but it's a good start to tget the ffeling of the API. The guide will be updated soon."}}