[ https://issues.apache.org/jira/browse/UIMA-6023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marshall Schor updated UIMA-6023: --------------------------------- Component/s: (was: Ruta) DUCC > 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 > Components: DUCC > Reporter: bd2019us > Priority: Major > Labels: pull-request-available > Attachments: 1.patch > > > 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)