[ 
https://issues.apache.org/jira/browse/LENS-1543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

bd2019us updated LENS-1543:
---------------------------
    Attachment: 1.patch

> change String.replaceAll() to replace() to improve performance.
> ---------------------------------------------------------------
>
>                 Key: LENS-1543
>                 URL: https://issues.apache.org/jira/browse/LENS-1543
>             Project: Apache Lens
>          Issue Type: Bug
>          Components: cube
>            Reporter: bd2019us
>            Priority: Major
>         Attachments: 1.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Location: lens-cube/src/main/java/org/apache/lens/cube/metadata/DateUtil.java
> Since the string to be replaced is not complicated regular expression, the 
> other one (String.replace()) is recommended as it is more efficient than 
> replaceAll() without pre-compiling.



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

Reply via email to