@Override
	public boolean equals(Object o) {
		if (this == o) {
			return true;
		}
		if (o == null || getClass() != o.getClass()) {
			return false;
		}
		EurekaInstanceRegisteredEvent that = (EurekaInstanceRegisteredEvent) o;
		return this.leaseDuration == that.leaseDuration && this.replication == that.replication
				&& Objects.equals(this.instanceInfo, that.instanceInfo);
	}
@author Spencer Gibb
@author Gregor Zurowski
spring-cloud-netflix-eureka-server/src/main/java/org/springframework/cloud/netflix/eureka/server/event/EurekaInstanceRegisteredEvent.java