{"action":"closed","issue":{"url":"https://api.github.com/repos/tomp2p/TomP2P/issues/127","labels_url":"https://api.github.com/repos/tomp2p/TomP2P/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/tomp2p/TomP2P/issues/127/comments","events_url":"https://api.github.com/repos/tomp2p/TomP2P/issues/127/events","html_url":"https://github.com/tomp2p/TomP2P/issues/127","id":130049661,"number":127,"title":"Refactor tomp2p futures to use java.util.concurrent.Future","user":{"login":"lyze","id":3305220,"avatar_url":"https://avatars.githubusercontent.com/u/3305220?v=3","gravatar_id":"","url":"https://api.github.com/users/lyze","html_url":"https://github.com/lyze","followers_url":"https://api.github.com/users/lyze/followers","following_url":"https://api.github.com/users/lyze/following{/other_user}","gists_url":"https://api.github.com/users/lyze/gists{/gist_id}","starred_url":"https://api.github.com/users/lyze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lyze/subscriptions","organizations_url":"https://api.github.com/users/lyze/orgs","repos_url":"https://api.github.com/users/lyze/repos","events_url":"https://api.github.com/users/lyze/events{/privacy}","received_events_url":"https://api.github.com/users/lyze/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-30T23:13:43Z","updated_at":"2016-02-01T09:27:12Z","closed_at":"2016-02-01T09:27:12Z","body":"TomP2P should use `java.util.concurrent.Future`.\r\n\r\nConsider a class such as `net.tomp2p.dht.FutureGet`. A refactoring with `java.util.concurrent.Future` would have it implement `Future<DhtResult>`, where `DhtResult` would be a new interface that contains the data-related methods, like `rawData()`, `dataMap()`, etc."}}