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

Replace Collections.unmodifiableList with List.of

    XMLWordPrintable

Details

    Description

      The Collections.unmodifiableList() method could be recurring copy on itself. The List.of() method is more solid, and could be used instead.

      Attachments

        Issue Links

          Activity

            People

              xuelei Xuelei Fan
              xuelei Xuelei Fan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: