Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8163990

Utils.ElementComparator does not need to be generic.

XMLWordPrintable

      All instances of Utils.ElermentComparator are utils.ElementComparator<Element>.

      It does not make sense for this to be a generic type.

      It is OK for it to be *implementing* a generic type, Comparator<Element>

            ksrini Kumar Srinivasan
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: