[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/marshall ...
Manik Surtani
manik at jboss.org
Mon Jun 11 09:10:15 EDT 2007
User: msurtani
Date: 07/06/11 09:10:15
Modified: tests/functional/org/jboss/cache/marshall
RedeploymentEmulationTest.java
Log:
Removed redundant casts
Revision Changes Path
1.8 +1 -2 JBossCache/tests/functional/org/jboss/cache/marshall/RedeploymentEmulationTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: RedeploymentEmulationTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/marshall/RedeploymentEmulationTest.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- RedeploymentEmulationTest.java 1 Jun 2007 15:10:53 -0000 1.7
+++ RedeploymentEmulationTest.java 11 Jun 2007 13:10:15 -0000 1.8
@@ -8,7 +8,6 @@
import junit.framework.TestCase;
import org.jboss.cache.Cache;
-import org.jboss.cache.CacheImpl;
import org.jboss.cache.DefaultCacheFactory;
import org.jboss.cache.Fqn;
import org.jboss.cache.Region;
@@ -39,7 +38,7 @@
protected void setUp() throws Exception
{
- cache = (CacheImpl) DefaultCacheFactory.getInstance().createCache(false);
+ cache = DefaultCacheFactory.getInstance().createCache(false);
cache.getConfiguration().setCacheMode(Configuration.CacheMode.LOCAL);
cache.getConfiguration().setUseRegionBasedMarshalling(true);
More information about the jboss-cvs-commits
mailing list