diff --git a/src/main/resources/generator/server/javatool/archunit/test/EqualsHashcodeArchTest.java.mustache b/src/main/resources/generator/server/javatool/archunit/test/EqualsHashcodeArchTest.java.mustache index c7dc65aafd6..04932501d4e 100644 --- a/src/main/resources/generator/server/javatool/archunit/test/EqualsHashcodeArchTest.java.mustache +++ b/src/main/resources/generator/server/javatool/archunit/test/EqualsHashcodeArchTest.java.mustache @@ -27,7 +27,7 @@ class EqualsHashcodeArchTest { private ArchCondition.ConditionByPredicate 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); diff --git a/src/test/java/tech/jhipster/lite/EqualsHashcodeArchTest.java b/src/test/java/tech/jhipster/lite/EqualsHashcodeArchTest.java index 75d7b388706..a9a068a91b4 100644 --- a/src/test/java/tech/jhipster/lite/EqualsHashcodeArchTest.java +++ b/src/test/java/tech/jhipster/lite/EqualsHashcodeArchTest.java @@ -27,7 +27,7 @@ void shouldHaveValidEqualsHashcodeContract() { private ArchCondition.ConditionByPredicate 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);