bd2019us commented on a change in pull request #1207: Performance Save Patch - 
Replace replaceAll() with replace()
URL: https://github.com/apache/netbeans/pull/1207#discussion_r282704967
 
 

 ##########
 File path: 
apisupport/apisupport.ant/src/org/netbeans/modules/apisupport/project/universe/ModuleList.java
 ##########
 @@ -613,7 +613,7 @@ static void scanPossibleProject(File basedir, 
Map<String,ModuleEntry> entries,
                 } else {
                     // Wildcard. Convert to regexp and do a brute-force search.
                     // Not the most efficient option but should probably 
suffice.
-                    String regex = "\\Q" + pattern.replaceAll("\\*\\*", 
"__DBLASTERISK__"). // NOI18N
+                    String regex = "\\Q" + pattern.replace("\\*\\*", 
"__DBLASTERISK__"). // NOI18N
 
 Review comment:
   Correct. It has been reverted

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to