in mr/src/main/java/org/elasticsearch/hadoop/serialization/dto/ShardInfo.java [61:90]
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
ShardInfo other = (ShardInfo) obj;
if (index == null) {
if (other.index != null)
return false;
}
else if (!index.equals(other.index))
return false;
if (id == null) {
if (other.id != null)
return false;
}
else if (!id.equals(other.id))
return false;
if (node == null) {
if (other.node != null)
return false;
}
else if (!node.equals(other.node))
return false;
return true;
}