[refactoring] IJPL-3459: renaming

GitOrigin-RevId: ec7d92508b391200292b089201c9dd9ccd298e39
This commit is contained in:
Ruslan Cheremin
2024-07-16 18:59:34 +02:00
committed by intellij-monorepo-bot
parent 4c9572f7b9
commit 81224762d6
2 changed files with 4 additions and 4 deletions

View File

@@ -155,7 +155,7 @@ final class FileBasedIndexDataInitialization extends IndexDataInitializer<FileBa
private static class ShutdownTaskAsDisposable implements Disposable {
@Override
public void dispose() {
new FileBasedIndexImpl.MyShutDownTask(false).run();
new FileBasedIndexImpl.ShutDownIndexesTask(/*byShutDownHook: */ false).run();
}
}

View File

@@ -327,7 +327,7 @@ public final class FileBasedIndexImpl extends FileBasedIndexEx {
}
void setUpShutDownTask() {
myShutDownTask = new MyShutDownTask(true);
myShutDownTask = new ShutDownIndexesTask(/*byShutDownHook: */ true);
ShutDownTracker.getInstance().registerCacheShutdownTask(myShutDownTask);
}
@@ -1251,10 +1251,10 @@ public final class FileBasedIndexImpl extends FileBasedIndexEx {
}
}
static final class MyShutDownTask implements Runnable {
static final class ShutDownIndexesTask implements Runnable {
private final boolean calledByShutdownHook;
MyShutDownTask(boolean calledByShutdownHook) { this.calledByShutdownHook = calledByShutdownHook; }
ShutDownIndexesTask(boolean calledByShutdownHook) { this.calledByShutdownHook = calledByShutdownHook; }
@Override
public void run() {