You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/11/30 21:41:00 UTC

[jira] [Updated] (HDDS-2655) Use pre-compiled Pattern in NetUtils#normalize

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

ASF GitHub Bot updated HDDS-2655:
---------------------------------
    Labels: pull-request-available  (was: )

> Use pre-compiled Pattern in NetUtils#normalize
> ----------------------------------------------
>
>                 Key: HDDS-2655
>                 URL: https://issues.apache.org/jira/browse/HDDS-2655
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Minor
>              Labels: pull-request-available
>
> {{NetUtils#normalize}} uses {{String#replaceAll}}, which creates a {{Pattern}} for each call.  It could be replaced with a pre-compiled {{Pattern}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org