mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[gradle] tool window performance: avoid disk hit when calculating task id
GitOrigin-RevId: aa792e7df8ad71941410d0afbcca400ca3ce4160
This commit is contained in:
committed by
intellij-monorepo-bot
parent
aecddd76db
commit
9943c092ee
+1
-1
@@ -57,7 +57,7 @@ public class ExternalSystemShortcutsManager implements Disposable {
|
||||
if (projectPath != null) {
|
||||
String portablePath = FileUtil.toSystemIndependentName(projectPath);
|
||||
File file = new File(portablePath);
|
||||
result.append(file.isFile() && file.getParentFile() != null ? file.getParentFile().getName() : file.getName());
|
||||
result.append(file.getParentFile() != null ? file.getParentFile().getName() : file.getName());
|
||||
result.append(Integer.toHexString(portablePath.hashCode()));
|
||||
|
||||
if (taskName != null) result.append(taskName);
|
||||
|
||||
Reference in New Issue
Block a user