boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; PathMapping mapping = (PathMapping)o; if (!Objects.equals(myLocalRoot, mapping.myLocalRoot)) return false; if (!Objects.equals(myRemoteRoot, mapping.myRemoteRoot)) return false; return true; }