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

Use fastest available method for String replacement

    Details

    • Branch Version/s:
      7.2.x, 7.1.x, 7.0.x
    • Backported to Branch:
      Committed

      Description

      When portal-kernel is available:

      Use StringUtil.replace instead of String.replace

       

      When portal-kernel is not available:

      Use String.replace(char, char) instead of String.replace(CharSequence, CharSequence)

        Attachments

          Activity

            People

            • Assignee:
              hugo.huijser Hugo Huijser
              Reporter:
              hugo.huijser Hugo Huijser
              Recent user:
              Tomas Polesovsky (topolik)
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                7.0.X
                7.1.X
                7.2.10 DXP FP2
                7.2.10.1 DXP SP1
                7.2.X
                Master