mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
indexes: remove equivalence object from UnindexedFilesUpdater
GitOrigin-RevId: b8c6ff12d8c70e385fa2c86b6328ef1f53425543
This commit is contained in:
committed by
intellij-monorepo-bot
parent
02d1fd1395
commit
184af1e4f5
@@ -14,14 +14,6 @@ import org.jetbrains.annotations.NotNull;
|
||||
public abstract class DumbModeTask implements Disposable {
|
||||
private final Object myEquivalenceObject;
|
||||
|
||||
/**
|
||||
* @deprecated using of that constructor likely disables merging
|
||||
* of similar tasks in the {@link DumbService#queueTask(DumbModeTask)}.
|
||||
* Use the {@link DumbModeTask#DumbModeTask(Object)} to specify equivalence
|
||||
* clearly.
|
||||
* @see #getEquivalenceObject() for details
|
||||
*/
|
||||
@Deprecated
|
||||
public DumbModeTask() {
|
||||
myEquivalenceObject = this;
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ public final class UnindexedFilesUpdater extends DumbModeTask {
|
||||
private final PushedFilePropertiesUpdater myPusher;
|
||||
|
||||
public UnindexedFilesUpdater(@NotNull Project project, boolean startSuspended) {
|
||||
super(project);
|
||||
// should not provide equivalence object
|
||||
myProject = project;
|
||||
myStartSuspended = startSuspended;
|
||||
myPusher = PushedFilePropertiesUpdater.getInstance(myProject);
|
||||
|
||||
Reference in New Issue
Block a user