jtulach commented on code in PR #9762:
URL: https://github.com/apache/netbeans/pull/9762#discussion_r4430668655
##########
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:
Yes, I agree. The manual mangling with `user.name` property seems
superfluous. However we can leave it for another issue. I'll merge this one now.
--
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