bd2019us created UIMA-6023:
------------------------------

             Summary: change String.replaceAll() to replace() if the replaced 
one is plain string.
                 Key: UIMA-6023
                 URL: https://issues.apache.org/jira/browse/UIMA-6023
             Project: UIMA
          Issue Type: Bug
            Reporter: bd2019us


Location: 
uima-ducc-user/src/main/java/org/apache/uima/ducc/user/common/UimaUtils.java

The replaced string ("/") is a plain string, which need not to be compiled a 
head of time. Therefore, use the replaceAll() API may damage the performance 
since replaceAll() will compile the given string. The replace() method is 
recommended to improve performance.



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

Reply via email to