You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2019/11/30 19:14:00 UTC
[jira] [Created] (HDDS-2655) Use pre-compiled Pattern in
NetUtils#normalize
Attila Doroszlai created HDDS-2655:
--------------------------------------
Summary: 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
{{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