diff --git a/.classpath b/.classpath
index b33282f16..9e782b997 100644
--- a/.classpath
+++ b/.classpath
@@ -7,32 +7,32 @@
-
-
+
+
+
+
+
+
-
-
-
+
-
-
+
-
-
+
+
-
diff --git a/gradle.properties b/gradle.properties
index 343d34c93..26addf682 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -5,7 +5,7 @@ log4jVersion = 1.2.16
slf4jVersion = 1.6.3
# Common libraries
-springVersion = 3.1.0.RC1
+springVersion = 3.1.0.RC2
jacksonVersion = 1.8.5
# Testing
diff --git a/src/main/java/org/springframework/data/redis/cache/RedisCache.java b/src/main/java/org/springframework/data/redis/cache/RedisCache.java
index 8d1e38ba0..8a8bc2405 100644
--- a/src/main/java/org/springframework/data/redis/cache/RedisCache.java
+++ b/src/main/java/org/springframework/data/redis/cache/RedisCache.java
@@ -20,7 +20,7 @@ import java.util.Arrays;
import java.util.Set;
import org.springframework.cache.Cache;
-import org.springframework.cache.support.ValueWrapperImpl;
+import org.springframework.cache.support.SimpleValueWrapper;
import org.springframework.dao.DataAccessException;
import org.springframework.data.redis.connection.RedisConnection;
import org.springframework.data.redis.core.RedisCallback;
@@ -88,7 +88,7 @@ class RedisCache implements Cache {
public ValueWrapper doInRedis(RedisConnection connection) throws DataAccessException {
waitForLock(connection);
byte[] bs = connection.get(computeKey(key));
- return (bs == null ? null : new ValueWrapperImpl(template.getValueSerializer().deserialize(bs)));
+ return (bs == null ? null : new SimpleValueWrapper(template.getValueSerializer().deserialize(bs)));
}
}, true);
}