boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; VcsRoot root = (VcsRoot)o; return Objects.equals(myPath, root.myPath) && Objects.equals(myVcs, root.myVcs); }