mbien commented on code in PR #9762:
URL: https://github.com/apache/netbeans/pull/9762#discussion_r4431603689
##########
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:
-> https://github.com/apache/netbeans/pull/9770
the only remaining purpose of the copy operation is to detach the entry from
the lifecycle of the jar. Its no cache in classical sense anymore since no
entry is ever reused.
--
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