[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/pojo/jmx ...
Manik Surtani
manik at jboss.org
Wed May 23 06:31:22 EDT 2007
User: msurtani
Date: 07/05/23 06:31:22
Modified: tests/functional/org/jboss/cache/pojo/jmx
PojoCacheLegacyJmxWrapperTest.java
Log:
Also ran an imports optimiser on the code base - there were a lot of unused imports floating about.
Revision Changes Path
1.2 +158 -161 JBossCache/tests/functional/org/jboss/cache/pojo/jmx/PojoCacheLegacyJmxWrapperTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: PojoCacheLegacyJmxWrapperTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/pojo/jmx/PojoCacheLegacyJmxWrapperTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- PojoCacheLegacyJmxWrapperTest.java 23 May 2007 05:46:20 -0000 1.1
+++ PojoCacheLegacyJmxWrapperTest.java 23 May 2007 10:31:22 -0000 1.2
@@ -22,28 +22,17 @@
package org.jboss.cache.pojo.jmx;
-import java.lang.reflect.InvocationHandler;
-import java.lang.reflect.Method;
-import java.lang.reflect.Proxy;
-import java.util.List;
-import java.util.Properties;
-
-import javax.management.MBeanServerInvocationHandler;
-import javax.transaction.TransactionManager;
-
-import junit.framework.TestCase;
-
import org.jboss.cache.Version;
import org.jboss.cache.config.BuddyReplicationConfig;
+import org.jboss.cache.config.BuddyReplicationConfig.BuddyLocatorConfig;
import org.jboss.cache.config.CacheLoaderConfig;
+import org.jboss.cache.config.CacheLoaderConfig.IndividualCacheLoaderConfig;
import org.jboss.cache.config.Configuration;
+import org.jboss.cache.config.Configuration.CacheMode;
+import org.jboss.cache.config.Configuration.NodeLockingScheme;
import org.jboss.cache.config.EvictionConfig;
import org.jboss.cache.config.EvictionRegionConfig;
import org.jboss.cache.config.RuntimeConfig;
-import org.jboss.cache.config.BuddyReplicationConfig.BuddyLocatorConfig;
-import org.jboss.cache.config.CacheLoaderConfig.IndividualCacheLoaderConfig;
-import org.jboss.cache.config.Configuration.CacheMode;
-import org.jboss.cache.config.Configuration.NodeLockingScheme;
import org.jboss.cache.eviction.FIFOConfiguration;
import org.jboss.cache.eviction.FIFOPolicy;
import org.jboss.cache.eviction.LRUConfiguration;
@@ -59,11 +48,19 @@
import org.jgroups.JChannelFactory;
import org.w3c.dom.Element;
+import javax.management.MBeanServerInvocationHandler;
+import javax.transaction.TransactionManager;
+import java.lang.reflect.InvocationHandler;
+import java.lang.reflect.Method;
+import java.lang.reflect.Proxy;
+import java.util.List;
+import java.util.Properties;
+
/**
* Test of the CacheLegacyJmxWrapper.
*
* @author <a href="brian.stansberry at jboss.com">Brian Stansberry</a>
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
public class PojoCacheLegacyJmxWrapperTest extends PojoCacheJmxWrapperTestBase
{
@@ -238,7 +235,7 @@
" <buddyCommunicationTimeout>600000</buddyCommunicationTimeout>\n" +
" <buddyLocatorClass>org.jboss.cache.buddyreplication.TestBuddyLocator</buddyLocatorClass>\n" +
" <buddyLocatorProperties>numBuddies = 2</buddyLocatorProperties>\n" +
- " <buddyPoolName>testpool</buddyPoolName>"+
+ " <buddyPoolName>testpool</buddyPoolName>" +
" <autoDataGravitation>false</autoDataGravitation>\n" +
" <dataGravitationRemoveOnFind>false</dataGravitationRemoveOnFind>\n" +
" <dataGravitationSearchBackupTrees>false</dataGravitationSearchBackupTrees>" +
More information about the jboss-cvs-commits
mailing list