Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-16156

Reuse calling Collator.getInstance inside compare method when not needed

    Details

    • Fix Pack Status:
      Scheduled

      Description

      Collator.getInstance is not exactly a singleton, every time it gets called performs, at least, a clone, besides it is a synchronized static method so it has an impact on the performance if called inside a Comparator.compare method because it can get called up to NlogN needless times.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gregory.bretall Gregory Bretall (Inactive)
              Reporter:
              EnterpriseReleaseHU Enterprise Release HU
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  6.2.X EE