boolean () { boolean successFound = false; boolean failureFound = false; for (GitCommandResult result : resultsByRepos.values()) { if (result.success()) { successFound = true; } else { failureFound = true; } } return successFound && failureFound; }