Skip to content

Commit

Permalink
fix punctuation in error message
Browse files Browse the repository at this point in the history
Signed-off-by: Gavin King <[email protected]>
  • Loading branch information
gavinking authored and sebersole committed May 28, 2024
1 parent 47ce340 commit a96b7f9
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -447,9 +447,8 @@ private GeneratorCreator getValueGenerationFromAnnotations(MemberDetails propert
final GeneratorCreator candidate = generatorCreator( property, usage, buildingContext );
if ( candidate != null ) {
if ( creator != null ) {
throw new AnnotationException( String.format(
"Property `%s` has multiple '@ValueGenerationType' annotations", qualify( holder.getPath(), name )
) );
throw new AnnotationException( "Property '" + qualify( holder.getPath(), name )
+ "' has multiple '@ValueGenerationType' annotations" );
}
else {
creator = candidate;
Expand Down

0 comments on commit a96b7f9

Please sign in to comment.