+ increase size to 256
master
Costin Leau 15 years ago
parent b32c4cfb8a
commit 39f81760f8
  1. 3
      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). * (i.e. per ".class" file).
* *
* @author Juergen Hoeller * @author Juergen Hoeller
* @author Costin Leau
* @since 2.5 * @since 2.5
*/ */
public class CachingMetadataReaderFactory extends SimpleMetadataReaderFactory { public class CachingMetadataReaderFactory extends SimpleMetadataReaderFactory {
private static final int MAX_ENTRIES = 50; private static final int MAX_ENTRIES = 256;
@SuppressWarnings("serial") @SuppressWarnings("serial")
private static final <K, V> Map<K, V> createLRUCache() { private static final <K, V> Map<K, V> createLRUCache() {

Loading…
Cancel
Save