MCPcopy Create free account
hub / github.com/apache/nutch / equals

Method equals

src/java/org/apache/nutch/api/model/request/SeedUrl.java:45–60  ·  view source on GitHub ↗
(Object obj)

Source from the content-addressed store, hash-verified

43 }
44
45 @Override
46 public boolean equals(Object obj) {
47 if (this == obj)
48 return true;
49 if (obj == null)
50 return false;
51 if (getClass() != obj.getClass())
52 return false;
53 SeedUrl other = (SeedUrl) obj;
54 if (id == null) {
55 if (other.id != null)
56 return false;
57 } else if (!id.equals(other.id))
58 return false;
59 return true;
60 }
61}

Callers 5

mainMethod · 0.45
findWorkerMethod · 0.45
getInfoMethod · 0.45
convertFieldMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected