mbien commented on code in PR #9762:
URL: https://github.com/apache/netbeans/pull/9762#discussion_r4423010533
##########
platform/openide.filesystems/src/org/openide/filesystems/JarFileSystem.java:
##########
@@ -465,50 +467,32 @@ private InputStream getMemInputStream(JarFile jf,
JarEntry je) throws IOExceptio
return new ByteArrayInputStream(is.readAllBytes());
}
- private InputStream getTemporaryInputStream(JarFile jf, JarEntry je,
boolean forceRecreate)
- throws IOException {
- String filePath = jf.getName();
- String entryPath = je.getName();
+ private InputStream getTemporaryInputStream(JarFile jf, JarEntry je)
throws IOException {
StringBuffer jarCacheFolder = new StringBuffer("jarfscache"); //NOI18N
- jarCacheFolder.append(System.getProperty("user.name")).append("/");
//NOI18N
+ jarCacheFolder.append(System.getProperty("user.name")).append("/");
//NOI18N
Review Comment:
btw the user name indirection serves probably no purpose anymore since each
temp copy lives in its own namespace already.
@lukehutch do you agree?
--
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