directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r348148 - /directory/shared/ldap/trunk/common/src/main/java/org/apache/ldap/common/schema/CachingNormalizer.java
Date Tue, 22 Nov 2005 10:44:45 GMT
Author: elecharny
Date: Tue Nov 22 02:44:41 2005
New Revision: 348148

URL: http://svn.apache.org/viewcvs?rev=348148&view=rev
Log:
Changed due to the renamming of LRUMap

Modified:
    directory/shared/ldap/trunk/common/src/main/java/org/apache/ldap/common/schema/CachingNormalizer.java

Modified: directory/shared/ldap/trunk/common/src/main/java/org/apache/ldap/common/schema/CachingNormalizer.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/trunk/common/src/main/java/org/apache/ldap/common/schema/CachingNormalizer.java?rev=348148&r1=348147&r2=348148&view=diff
==============================================================================
--- directory/shared/ldap/trunk/common/src/main/java/org/apache/ldap/common/schema/CachingNormalizer.java
(original)
+++ directory/shared/ldap/trunk/common/src/main/java/org/apache/ldap/common/schema/CachingNormalizer.java
Tue Nov 22 02:44:41 2005
@@ -19,7 +19,7 @@
 
 import javax.naming.NamingException;
 
-import org.apache.ldap.common.util.LRUMap;
+import org.apache.ldap.common.util.SynchronizedLRUMap;
 
 
 /**
@@ -34,7 +34,7 @@
     public static final int CACHE_MAX = 250 ;
     
     /** Least recently used cache */
-    private final LRUMap cache ;
+    private final SynchronizedLRUMap cache ;
     /** The underlying decorated Normalizer */
     private final Normalizer normalizer;
 
@@ -66,7 +66,7 @@
     public CachingNormalizer( Normalizer normalizer, int cacheSz )
     {
         this.normalizer = normalizer;
-        cache = new LRUMap( cacheSz ) ;
+        cache = new SynchronizedLRUMap( cacheSz ) ;
     }
 
 



Mime
View raw message