{"comment":{"url":"https://api.github.com/repos/aduprat/james-project/comments/14650587","html_url":"https://github.com/aduprat/james-project/commit/b3fcc1f46b5cb69a84896dee58d2fccc65694a17#commitcomment-14650587","id":14650587,"user":{"login":"mbaechler","id":708318,"avatar_url":"https://avatars.githubusercontent.com/u/708318?v=3","gravatar_id":"","url":"https://api.github.com/users/mbaechler","html_url":"https://github.com/mbaechler","followers_url":"https://api.github.com/users/mbaechler/followers","following_url":"https://api.github.com/users/mbaechler/following{/other_user}","gists_url":"https://api.github.com/users/mbaechler/gists{/gist_id}","starred_url":"https://api.github.com/users/mbaechler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbaechler/subscriptions","organizations_url":"https://api.github.com/users/mbaechler/orgs","repos_url":"https://api.github.com/users/mbaechler/repos","events_url":"https://api.github.com/users/mbaechler/events{/privacy}","received_events_url":"https://api.github.com/users/mbaechler/received_events","type":"User","site_admin":false},"position":49,"line":49,"path":"server/protocols/jmap/src/main/java/org/apache/james/jmap/utils/SortToComparatorConvertor.java","commit_id":"b3fcc1f46b5cb69a84896dee58d2fccc65694a17","created_at":"2015-11-27T08:36:31Z","updated_at":"2015-11-27T08:36:31Z","body":"a map would make a much simpler code, comparator for field would just output some comparators and you would reduce at the end of the pipeline by combining comparator"}}