void (final VcsRoot[] allRoots) { final String ourPath = myRoot.getUrl(); for (VcsRoot root : allRoots) { final AbstractVcs vcs = root.getVcs(); if (vcs == null || Objects.equals(vcs.getName(), myVcsName)) continue; final String url = root.getPath().getUrl(); if (url.startsWith(ourPath)) { myExcludedByOthers.add(url); } } myExcludedByOthers.sort(StringLenComparator.getDescendingInstance()); }