mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-140831 - assert: ProjectLevelVcsManagerImpl.stopBackgroundTask
Do not use potentially mutable VirtualFile.getPath() for equality checks.
This commit is contained in:
@@ -37,6 +37,6 @@ public class VcsAnnotateUtil {
|
||||
|
||||
@NotNull
|
||||
public static BackgroundableActionLock getBackgroundableLock(@NotNull Project project, @NotNull VirtualFile file) {
|
||||
return BackgroundableActionLock.getLock(project, VcsBackgroundableActions.ANNOTATE, file.getPath());
|
||||
return BackgroundableActionLock.getLock(project, VcsBackgroundableActions.ANNOTATE, file);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user