Say I have an Object that has 10 different fields. So what is the real different between these two implementations?
Using Apache EqualsBuilder
return new EqualsBuilder()
.append(field1, o.getField1())
.append(field2, o.getField2())
....
.isEquals();
Using Home built
return field1.equals(o.getField1())
&& field2.equals(o.getField2())
....;
Both implementations I have to main new additional fields or remove field when they are refactored. So I am not sure why people think EqualsBuilder is a good implementation?