fix punctuation in error message
Signed-off-by: Gavin King <gavin@hibernate.org>
This commit is contained in:
parent
a5f1925b69
commit
386e7542f9
|
@ -446,9 +446,8 @@ public class PropertyBinder {
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue