Warning for Comparable<Foo> where Foo doesn't implement comparable

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Rejected
    • Priority: P4
    • None
    • Affects Version/s: 7
    • Component/s: tools
    • generic
    • generic

      When making a class implement the generic version of the Comparable interaface, using a type instantiation that is not itself Comparable (e.g. Object) is often the sign of a API design error. This might be appropriate as a lint warning.

            Assignee:
            Unassigned
            Reporter:
            Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: