boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Repository that = (Repository)o; if (!getProject().equals(that.getProject())) return false; if (!getRoot().equals(that.getRoot())) return false; return true; }