You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Arturo Bernal (Jira)" <ji...@apache.org> on 2021/10/15 15:31:00 UTC

[jira] [Created] (MNG-7311) Use Collections.singletonList

Arturo Bernal created MNG-7311:
----------------------------------

             Summary: Use Collections.singletonList 
                 Key: MNG-7311
                 URL: https://issues.apache.org/jira/browse/MNG-7311
             Project: Maven
          Issue Type: Sub-task
            Reporter: Arturo Bernal


Replace array creation  with Collections.singletonList(), Collections.emptyList(), or List.of() on JDK 9 and later, which will save some memory.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)