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;
@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) {
};
}