in dubbo-admin-server/src/main/java/org/apache/dubbo/admin/common/util/RouteUtils.java [669:688]
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
RouteUtils other = (RouteUtils) obj;
if (thenCondition == null) {
if (other.thenCondition != null)
return false;
} else if (!thenCondition.equals(other.thenCondition))
return false;
if (whenCondition == null) {
if (other.whenCondition != null)
return false;
} else if (!whenCondition.equals(other.whenCondition))
return false;
return true;
}