49e4c47729b0ab5b9736c9e9bcdde1df067f4645
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 67
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 6 | ||
Rename Method protected getConfigurationBuilder() : ConfigurationBuilder renamed to protected createConfiguration() : ConfigurationBuilder in class org.infinispan.tx.dld.DldPessimisticLockingReplicationTest | From | To | |
Rename Method protected addOwner(segment int, candidate Address) : void renamed to protected addBackupOwner(segment int, candidate Address) : boolean in class org.infinispan.distribution.ch.impl.SyncConsistentHashFactory.Builder | From | To | |
Rename Method protected getConfigurationBuilder() : ConfigurationBuilder renamed to protected createConfiguration() : ConfigurationBuilder in class org.infinispan.tx.synchronisation.DldEagerLockingReplicationWithSyncTest | From | To | |
Rename Method protected addOwner(segment int, candidate Address) : void renamed to protected addBackupOwner(segment int, candidate Address) : boolean in class org.infinispan.distribution.ch.impl.TopologyAwareSyncConsistentHashFactory.Builder | From | To | |
Rename Method public testFineGrainedMapAfterAtomicMap() : void renamed to public testFineGrainedMapAfterAtomicMapBackup() : void in class org.infinispan.atomic.FineGrainedAtomicMapAPITest | From | To | |
Rename Method protected getConfigurationBuilder() : ConfigurationBuilder renamed to protected createConfiguration() : ConfigurationBuilder in class org.infinispan.tx.recovery.DldEagerLockingAndRecoveryReplicationTest | From | To | |
Pull Up Method | 5 | ||
Pull Up Method protected isOwner(cache Cache<?,?>, key Object) : boolean from class org.infinispan.stats.topK.DistTopKeyTest to protected isOwner(cache Cache<?,?>, key Object) : boolean from class org.infinispan.stats.BaseClusterTopKeyTest | From | To | |
Pull Up Method public testSymmetricDeadlock() : void from class org.infinispan.tx.dld.DldPessimisticLockingDistributedTest to public testSymmetricDeadlockSamePrimary() : void from class org.infinispan.tx.dld.BaseDldPessimisticLockingTest | From | To | |
Pull Up Method public testDeadlock() : void from class org.infinispan.tx.dld.DldPessimisticLockingReplicationTest to public testSymmetricDeadlockSamePrimary() : void from class org.infinispan.tx.dld.BaseDldPessimisticLockingTest | From | To | |
Pull Up Method public testSymmetricDeadlock() : void from class org.infinispan.tx.dld.DldPessimisticLockingDistributedTest to public testSymmetricDeadlock() : void from class org.infinispan.tx.dld.BaseDldPessimisticLockingTest | From | To | |
Pull Up Method protected isPrimaryOwner(cache Cache<?,?>, key Object) : boolean from class org.infinispan.stats.topK.DistTopKeyTest to protected isPrimaryOwner(cache Cache<?,?>, key Object) : boolean from class org.infinispan.stats.BaseClusterTopKeyTest | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type keys : List<Integer> to keys : List<Object> in method package runTest(ops StresserThread.OperationsPerformer, c1 Cache, c2 Cache, keys List<Object>, threadNamePrefix String) : void in class org.infinispan.tx.lockreordering.LocalLockReorderingTest | From | To | |
Pull Up Attribute | 2 | ||
Pull Up Attribute private k1 : Object from class org.infinispan.tx.dld.DldPessimisticLockingDistributedTest to protected k1 : Object from class org.infinispan.tx.dld.BaseDldPessimisticLockingTest | From | To | |
Pull Up Attribute private k0 : Object from class org.infinispan.tx.dld.DldPessimisticLockingDistributedTest to protected k0 : Object from class org.infinispan.tx.dld.BaseDldPessimisticLockingTest | From | To | |
Change Return Type | 3 | ||
Change Return Type void to boolean in method protected addBackupOwner(segment int, candidate Address) : boolean in class org.infinispan.distribution.ch.impl.SyncConsistentHashFactory.Builder | From | To | |
Change Return Type void to boolean in method protected addBackupOwner(segment int, candidate Address) : boolean in class org.infinispan.distribution.ch.impl.TopologyAwareSyncConsistentHashFactory.Builder | From | To | |
Change Return Type List<Integer> to List<Object> in method package generateKeys() : List<Object> in class org.infinispan.tx.lockreordering.LocalLockReorderingTest | From | To | |
Rename Class | 1 | ||
Rename Class org.infinispan.statetransfer.DataRehashedEventTest.DataRehashedListenrPostOnly renamed to org.infinispan.statetransfer.DataRehashedEventTest.DataRehashedListenerPostOnly | From | To | |
Change Variable Type | 3 | ||
Change Variable Type cache1 : Cache<String,Object> to cache1 : Cache<MagicKey,Object> in method public testFineGrainedMapAfterAtomicMapBackup() : void in class org.infinispan.atomic.FineGrainedAtomicMapAPITest | From | To | |
Change Variable Type cache2 : AdvancedCache<String,String> to cache2 : AdvancedCache<Object,String> in method public testReplicateSkipCacheLoad(m Method) : void in class org.infinispan.api.flags.FlagsEnabledTest | From | To | |
Change Variable Type cache1 : AdvancedCache<String,String> to cache1 : AdvancedCache<Object,String> in method public testReplicateSkipCacheLoad(m Method) : void in class org.infinispan.api.flags.FlagsEnabledTest | From | To | |
Extract Variable | 1 | ||
Extract Variable cacheMode : CacheMode in method public visitLockControlCommand(ctx TxInvocationContext, command LockControlCommand) : Object from class org.infinispan.interceptors.DeadlockDetectingInterceptor | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type keys : List<Integer> to keys : List<Object> in class org.infinispan.tx.lockreordering.LocalLockReorderingTest | From | To | |
Change Attribute Type keys : List to keys : List<Object> in class org.infinispan.tx.lockreordering.DistLockReorderingTest | From | To | |
Extract Method | 3 | ||
Extract Method private reportErrorAfterWait(expectedTopologyId int, timeoutNanos long) : void extracted from public waitForTopology(expectedTopologyId int, timeout long, unit TimeUnit) : void in class org.infinispan.statetransfer.StateTransferLockImpl | From | To | |
Extract Method private computeSegment(member Address, virtualNode int) : int extracted from protected populateOwners(numSegments int) : void in class org.infinispan.distribution.ch.impl.SyncConsistentHashFactory.Builder | From | To | |
Extract Method private reportErrorAfterWait(expectedTopologyId int, timeoutNanos long) : void extracted from public waitForTransactionData(expectedTopologyId int, timeout long, unit TimeUnit) : void in class org.infinispan.statetransfer.StateTransferLockImpl | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public union(ch2 ReplicatedConsistentHash) : ReplicatedConsistentHash extracted from public union(ch1 ReplicatedConsistentHash, ch2 ReplicatedConsistentHash) : ReplicatedConsistentHash in class org.infinispan.distribution.ch.impl.ReplicatedConsistentHashFactory & moved to class org.infinispan.distribution.ch.impl.ReplicatedConsistentHash | From | To |