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

Arrays.asList() for single item could be replaced with List.of()

XMLWordPrintable

      If there is only one item, the call to Arrays.asList() could be replaced with List.of() for less memory occupation.

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

              Created:
              Updated:
              Resolved: