Polishing.

Minor formatting changes.

Original pull request #2874
See #2719
This commit is contained in:
Jens Schauder
2023-07-13 09:09:47 +02:00
parent dc999a8193
commit 4650c9c68a
2 changed files with 2 additions and 1 deletions

View File

@@ -230,6 +230,7 @@ class DefaultAuditableBeanWrapperFactory implements AuditableBeanWrapperFactory
}
private static IllegalArgumentException rejectUnsupportedType(Class<?> sourceType, Class<?> targetType) {
return new IllegalArgumentException(
String.format("Cannot convert unsupported date type %s to %s; Supported types are %s", sourceType.getName(),
targetType.getName(), AnnotationAuditingMetadata.SUPPORTED_DATE_TYPES));