in aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/CodeCommitEvent.java [126:148]
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof Reference == false)
return false;
Reference other = (Reference) obj;
if (other.getCommit() == null ^ this.getCommit() == null)
return false;
if (other.getCommit() != null && other.getCommit().equals(this.getCommit()) == false)
return false;
if (other.getRef() == null ^ this.getRef() == null)
return false;
if (other.getRef() != null && other.getRef().equals(this.getRef()) == false)
return false;
if (other.getCreated() == null ^ this.getCreated() == null)
return false;
if (other.getCreated() != null && other.getCreated().equals(this.getCreated()) == false)
return false;
return true;
}