added support for Spring RC2

This commit is contained in:
Josh Long
2011-12-04 12:44:30 -08:00
parent 89118c4f5b
commit daec16d59f
3 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@
package org.springframework.data.gemfire.support;
import org.springframework.cache.Cache;
import org.springframework.cache.support.ValueWrapperImpl;
import org.springframework.cache.support.SimpleValueWrapper;
import com.gemstone.gemfire.cache.GemFireCache;
import com.gemstone.gemfire.cache.Region;
@@ -62,7 +62,7 @@ public class GemfireCache implements Cache {
public ValueWrapper get(Object key) {
Object value = region.get(key);
return (value == null ? null : new ValueWrapperImpl(value));
return (value == null ? null : new SimpleValueWrapper(value));
}
public void put(Object key, Object value) {