Skip to content

Commit

Permalink
Merge pull request quarkusio#15807 from gsmet/fix-typo-error-message
Browse files Browse the repository at this point in the history
Fix typo in ArC error message
  • Loading branch information
geoand authored Mar 18, 2021
2 parents 280967a + c74a226 commit beda65e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ private void validateClass(ClassInfo classInfo, Member member) {
}
if (!classInfo.hasNoArgsConstructor()) {
throw new IllegalArgumentException(
String.format("Class '%s' which is used as %s in class '%s' must be have a no-args constructor", classInfo,
String.format("Class '%s' which is used as %s in class '%s' must have a no-args constructor", classInfo,
member.phraseUsage(), member.declaringClass().name().toString()));
}
if (!Modifier.isPublic(classInfo.flags())) {
Expand Down

0 comments on commit beda65e

Please sign in to comment.