mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
do not pollute logs in tests
GitOrigin-RevId: 160e84b98c69aec7d17743a99ea69dde082ad665
This commit is contained in:
committed by
intellij-monorepo-bot
parent
771dfe3f0d
commit
ab5e1e1fea
+7
-1
@@ -295,7 +295,13 @@ public class ProjectRootManagerComponent extends ProjectRootManagerImpl implemen
|
||||
private void synchronizeRoots() {
|
||||
if (!myStartupActivityPerformed) return;
|
||||
|
||||
myRootsChangedLogger.info("project roots have changed", new Throwable());
|
||||
String message = "project roots have changed";
|
||||
if (ApplicationManager.getApplication().isUnitTestMode()) {
|
||||
LOG.info(message);
|
||||
}
|
||||
else {
|
||||
myRootsChangedLogger.info(message, new Throwable());
|
||||
}
|
||||
|
||||
DumbServiceImpl dumbService = DumbServiceImpl.getInstance(myProject);
|
||||
if (FileBasedIndex.getInstance() instanceof FileBasedIndexImpl) {
|
||||
|
||||
Reference in New Issue
Block a user