From 8dfcae535e19b0c80dabf8fdbad81fbcd8ba8246 Mon Sep 17 00:00:00 2001 From: Costin Leau Date: Tue, 17 May 2011 18:16:07 +0000 Subject: [PATCH] revise cache API + update failing test --- .../springframework/cache/vendor/AbstractNativeCacheTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.springframework.context/src/test/java/org/springframework/cache/vendor/AbstractNativeCacheTest.java b/org.springframework.context/src/test/java/org/springframework/cache/vendor/AbstractNativeCacheTest.java index 55abdf165b..45832d66cc 100644 --- a/org.springframework.context/src/test/java/org/springframework/cache/vendor/AbstractNativeCacheTest.java +++ b/org.springframework.context/src/test/java/org/springframework/cache/vendor/AbstractNativeCacheTest.java @@ -63,7 +63,7 @@ public abstract class AbstractNativeCacheTest { assertNull(cache.get(key)); cache.put(key, value); - assertEquals(value, cache.get(key)); + assertEquals(value, cache.get(key).get()); } @Test