You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "bd2019us (JIRA)" <ji...@apache.org> on 2019/04/14 02:01:00 UTC
[jira] [Created] (PLUTO-778) change String.replaceAll() to
replace() to improve performance.
bd2019us created PLUTO-778:
------------------------------
Summary: change String.replaceAll() to replace() to improve performance.
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/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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)