mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
vcs: log amount of mapped roots for <Project> mappings
GitOrigin-RevId: 6c896994aa0ac7c9dabb2b3beefd3caf659043e7
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3420fcb266
commit
6b7d0bc427
+8
-5
@@ -191,9 +191,7 @@ public class NewMappings implements Disposable {
|
||||
myMappedRoots = newMappedRoots.mappedRoots;
|
||||
myFilePointerDisposable = newMappedRoots.filePointerDisposable;
|
||||
|
||||
if (LOG.isDebugEnabled()) {
|
||||
dumpMappedRootsToLog();
|
||||
}
|
||||
dumpMappedRootsToLog();
|
||||
}
|
||||
|
||||
if (fireMappingsChangedEvent) mappingsChanged();
|
||||
@@ -376,8 +374,13 @@ public class NewMappings implements Disposable {
|
||||
}
|
||||
|
||||
private void dumpMappedRootsToLog() {
|
||||
for (MappedRoot root : myMappedRoots) {
|
||||
LOG.info(String.format("Mapped Root: [%s] - [%s]", root.vcs, root.rootPath));
|
||||
if (LOG.isDebugEnabled()) {
|
||||
for (MappedRoot root : myMappedRoots) {
|
||||
LOG.debug(String.format("Mapped Root: [%s] - [%s]", root.vcs, root.rootPath));
|
||||
}
|
||||
}
|
||||
else if (haveDefaultMapping() != null) {
|
||||
LOG.info("Mapped Roots: " + myMappedRoots.size());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user