commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcucchi...@apache.org
Subject svn commit: r1187593 - /commons/proper/ognl/branches/new-cache-approach/src/test/java/org/apache/commons/ognl/internal/ConstructorCacheTest.java
Date Fri, 21 Oct 2011 23:40:20 GMT
Author: mcucchiara
Date: Fri Oct 21 23:40:20 2011
New Revision: 1187593

URL: http://svn.apache.org/viewvc?rev=1187593&view=rev
Log:
Corrected test

Modified:
    commons/proper/ognl/branches/new-cache-approach/src/test/java/org/apache/commons/ognl/internal/ConstructorCacheTest.java

Modified: commons/proper/ognl/branches/new-cache-approach/src/test/java/org/apache/commons/ognl/internal/ConstructorCacheTest.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/branches/new-cache-approach/src/test/java/org/apache/commons/ognl/internal/ConstructorCacheTest.java?rev=1187593&r1=1187592&r2=1187593&view=diff
==============================================================================
--- commons/proper/ognl/branches/new-cache-approach/src/test/java/org/apache/commons/ognl/internal/ConstructorCacheTest.java
(original)
+++ commons/proper/ognl/branches/new-cache-approach/src/test/java/org/apache/commons/ognl/internal/ConstructorCacheTest.java
Fri Oct 21 23:40:20 2011
@@ -11,15 +11,10 @@ import java.util.List;
 import static junit.framework.Assert.assertEquals;
 import static junit.framework.Assert.assertNotNull;
 
-/**
- * User: Maurizio Cucchiara
- * Date: 10/16/11
- * Time: 8:43 AM
- */
 public class ConstructorCacheTest
 {
     private int count;
-    ClassCache<List<Constructor<?>>> cache = new ConcurrentClassCache<List<Constructor<?>>>(new
CacheEntryFactory<Class<?>, List<Constructor<?>>>( )
+    ClassCache<List<Constructor<?>>> cache = new ConcurrentHashMapClassCache<List<Constructor<?>>>(new
CacheEntryFactory<Class<?>, List<Constructor<?>>>( )
     {
         public List<Constructor<?>> create( Class<?> key )
             throws CacheException



Mime
View raw message