Merge pull request #10 from joshlong/master
Spring RC2 update (ValueWrapperImpl => SimpleValueWrapper)
This commit is contained in:
@@ -5,7 +5,7 @@ log4jVersion = 1.2.16
|
||||
slf4jVersion = 1.6.1
|
||||
|
||||
# Common libraries
|
||||
springVersion = 3.1.0.RC1
|
||||
springVersion = 3.1.0.RC2
|
||||
gemfireVersion = 6.6.1
|
||||
|
||||
# Testing
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user