Skip to content

Commit

Permalink
recursive equal on reflection (#4475)
Browse files Browse the repository at this point in the history
  • Loading branch information
yue9944882 authored and wing328 committed Nov 14, 2019
1 parent 4a91e62 commit 287af4a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#parcela
@Override
public boolean equals(java.lang.Object o) {
{{#useReflectionEqualsHashCode}}
return EqualsBuilder.reflectionEquals(this, o);
return EqualsBuilder.reflectionEquals(this, o, false, null, true);
{{/useReflectionEqualsHashCode}}
{{^useReflectionEqualsHashCode}}
if (this == o) {
Expand Down

0 comments on commit 287af4a

Please # to comment.