boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; TaskInfo info = (TaskInfo)o; if (myRemote != info.myRemote) return false; if (!myBranch.equals(info.myBranch)) return false; return myRepositories.size() == info.myRepositories.size() && myRepositories.containsAll(info.myRepositories); }