List<VirtualFile> (@NotNull List<VirtualFile> result) { if (MyRootsHelper.isInProgress()) return new ArrayList<>(result); List<VirtualFile> cachedRoots; List<VirtualFile> lonelyRoots; synchronized (myMonitor) { cachedRoots = myMoreRealMapping.getUnderVcsRoots(); lonelyRoots = myMoreRealMapping.getLonelyRoots(); } myProject.getService(SvnCompatibilityChecker.class).checkAndNotify(lonelyRoots); return new ArrayList<>(cachedRoots.isEmpty() ? result : cachedRoots); }