Skip to content

Commit

Permalink
#315: fixes transient field error in JDK 11 and up
Browse files Browse the repository at this point in the history
  • Loading branch information
jqno committed Jun 11, 2020
1 parent 7c85ef3 commit 770f77b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public void succeed_whenEqualsIsInheritedButNotFromObject() {
succeed_whenClassIsAnExceptionAndEqualsIsInheritedDirectlyFromObject_givenDetailMessageIsIgnored() {
EqualsVerifier.forClass(SimpleException.class)
.suppress(Warning.INHERITED_DIRECTLY_FROM_OBJECT)
.suppress(Warning.ALL_FIELDS_SHOULD_BE_USED)
.suppress(Warning.ALL_FIELDS_SHOULD_BE_USED, Warning.TRANSIENT_FIELDS)
.verify();
}

Expand Down

0 comments on commit 770f77b

Please sign in to comment.