mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
skip index data initialization if the directory doesn't exist
This commit is contained in:
@@ -53,6 +53,9 @@ public class TestDiscoveryIndex implements ProjectComponent {
|
||||
ApplicationManager.getApplication().executeOnPooledThread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
String path = TestDiscoveryExtension.baseTestDiscoveryPathForProject(myProject);
|
||||
if (!new File(path).exists()) return;
|
||||
|
||||
getHolder(); // proactively init with maybe io costly compact
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user