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.

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

              Created:
              Updated:
              Resolved: