generics in Comparable implementation, trivial style change
Merge pull request #1316 from jerrinot/genericInCompareTo

generics in Comparable implementation, trivial style change