mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[refactoring] IJPL-3459: renaming
GitOrigin-RevId: ec7d92508b391200292b089201c9dd9ccd298e39
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4c9572f7b9
commit
81224762d6
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user