Hello,
Thank you for a great product. I just wanted to notify you that the code
example shown in the DiffBuilder documentation (
https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/builder/DiffBuilder.html)
for the DiffBuilder deprecation is syntactically incorrect. It should be
corrected to (the change is shown in bold)
public DiffResult diff(Person obj) {
// No need for null check, as NullPointerException correct if obj is null
return new *DiffBuilder.Builder<Person>()*
.setLeft(this)
.setRight(obj)
.setStyle(ToStringStyle.SHORT_PREFIX_STYLE))
.build()
.append("name", this.name, obj.name)
.append("age", this.age, obj.age)
.append("smoker", this.smoker, obj.smoker)
.build();
}