2b2f50ca00a48ec94b5f760e324e60a0c33e5713
Files Diff
- Added: 6
- Removed: 2
- Renamed: 0
- Modified: 64
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 2 | ||
Move And Rename Method public testPutShouldNotTriggerLoad() : void from class org.apache.ignite.internal.processors.cache.GridCacheStorePutxSelfTest to public checkPut(idx int) : void from class org.apache.ignite.internal.processors.cache.distributed.near.GridCachePartitionedStorePutSelfTest | From | To | |
Move And Rename Method public testPutShouldNotTriggerLoadWithTx() : void from class org.apache.ignite.internal.processors.cache.GridCacheStorePutxSelfTest to public checkPut(idx int) : void from class org.apache.ignite.internal.processors.cache.distributed.near.GridCachePartitionedStorePutSelfTest | From | To | |
Move And Inline Method | 2 | ||
Move And Inline Method private checkKeys(cache IgniteCache, expVal int) : void moved from class org.apache.ignite.internal.processors.cache.query.continuous.CacheEntryProcessorExternalizableFailedTest to class org.apache.ignite.internal.processors.cache.query.continuous.CacheEntryProcessorNonSerializableTest & inlined to private doTestInvokeTest(ccfg CacheConfiguration, txConcurrency TransactionConcurrency, txIsolation TransactionIsolation) : void | From | To | |
Move And Inline Method private checkKeys(cache IgniteCache, expVal int) : void moved from class org.apache.ignite.internal.processors.cache.query.continuous.CacheEntryProcessorNonSerializableTest to class org.apache.ignite.internal.processors.cache.query.continuous.CacheEntryProcessorExternalizableFailedTest & inlined to private doTestInvokeTest(ccfg CacheConfiguration, txConcurrency TransactionConcurrency, txIsolation TransactionIsolation) : void | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type e : javax.cache.Cache.Entry<? extends Object,? extends Object> to e : Cache.Entry<? extends Object,? extends Object> in method public write(e Cache.Entry<? extends Object,? extends Object>) : void in class org.apache.ignite.internal.processors.cache.distributed.near.GridCachePartitionedStorePutSelfTest.TestStore | From | To | |
Move Method | 3 | ||
Move Method protected afterTest() : void from class org.apache.ignite.internal.processors.cache.GridCacheStorePutxSelfTest to protected afterTest() : void from class org.apache.ignite.internal.processors.cache.binary.CacheKeepBinaryWithInterceptorTest | From | To | |
Move Method protected beforeTestsStarted() : void from class org.apache.ignite.internal.processors.cache.distributed.GridCacheAbstractPartitionedByteArrayValuesSelfTest to protected beforeTestsStarted() : void from class org.apache.ignite.internal.processors.cache.distributed.CacheTxNearUpdateTopologyChangeTest | From | To | |
Move Method protected beforeTestsStarted() : void from class org.apache.ignite.internal.processors.cache.binary.CacheKeepBinaryWithInterceptorTest to protected beforeTestsStarted() : void from class org.apache.ignite.cache.store.GridCacheLoadOnlyStoreAdapterSelfTest | From | To | |
Move Attribute | 1 | ||
Move Attribute private loads : AtomicInteger from class org.apache.ignite.internal.processors.cache.GridCacheStorePutxSelfTest to private loads : AtomicInteger from class org.apache.ignite.internal.processors.cache.distributed.near.GridCachePartitionedStorePutSelfTest | From | To | |
Extract Attribute | 1 | ||
Extract Attribute private CACHE : String in class org.apache.ignite.cache.IgniteCacheEntryProcessorSequentialCallTest | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class org.apache.ignite.internal.processors.cache.context.IgniteCachePartitionedExecutionContextTest moved and renamed to org.apache.ignite.internal.processors.cache.IgniteCacheMvccTxInvokeTest | From | To | |
Change Variable Type | 2 | ||
Change Variable Type cln : IgniteEx to node : Ignite in method private checkExplicitTxInvoke(node Ignite, cache IgniteCache, txConcurrency TransactionConcurrency, txIsolation TransactionIsolation) : void in class org.apache.ignite.internal.processors.cache.query.continuous.CacheEntryProcessorExternalizableFailedTest | From | To | |
Change Variable Type cln : IgniteEx to node : Ignite in method private checkTxInvoke(node Ignite, cache IgniteCache, txConcurrency TransactionConcurrency, txIsolation TransactionIsolation) : void in class org.apache.ignite.internal.processors.cache.query.continuous.CacheEntryProcessorNonSerializableTest | From | To | |
Extract Variable | 1 | ||
Extract Variable expCallCntOnGet : int in method private checkEntryProcessCall(key Integer, cache IgniteCache<Integer,TestValue>, concurrency TransactionConcurrency, isolation TransactionIsolation, expCallCnt int) : void from class org.apache.ignite.internal.processors.cache.IgniteCacheEntryProcessorCallTest | From | To | |
Extract Method | 10 | ||
Extract Method public checkLongRunningTx(atomicityMode CacheAtomicityMode) : void extracted from public testLongRunningTx() : void in class org.apache.ignite.internal.managers.IgniteDiagnosticMessagesTest | From | To | |
Extract Method public checkLongRunning(atomicityMode CacheAtomicityMode) : void extracted from public testLongRunning() : void in class org.apache.ignite.internal.managers.IgniteDiagnosticMessagesTest | From | To | |
Extract Method public checkSeveralLongRunningTxs(atomicityMode CacheAtomicityMode) : void extracted from public testSeveralLongRunningTxs() : void in class org.apache.ignite.internal.managers.IgniteDiagnosticMessagesTest | From | To | |
Extract Method public suite(ignoredTests Collection<Class>) : TestSuite extracted from public suite() : TestSuite in class org.apache.ignite.testsuites.IgniteCacheTcpClientDiscoveryTestSuite | From | To | |
Extract Method private checkExplicitTxInvoke(node Ignite, cache IgniteCache, txConcurrency TransactionConcurrency, txIsolation TransactionIsolation) : void extracted from private doTestInvokeTest(ccfg CacheConfiguration, txConcurrency TransactionConcurrency, txIsolation TransactionIsolation) : void in class org.apache.ignite.internal.processors.cache.query.continuous.CacheEntryProcessorExternalizableFailedTest | From | To | |
Extract Method private checkExplicitMvccInvoke(node Ignite, cache IgniteCache, txConcurrency TransactionConcurrency, txIsolation TransactionIsolation) : void extracted from private doTestInvokeTest(ccfg CacheConfiguration, txConcurrency TransactionConcurrency, txIsolation TransactionIsolation) : void in class org.apache.ignite.internal.processors.cache.query.continuous.CacheEntryProcessorExternalizableFailedTest | From | To | |
Extract Method private checkMvccInvoke(node Ignite, cache IgniteCache, txConcurrency TransactionConcurrency, txIsolation TransactionIsolation) : void extracted from private doTestInvokeTest(ccfg CacheConfiguration, txConcurrency TransactionConcurrency, txIsolation TransactionIsolation) : void in class org.apache.ignite.internal.processors.cache.query.continuous.CacheEntryProcessorNonSerializableTest | From | To | |
Extract Method public checkRemoteTx(atomicityMode CacheAtomicityMode) : void extracted from public testRemoteTx() : void in class org.apache.ignite.internal.managers.IgniteDiagnosticMessagesTest | From | To | |
Extract Method private cacheConfiguration(name String) : CacheConfiguration extracted from protected getConfiguration(igniteInstanceName String) : IgniteConfiguration in class org.apache.ignite.cache.IgniteCacheEntryProcessorSequentialCallTest | From | To | |
Extract Method private checkTxInvoke(node Ignite, cache IgniteCache, txConcurrency TransactionConcurrency, txIsolation TransactionIsolation) : void extracted from private doTestInvokeTest(ccfg CacheConfiguration, txConcurrency TransactionConcurrency, txIsolation TransactionIsolation) : void in class org.apache.ignite.internal.processors.cache.query.continuous.CacheEntryProcessorNonSerializableTest | From | To | |
Rename Method | 1 | ||
Rename Method private testCache(nearEnabled boolean, mode CacheMode) : IgniteCache<Integer,Value> renamed to private createCache(nearEnabled boolean, mode CacheMode) : IgniteCache<Integer,Value> in class org.apache.ignite.internal.processors.cache.GridCacheEntryMemorySizeSelfTest | From | To | |
Inline Method | 6 | ||
Inline Method private putKeys(cache IgniteCache, val int) : void inlined to private doTestInvokeTest(ccfg CacheConfiguration, txConcurrency TransactionConcurrency, txIsolation TransactionIsolation) : void in class org.apache.ignite.internal.processors.cache.query.continuous.CacheEntryProcessorNonSerializableTest | From | To | |
Inline Method private putKeys(cache IgniteCache, val int) : void inlined to private doTestInvokeTest(ccfg CacheConfiguration, txConcurrency TransactionConcurrency, txIsolation TransactionIsolation) : void in class org.apache.ignite.internal.processors.cache.query.continuous.CacheEntryProcessorExternalizableFailedTest | From | To | |
Inline Method private checkKeys(cache IgniteCache, expVal int) : void inlined to private doTestInvokeTest(ccfg CacheConfiguration, txConcurrency TransactionConcurrency, txIsolation TransactionIsolation) : void in class org.apache.ignite.internal.processors.cache.query.continuous.CacheEntryProcessorNonSerializableTest | From | To | |
Inline Method private checkKeys(cache IgniteCache, expVal int) : void inlined to private doTestInvokeTest(ccfg CacheConfiguration, txConcurrency TransactionConcurrency, txIsolation TransactionIsolation) : void in class org.apache.ignite.internal.processors.cache.query.continuous.CacheEntryProcessorExternalizableFailedTest | From | To | |
Rename Variable | 1 | ||
Rename Variable cacheCfg : CacheConfiguration to mvccCfg : CacheConfiguration in method protected getConfiguration(igniteInstanceName String) : IgniteConfiguration in class org.apache.ignite.cache.IgniteCacheEntryProcessorSequentialCallTest | From | To | |
Change Return Type | 3 | ||
Change Return Type CacheConfiguration to CacheConfiguration<?,?> in method private cacheConfiguration(wrMode CacheWriteSynchronizationMode, backup int) : CacheConfiguration<?,?> in class org.apache.ignite.internal.processors.cache.query.continuous.CacheEntryProcessorNonSerializableTest | From | To | |
Change Return Type CacheConfiguration to CacheConfiguration<?,?> in method private cacheConfiguration() : CacheConfiguration<?,?> in class org.apache.ignite.cache.store.GridCacheLoadOnlyStoreAdapterSelfTest | From | To | |
Change Return Type CacheConfiguration to CacheConfiguration<?,?> in method private cacheConfiguration(wrMode CacheWriteSynchronizationMode, backup int) : CacheConfiguration<?,?> in class org.apache.ignite.internal.processors.cache.query.continuous.CacheEntryProcessorExternalizableFailedTest | From | To | |
Parameterize Variable | 4 | ||
Parameterize Variable clnCache : IgniteCache to cache : IgniteCache in method private checkExplicitMvccInvoke(node Ignite, cache IgniteCache, txConcurrency TransactionConcurrency, txIsolation TransactionIsolation) : void in class org.apache.ignite.internal.processors.cache.query.continuous.CacheEntryProcessorExternalizableFailedTest | From | To | |
Parameterize Variable cln : IgniteEx to node : Ignite in method private checkTxInvoke(node Ignite, cache IgniteCache, txConcurrency TransactionConcurrency, txIsolation TransactionIsolation) : void in class org.apache.ignite.internal.processors.cache.query.continuous.CacheEntryProcessorNonSerializableTest | From | To | |
Parameterize Variable clnCache : IgniteCache to cache : IgniteCache in method private checkMvccInvoke(node Ignite, cache IgniteCache, txConcurrency TransactionConcurrency, txIsolation TransactionIsolation) : void in class org.apache.ignite.internal.processors.cache.query.continuous.CacheEntryProcessorNonSerializableTest | From | To | |
Parameterize Variable cln : IgniteEx to node : Ignite in method private checkExplicitTxInvoke(node Ignite, cache IgniteCache, txConcurrency TransactionConcurrency, txIsolation TransactionIsolation) : void in class org.apache.ignite.internal.processors.cache.query.continuous.CacheEntryProcessorExternalizableFailedTest | From | To | |
Rename Attribute | 4 | ||
Rename Attribute CACHE_ATOMIC : String to ATOMIC_CACHE : String in class org.apache.ignite.internal.processors.cache.distributed.dht.GridCacheAbstractPartitionedOnlyByteArrayValuesSelfTest | From | To | |
Rename Attribute KEYS : int to KEY : int in class org.apache.ignite.internal.processors.cache.query.continuous.CacheEntryProcessorExternalizableFailedTest | From | To | |
Rename Attribute KEYS : int to KEY : int in class org.apache.ignite.internal.processors.cache.query.continuous.CacheEntryProcessorNonSerializableTest | From | To | |
Rename Attribute ignites : Ignite[] to mvccCaches : IgniteCache<Integer,Object>[] in class org.apache.ignite.internal.processors.cache.distributed.GridCacheAbstractDistributedByteArrayValuesSelfTest | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type ignites : Ignite[] to mvccCaches : IgniteCache<Integer,Object>[] in class org.apache.ignite.internal.processors.cache.distributed.GridCacheAbstractDistributedByteArrayValuesSelfTest | From | To |