List<Repo> (@NotNull final String branch, @NotNull List<? extends Repo> allRepositories) { return ContainerUtil.filter(allRepositories, repository -> !branch.equals(repository.getCurrentBranchName())); }