Change initialCapacity in AnnotationAuditingMetadata to match the number of data being added.

As support for Joda Time has been removed from the PR below, the amount of data added has been reduced. So I change the initialCapacity of List from 5 to 3.

Closes #2668
This commit is contained in:
MINSOO, NAM
2022-08-05 16:12:12 +09:00
committed by GitHub
parent d9c45a1bcd
commit e9852fcdc7

View File

@@ -58,7 +58,7 @@ final class AnnotationAuditingMetadata {
static {
List<String> types = new ArrayList<>(5);
List<String> types = new ArrayList<>(3);
types.add(Date.class.getName());
types.add(Long.class.getName());
types.add(long.class.getName());