From d21977f81020512f18bae1e6580066add068ae27 Mon Sep 17 00:00:00 2001 From: Quentin Date: Wed, 13 Nov 2024 21:58:35 +0100 Subject: [PATCH] Typo: method=>methods --- .../javatool/archunit/test/EqualsHashcodeArchTest.java.mustache | 2 +- src/test/java/tech/jhipster/lite/EqualsHashcodeArchTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);