boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; BranchInfo info = (BranchInfo)o; if (original != info.original) return false; if (name != null ? !name.equals(info.name) : info.name != null) return false; if (repository != null ? !repository.equals(info.repository) : info.repository != null) return false; return true; }