mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
spare some memory: reuse the underlying string since we store it as map key anyway
This commit is contained in:
@@ -44,7 +44,7 @@ public class JarHandlerBase {
|
||||
|
||||
protected static class EntryInfo {
|
||||
public EntryInfo(final String shortName, final EntryInfo parent, final boolean directory) {
|
||||
this.shortName = new String(shortName);
|
||||
this.shortName = shortName;
|
||||
this.parent = parent;
|
||||
isDirectory = directory;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user