{"action":"created","issue":{"url":"https://api.github.com/repos/google/guava/issues/1412","repository_url":"https://api.github.com/repos/google/guava","labels_url":"https://api.github.com/repos/google/guava/issues/1412/labels{/name}","comments_url":"https://api.github.com/repos/google/guava/issues/1412/comments","events_url":"https://api.github.com/repos/google/guava/issues/1412/events","html_url":"https://github.com/google/guava/issues/1412","id":47424163,"number":1412,"title":"Add generic type parameter to Ordering#allEqual(), #usingToString() and #arbitrary()","user":{"login":"gissuebot","id":8091570,"avatar_url":"https://avatars.githubusercontent.com/u/8091570?v=3","gravatar_id":"","url":"https://api.github.com/users/gissuebot","html_url":"https://github.com/gissuebot","followers_url":"https://api.github.com/users/gissuebot/followers","following_url":"https://api.github.com/users/gissuebot/following{/other_user}","gists_url":"https://api.github.com/users/gissuebot/gists{/gist_id}","starred_url":"https://api.github.com/users/gissuebot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gissuebot/subscriptions","organizations_url":"https://api.github.com/users/gissuebot/orgs","repos_url":"https://api.github.com/users/gissuebot/repos","events_url":"https://api.github.com/users/gissuebot/events{/privacy}","received_events_url":"https://api.github.com/users/gissuebot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/guava/labels/status:%20working%20as%20intended","name":"status: working as intended","color":"777777"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2014-10-31T17:45:57Z","updated_at":"2016-07-27T17:16:57Z","closed_at":"2014-11-01T01:23:52Z","body":"_[Original issue](https://code.google.com/p/guava-libraries/issues/detail?id=1412) created by **stephan202** on 2013-05-13 at 02:43 PM_\n\n---\n\nThe methods Ordering#allEqual(), Ordering#usingToString() and Ordering#arbitrary() return an Ordering&lt;Object>, but they are safe for use as an Ordering&lt;T> for any T. It'd be nice to generalize the return types thusly, so that callers do not need to cast the return value (and suppress the resultant warning).\n\nFor a precedent, see e.g. java.util.Collections#reverseOrder()."},"comment":{"url":"https://api.github.com/repos/google/guava/issues/comments/235655340","html_url":"https://github.com/google/guava/issues/1412#issuecomment-235655340","issue_url":"https://api.github.com/repos/google/guava/issues/1412","id":235655340,"user":{"login":"reggert","id":1971881,"avatar_url":"https://avatars.githubusercontent.com/u/1971881?v=3","gravatar_id":"","url":"https://api.github.com/users/reggert","html_url":"https://github.com/reggert","followers_url":"https://api.github.com/users/reggert/followers","following_url":"https://api.github.com/users/reggert/following{/other_user}","gists_url":"https://api.github.com/users/reggert/gists{/gist_id}","starred_url":"https://api.github.com/users/reggert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reggert/subscriptions","organizations_url":"https://api.github.com/users/reggert/orgs","repos_url":"https://api.github.com/users/reggert/repos","events_url":"https://api.github.com/users/reggert/events{/privacy}","received_events_url":"https://api.github.com/users/reggert/received_events","type":"User","site_admin":false},"created_at":"2016-07-27T17:16:57Z","updated_at":"2016-07-27T17:16:57Z","body":"Ah... I missed that part, probably because it was buried in the middle of a long comment with no code formatting. It's still not as pretty as just being able to use `ImmutableSortedSet.orderedBy`, but I guess it will have to do."}}
{"actor":{"display_login":"reggert"}}