[jira] [Created] (PLUTO-778) change String.replaceAll() to replace() to improve performance.

"bd2019us (JIRA)" <[email protected]> Sun, 14 Apr 2019 02:01:00 +0000 (UTC)
Newsgroups gmane.comp.jakarta.pluto.devel
Message-ID <[email protected]>
bd2019us created PLUTO-778:
------------------------------

             Summary: change String.replaceAll() to replace() to improve pe=
rformance.
                 Key: PLUTO-778
                 URL: https://issues.apache.org/jira/browse/PLUTO-778
             Project: Pluto
          Issue Type: Bug
            Reporter: bd2019us
            Assignee: Scott Nicklous


Location:

(1) pluto-container/src/main/java/org/apache/pluto/container/impl/RenderRes=
ponseImpl.java

(2)=C2=A0pluto-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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)