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_r282707970
##########
File path:
ide/project.ant/src/org/netbeans/modules/project/ant/AntBasedProjectFactorySingleton.java
##########
@@ -374,7 +374,7 @@ private Document loadProjectXml(File projectDiskFile)
throws IOException {
String msg = e.getMessage().
// org/apache/xerces/impl/msg/XMLSchemaMessages.properties
validation (3.X.4)
replaceFirst("^cvc-[^:]+: ", ""). // NOI18N
- replaceAll("http://www.netbeans.org/ns/", ".../"); //
NOI18N
+ replace("http://www.netbeans.org/ns/", ".../"); // NOI18N
Review comment:
Correct, now the literal string **http://www.netbeans.org/ns/** is matched
instead of http://www<any_character_here>netbeans.org/ns/
----------------------------------------------------------------
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