Cleanup: remove redundant type parameters
[yangtools.git] / common / object-cache-api / src / test / java / org / opendaylight / yangtools / objcache / spi / CacheTest.java
index 483ef26b68db976036541ac2a6dd16c383183c94..9b7fb55efd1c6de1994e239533c6ce87e816c8f2 100644 (file)
@@ -15,7 +15,6 @@ import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
 import org.opendaylight.yangtools.objcache.ObjectCache;
-import org.opendaylight.yangtools.objcache.spi.AbstractObjectCache.SoftKey;
 
 import com.google.common.base.FinalizableReferenceQueue;
 import com.google.common.cache.CacheBuilder;
@@ -27,7 +26,7 @@ public class CacheTest {
     @Before
     public void setUp() {
         queue = new FinalizableReferenceQueue();
-        oc = new AbstractObjectCache(CacheBuilder.newBuilder().softValues().<SoftKey<?>, Object>build(), queue) {
+        oc = new AbstractObjectCache(CacheBuilder.newBuilder().softValues().build(), queue) {
         };
     }