in src/main/java/org/apache/commons/ognl/ObjectIndexedPropertyDescriptor.java [120:154]
public boolean equals(Object o) {
if (this == o)
{
return true;
}
if (!(o instanceof ObjectIndexedPropertyDescriptor))
{
return false;
}
if (!super.equals(o))
{
return false;
}
ObjectIndexedPropertyDescriptor that = (ObjectIndexedPropertyDescriptor) o;
if (indexedReadMethod != null ? !indexedReadMethod.equals(that.indexedReadMethod) : that.indexedReadMethod != null)
{
return false;
}
if (indexedWriteMethod != null ? !indexedWriteMethod.equals(that.indexedWriteMethod) : that.indexedWriteMethod != null)
{
return false;
}
if (propertyType != null ? !propertyType.equals(that.propertyType) : that.propertyType != null)
{
return false;
}
return true;
}