You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2019/11/30 21:40:28 UTC

[GitHub] [hadoop-ozone] adoroszlai opened a new pull request #285: HDDS-2655. Use pre-compiled Pattern in NetUtils#normalize

adoroszlai opened a new pull request #285: HDDS-2655. Use pre-compiled Pattern in NetUtils#normalize
URL: https://github.com/apache/hadoop-ozone/pull/285
 
 
   ## What changes were proposed in this pull request?
   
   Replace `String#replaceAll` in `NetUtils#normalize` with a pre-compiled `Pattern`, which is better for performance.
   
   https://issues.apache.org/jira/browse/HDDS-2655
   
   ## How was this patch tested?
   
   Added unit test (`TestNetUtils`).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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