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

Replace usages of Collections.sort with List.sort call in public java modules

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11, 17
    • Fix Version/s: 18
    • Component/s: core-libs
    • Labels:
    • Resolved In Build:
      b13
    • CPU:
      generic
    • OS:
      generic

      Description

      Collections.sort() is just a wrapper, so it is better to use an instance method directly.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aturbanov Andrey Turbanov
              Reporter:
              serb Sergey Bylokhov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: