Uploaded image for project: 'Pluto'
  1. Pluto
  2. PLUTO-778

change String.replaceAll() to replace() to improve performance.

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0, 3.0.1, 3.1.0
    • 3.1.3
    • None

    Description

      Location:

      (1) pluto-container/src/main/java/org/apache/pluto/container/impl/RenderResponseImpl.java

      (2) pluto-taglib/src/main/java/org/apache/pluto/tags/BaseURLTag.java

      Since the string to be replaced is simple string literal that does not need to be compiled, i.e., not regular expression. Another API String.replace() should be used and recommended for better performance.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            asfgriff Neil Griffin
            bd2019us bd2019us

            Dates

              Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0h
              0h
              Logged:
              Time Spent - 50m
              50m

              Slack

                Issue deployment