|
48 | 48 | import org.hibernate.validator.internal.engine.messageinterpolation.parser.MessageDescriptorFormatException;
|
49 | 49 | import org.hibernate.validator.internal.metadata.descriptor.ConstraintDescriptorImpl.ConstraintType;
|
50 | 50 | import org.hibernate.validator.internal.metadata.location.ConstraintLocation;
|
| 51 | +import org.hibernate.validator.internal.util.logging.formatter.ArrayOfClassesObjectFormatter; |
51 | 52 | import org.hibernate.validator.internal.util.logging.formatter.ClassObjectFormatter;
|
52 | 53 | import org.hibernate.validator.internal.util.logging.formatter.CollectionOfClassesObjectFormatter;
|
53 | 54 | import org.hibernate.validator.internal.util.logging.formatter.CollectionOfObjectsToStringFormatter;
|
54 | 55 | import org.hibernate.validator.internal.util.logging.formatter.DurationFormatter;
|
55 | 56 | import org.hibernate.validator.internal.util.logging.formatter.ExecutableFormatter;
|
56 | 57 | import org.hibernate.validator.internal.util.logging.formatter.ObjectArrayFormatter;
|
57 | 58 | import org.hibernate.validator.internal.util.logging.formatter.TypeFormatter;
|
58 |
| -import org.hibernate.validator.internal.xml.ContainerElementTypePath; |
| 59 | +import org.hibernate.validator.internal.xml.mapping.ContainerElementTypePath; |
59 | 60 | import org.hibernate.validator.spi.scripting.ScriptEvaluationException;
|
60 | 61 | import org.hibernate.validator.spi.scripting.ScriptEvaluatorFactory;
|
61 | 62 | import org.hibernate.validator.spi.scripting.ScriptEvaluatorNotFoundException;
|
@@ -379,7 +380,7 @@ RuntimeException getTryingToInstantiateAnnotationWithUnknownAttributesException(
|
379 | 380 | ValidationException getIsNotAConstraintValidatorClassException(@FormatWith(ClassObjectFormatter.class) Class<?> validatorClass);
|
380 | 381 |
|
381 | 382 | @Message(id = 103, value = "%s is configured at least twice in xml.")
|
382 |
| - ValidationException getBeanClassHasAlreadyBeConfiguredInXmlException(@FormatWith(ClassObjectFormatter.class) Class<?> beanClass); |
| 383 | + ValidationException getBeanClassHasAlreadyBeenConfiguredInXmlException(@FormatWith(ClassObjectFormatter.class) Class<?> beanClass); |
383 | 384 |
|
384 | 385 | @Message(id = 104, value = "%1$s is defined twice in mapping xml for bean %2$s.")
|
385 | 386 | ValidationException getIsDefinedTwiceInMappingXmlForBeanException(String name, @FormatWith(ClassObjectFormatter.class) Class<?> beanClass);
|
@@ -468,14 +469,14 @@ ConstraintDeclarationException getMultipleGroupConversionsForSameSourceException
|
468 | 469 |
|
469 | 470 | @Message(id = 133, value = "%1$s does not contain a constructor with the parameter types %2$s.")
|
470 | 471 | ValidationException getBeanDoesNotContainConstructorException(@FormatWith(ClassObjectFormatter.class) Class<?> beanClass,
|
471 |
| - @FormatWith(CollectionOfClassesObjectFormatter.class) List<Class<?>> parameterTypes); |
| 472 | + @FormatWith(ArrayOfClassesObjectFormatter.class) Class<?>[] parameterTypes); |
472 | 473 |
|
473 | 474 | @Message(id = 134, value = "Unable to load parameter of type '%1$s' in %2$s.")
|
474 | 475 | ValidationException getInvalidParameterTypeException(String type, @FormatWith(ClassObjectFormatter.class) Class<?> beanClass);
|
475 | 476 |
|
476 | 477 | @Message(id = 135, value = "%1$s does not contain a method with the name '%2$s' and parameter types %3$s.")
|
477 | 478 | ValidationException getBeanDoesNotContainMethodException(@FormatWith(ClassObjectFormatter.class) Class<?> beanClass, String methodName,
|
478 |
| - @FormatWith(CollectionOfClassesObjectFormatter.class) List<Class<?>> parameterTypes); |
| 479 | + @FormatWith(ArrayOfClassesObjectFormatter.class) Class<?>[] parameterTypes); |
479 | 480 |
|
480 | 481 | @Message(id = 136, value = "The specified constraint annotation class %1$s cannot be loaded.")
|
481 | 482 | ValidationException getUnableToLoadConstraintAnnotationClassException(String constraintAnnotationClassName, @Cause Exception e);
|
|
0 commit comments