294ba74c76efe111daa5c5d1e034e1eba3945591
Files Diff
- Added: 0
- Removed: 1
- Renamed: 0
- Modified: 14
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public getSessionTransactionId() : Object renamed to public getLockOwner() : Object in class org.hibernate.cache.infinispan.util.BeginInvalidationCommand | From | To | |
Rename Method public registerRemoteInvalidations(keys Object[]) : Object renamed to public registerRemoteInvalidation(key Object, lockOwner Object) : boolean in class org.hibernate.cache.infinispan.access.PutFromLoadValidator | From | To | |
Pull Up Method | 2 | ||
Pull Up Method private isPutForExternalRead(command FlagAffectedCommand) : boolean from class org.hibernate.cache.infinispan.access.TxInvalidationInterceptor to protected isPutForExternalRead(command FlagAffectedCommand) : boolean from class org.hibernate.cache.infinispan.access.BaseInvalidationInterceptor | From | To | |
Pull Up Method private isPutForExternalRead(command FlagAffectedCommand) : boolean from class org.hibernate.cache.infinispan.access.NonTxInvalidationInterceptor to protected isPutForExternalRead(command FlagAffectedCommand) : boolean from class org.hibernate.cache.infinispan.access.BaseInvalidationInterceptor | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type keys : Object[] to key : Object in method public InvalidationSynchronization(nonTxPutFromLoadInterceptor NonTxPutFromLoadInterceptor, key Object, lockOwner Object) in class org.hibernate.cache.infinispan.access.InvalidationSynchronization | From | To | |
Inline Method | 2 | ||
Inline Method private handleInvalidate(ctx InvocationContext, command WriteCommand, keys Object[]) : Object inlined to public visitRemoveCommand(ctx InvocationContext, command RemoveCommand) : Object in class org.hibernate.cache.infinispan.access.NonTxInvalidationInterceptor | From | To | |
Inline Method private handleInvalidate(ctx InvocationContext, command WriteCommand, keys Object[]) : Object inlined to public visitPutKeyValueCommand(ctx InvocationContext, command PutKeyValueCommand) : Object in class org.hibernate.cache.infinispan.access.NonTxInvalidationInterceptor | From | To | |
Change Return Type | 1 | ||
Change Return Type Object to boolean in method public registerRemoteInvalidation(key Object, lockOwner Object) : boolean in class org.hibernate.cache.infinispan.access.PutFromLoadValidator | From | To | |
Rename Attribute | 3 | ||
Rename Attribute sessionTransactionId : Object to lockOwner : Object in class org.hibernate.cache.infinispan.util.BeginInvalidationCommand | From | To | |
Rename Attribute sessionTransactionId : Object to lockOwner : Object in class org.hibernate.cache.infinispan.util.EndInvalidationCommand | From | To | |
Rename Attribute keys : Object[] to key : Object in class org.hibernate.cache.infinispan.access.InvalidationSynchronization | From | To | |
Change Variable Type | 1 | ||
Change Variable Type region : Region to region : EntityRegionImpl in method protected getPendingPutsCache(entityClazz Class<Item>) : AdvancedCache in class org.hibernate.test.cache.infinispan.functional.InvalidationTest | From | To | |
Extract Variable | 1 | ||
Extract Variable globalTransaction : GlobalTransaction in method protected endInvalidationAndInvokeNextInterceptor(ctx TxInvocationContext, command VisitableCommand) : Object from class org.hibernate.cache.infinispan.access.TxPutFromLoadInterceptor | From | To | |
Extract Method | 1 | ||
Extract Method protected getPendingPutsCache(entityClazz Class<Item>) : AdvancedCache extracted from public testConcurrentRemoveAndPutFromLoad() : void in class org.hibernate.test.cache.infinispan.functional.InvalidationTest | From | To | |
Inline Variable | 1 | ||
Inline Variable keys : Object[] in method public visitPutMapCommand(ctx InvocationContext, command PutMapCommand) : Object from class org.hibernate.cache.infinispan.access.TxInvalidationInterceptor | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type keys : Object[] to key : Object in class org.hibernate.cache.infinispan.access.InvalidationSynchronization | From | To | |
Rename Parameter | 5 | ||
Rename Parameter sessionTransactionId : Object to lockOwner : Object in method public buildBeginInvalidationCommand(flags Set<Flag>, keys Object[], lockOwner Object) : BeginInvalidationCommand in class org.hibernate.cache.infinispan.util.CacheCommandInitializer | From | To | |
Rename Parameter sessionTransactionId : Object to lockOwner : Object in method public buildEndInvalidationCommand(cacheName String, keys Object[], lockOwner Object) : EndInvalidationCommand in class org.hibernate.cache.infinispan.util.CacheCommandInitializer | From | To | |
Rename Parameter sessionTransactionId : Object to lockOwner : Object in method public EndInvalidationCommand(cacheName String, keys Object[], lockOwner Object) in class org.hibernate.cache.infinispan.util.EndInvalidationCommand | From | To | |
Rename Parameter keys : Object[] to key : Object in method public InvalidationSynchronization(nonTxPutFromLoadInterceptor NonTxPutFromLoadInterceptor, key Object, lockOwner Object) in class org.hibernate.cache.infinispan.access.InvalidationSynchronization | From | To | |
Rename Parameter sessionTransactionId : Object to lockOwner : Object in method public BeginInvalidationCommand(notifier CacheNotifier, flags Set<Flag>, commandInvocationId CommandInvocationId, keys Object[], lockOwner Object) in class org.hibernate.cache.infinispan.util.BeginInvalidationCommand | From | To |