mbien commented on code in PR #6482:
URL: https://github.com/apache/netbeans/pull/6482#discussion_r1335069752
##########
ide/extbrowser/src/org/netbeans/modules/extbrowser/NbDdeBrowserImpl.java:
##########
@@ -413,7 +414,7 @@ private String getFileUrl(String url) {
while ((f == null) && (retries > 0)) {
retries--;
try {
- f = File.createTempFile("extbrowser", ".html");
// NOI18N
+ f = Files.createTempFile("extbrowser", ".html").toFile();
// NOI18N
Review Comment:
this is usually more secure since it retains the file permissions of the
process, however I just realized that this is windows so this doesn't matter...
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
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