You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2019/05/05 18:28:51 UTC

[GitHub] [netbeans] matthiasblaesing commented on issue #1207: Performance Save Patch - Replace replaceAll() with replace()

matthiasblaesing commented on issue #1207: Performance Save Patch - Replace replaceAll() with replace()
URL: https://github.com/apache/netbeans/pull/1207#issuecomment-489451040
 
 
   You'll need to update your approach and/or scanning technology. One example from your file:
   
   filename = filename.replaceAll("Controller$", "");
   
   You claim:
   
   > these 117 use string literals in both replaceAll() parameters and use no form of regex.
   
   That claim is wrong. The above sample contains an end-of-line matcher, so that is a valid regular expression and could not be replaced with String#replace.

----------------------------------------------------------------
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: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists