boolean (@NotNull VirtualFile root) { boolean removed; synchronized (myLock) { removed = myState.repositories.remove(root.getPath()); } if (removed) myDispatcher.getMulticaster().onRepositoryRemoved(root); return removed; }