Skip to content

Commit

Permalink
Merge pull request #11356 from qmonmert/typo131124
Browse files Browse the repository at this point in the history
Clean code
  • Loading branch information
murdos authored Nov 13, 2024
2 parents e9a0220 + fae0eff commit 2f01944
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

/**
* <p>
* Read version for an npm dependency
* Read version for a npm dependency
* </p>
*
* <p>
Expand Down
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 @@ -122,7 +122,7 @@ class HexagonalArchTest {
.mayNotBeAccessedByAnyLayer()
.whereLayer("secondary adapters")
.mayNotBeAccessedByAnyLayer()
.because("Each bounded context should implement an hexagonal architecture")
.because("Each bounded context should implement a hexagonal architecture")
.check(classes)
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ error.invalid-property-type.title=Type de propriété invalide
error.invalid-slug.detail=Slug invalide. Les slugs doivent être composés uniquement de lettres en minuscules, de nombres ou de tirets
error.invalid-slug.title=Slug invalide

error.invalid-tag.detail=Nom du tag {{ tag }} invalide, les tag doivent être uniquement constitués de lettres minuscules, de nombres ou de tirets
error.invalid-tag.detail=Nom du tag {{ tag }} invalide, les tags doivent être uniquement constitués de lettres minuscules, de nombres ou de tirets
error.invalid-tag.title=Tag invalide

error.invalid-toml-version-catalog-file.detail=Le fichier gradle/libs.versions.toml est invalide
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 2f01944

Please sign in to comment.