Skip to content

Commit

Permalink
Typo: method=>methods
Browse files Browse the repository at this point in the history
  • Loading branch information
qmonmert committed Nov 13, 2024
1 parent 5830044 commit d21977f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class EqualsHashcodeArchTest {

private ArchCondition.ConditionByPredicate<JavaClass> implementBothOrNone() {
return ArchCondition.from(
new DescribedPredicate<>("Class should implement none or both method equals and hashcode") {
new DescribedPredicate<>("Class should implement none or both methods equals and hashcode") {
@Override
public boolean test(JavaClass clazz) {
return hasEquals(clazz) == hasHashCode(clazz);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void shouldHaveValidEqualsHashcodeContract() {

private ArchCondition.ConditionByPredicate<JavaClass> implementBothOrNone() {
return ArchCondition.from(
new DescribedPredicate<>("Class should implement none or both method equals and hashcode") {
new DescribedPredicate<>("Class should implement none or both methods equals and hashcode") {
@Override
public boolean test(JavaClass clazz) {
return hasEquals(clazz) == hasHashCode(clazz);
Expand Down

0 comments on commit d21977f

Please sign in to comment.