@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; CvsRepositoryItem that = (CvsRepositoryItem) o; if (location != null ? !location.equals(that.location) : that.location != null) return false; if (!Arrays.equals(modules, that.modules)) return false; return true; }
@Override public int hashCode() { int result = modules != null ? Arrays.hashCode(modules) : 0; result = 31 * result + (location != null ? location.hashCode() : 0); return result; }