From 39f81760f8c5634e4b7e0660e68583b354762ceb Mon Sep 17 00:00:00 2001 From: Costin Leau Date: Thu, 28 Jan 2010 16:03:07 +0000 Subject: [PATCH] SPR-6775 + increase size to 256 --- .../core/type/classreading/CachingMetadataReaderFactory.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org.springframework.core/src/main/java/org/springframework/core/type/classreading/CachingMetadataReaderFactory.java b/org.springframework.core/src/main/java/org/springframework/core/type/classreading/CachingMetadataReaderFactory.java index c5c2464778..44a4f86783 100644 --- a/org.springframework.core/src/main/java/org/springframework/core/type/classreading/CachingMetadataReaderFactory.java +++ b/org.springframework.core/src/main/java/org/springframework/core/type/classreading/CachingMetadataReaderFactory.java @@ -30,11 +30,12 @@ import org.springframework.core.io.ResourceLoader; * (i.e. per ".class" file). * * @author Juergen Hoeller + * @author Costin Leau * @since 2.5 */ public class CachingMetadataReaderFactory extends SimpleMetadataReaderFactory { - private static final int MAX_ENTRIES = 50; + private static final int MAX_ENTRIES = 256; @SuppressWarnings("serial") private static final Map createLRUCache() {