diff --git a/src/main/java/org/springframework/data/gemfire/support/JSONRegionAdvice.java b/src/main/java/org/springframework/data/gemfire/support/JSONRegionAdvice.java index cb190bb1..b43c3411 100644 --- a/src/main/java/org/springframework/data/gemfire/support/JSONRegionAdvice.java +++ b/src/main/java/org/springframework/data/gemfire/support/JSONRegionAdvice.java @@ -25,10 +25,10 @@ import org.apache.commons.logging.LogFactory; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; +import org.codehaus.jackson.map.ObjectMapper; import org.springframework.data.gemfire.GemfireTemplate; import org.springframework.util.CollectionUtils; -import com.fasterxml.jackson.databind.ObjectMapper; import com.gemstone.gemfire.cache.Region; import com.gemstone.gemfire.cache.query.SelectResults; import com.gemstone.gemfire.cache.query.internal.ResultsBag; diff --git a/src/test/java/org/springframework/data/gemfire/support/JSONRegionAdviceTest.java b/src/test/java/org/springframework/data/gemfire/support/JSONRegionAdviceTest.java index ac3b9c06..a5989104 100644 --- a/src/test/java/org/springframework/data/gemfire/support/JSONRegionAdviceTest.java +++ b/src/test/java/org/springframework/data/gemfire/support/JSONRegionAdviceTest.java @@ -36,8 +36,8 @@ import com.gemstone.gemfire.cache.query.SelectResults; /** * @author David Turanski */ -@ContextConfiguration @RunWith(SpringJUnit4ClassRunner.class) +@ContextConfiguration @SuppressWarnings("unchecked") public class JSONRegionAdviceTest { diff --git a/src/test/resources/org/springframework/data/gemfire/support/JSONRegionAdviceTest-context.xml b/src/test/resources/org/springframework/data/gemfire/support/JSONRegionAdviceTest-context.xml index 49fa2de3..88259dec 100644 --- a/src/test/resources/org/springframework/data/gemfire/support/JSONRegionAdviceTest-context.xml +++ b/src/test/resources/org/springframework/data/gemfire/support/JSONRegionAdviceTest-context.xml @@ -1,30 +1,33 @@ +"> - - 127.0.0.1 + + JSONRegionAdviceTest + 0 + warning - - - - + + + + + + - - + +