Polishing

(cherry picked from commit acefd83)
This commit is contained in:
Juergen Hoeller
2014-11-02 11:38:35 +01:00
parent e989b2621f
commit 285dca027b
3 changed files with 12 additions and 13 deletions

View File

@@ -45,7 +45,7 @@ public class TypeDescriptor implements Serializable {
static final Annotation[] EMPTY_ANNOTATION_ARRAY = new Annotation[0];
private static final Map<Class<?>, TypeDescriptor> commonTypesCache = new HashMap<Class<?>, TypeDescriptor>();
private static final Map<Class<?>, TypeDescriptor> commonTypesCache = new HashMap<Class<?>, TypeDescriptor>(18);
private static final Class<?>[] CACHED_COMMON_TYPES = {
boolean.class, Boolean.class, byte.class, Byte.class, char.class, Character.class,