String (Collection<? extends VcsRootError> roots) { String result = null; for (VcsRootError root : roots) { String vcsName = root.getMapping().getVcs(); if (result == null) { result = vcsName; } else if (!result.equals(vcsName)) { return VcsBundle.message("vcs.generic.name"); } } return result; }