Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-72429

Avoid converting array to list when adding all elements to set

    Details

      Description

      We want to avoid using Collection.addAll(Arrays.asList(T...)) as process creates unnecessary overhead, we should use Collections.addAll(Collection, T...) instead.

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            tong.wang Tom Wang (Inactive)
            Participants of an Issue:
            Recent user:
            Csaba Turcsan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 43 weeks, 1 day ago

                Packages

                Version Package
                7.0.0 DXP FP16
                7.0.0 DXP FP17
                7.0.3 CE GA4
                7.0.0 DXP SP4
                7.0.X EE
                7.1.X
                Master