a441bb9cc4ef07f28fbee3a78480c1ffbc68058f
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 22
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Inline Method | 1 | ||
Move And Inline Method public toCacheKeyObject(ctx CacheObjectContext, obj Object, userObj boolean, partition int) : KeyCacheObject moved from class org.apache.ignite.internal.processors.cacheobject.IgniteCacheObjectProcessorImpl to class org.apache.ignite.internal.processors.cache.binary.CacheObjectBinaryProcessorImpl & inlined to public toCacheKeyObject(ctx CacheObjectContext, cctx GridCacheContext, obj Object, userObj boolean) : KeyCacheObject | From | To | |
Rename Variable | 3 | ||
Rename Variable partititon : int to part : int in method protected toCacheKeyObject0(ctx CacheObjectContext, cctx GridCacheContext, obj Object, userObj boolean) : KeyCacheObject in class org.apache.ignite.internal.processors.cacheobject.IgniteCacheObjectProcessorImpl | From | To | |
Rename Variable bObj : BinaryObjectImpl to key : KeyCacheObject in method public toCacheKeyObject(ctx CacheObjectContext, cctx GridCacheContext, obj Object, userObj boolean) : KeyCacheObject in class org.apache.ignite.internal.processors.cache.binary.CacheObjectBinaryProcessorImpl | From | To | |
Rename Variable keeyBinary : boolean to keepBinary : boolean in method public get(key K) : V in class org.apache.ignite.internal.processors.cache.GridCacheAdapter | From | To | |
Inline Method | 3 | ||
Inline Method public cacheKeysView(keys Collection<?>, includePartition boolean) : Collection<KeyCacheObject> inlined to public cacheKeysView(keys Collection<?>) : Collection<KeyCacheObject> in class org.apache.ignite.internal.processors.cache.GridCacheContext | From | To | |
Inline Method private primaryAndBackups(aff AffinityInfo, key K) : List<ClusterNode> inlined to public mapKeyToPrimaryAndBackups(cacheName String, key K, topVer AffinityTopologyVersion) : List<ClusterNode> in class org.apache.ignite.internal.processors.affinity.GridAffinityProcessor | From | To | |
Inline Method public toCacheKeyObject(obj Object, includePartition boolean) : KeyCacheObject inlined to public toCacheKeyObject(obj Object) : KeyCacheObject in class org.apache.ignite.internal.processors.cache.GridCacheContext | From | To | |
Change Variable Type | 2 | ||
Change Variable Type bObj : BinaryObjectImpl to key : KeyCacheObject in method public toCacheKeyObject(ctx CacheObjectContext, cctx GridCacheContext, obj Object, userObj boolean) : KeyCacheObject in class org.apache.ignite.internal.processors.cache.binary.CacheObjectBinaryProcessorImpl | From | To | |
Change Variable Type aff : Affinity<Integer> to aff : Affinity<Object> in method private checkCache(cacheName String, expNodes int) : void in class org.apache.ignite.cache.affinity.AffinityClientNodeSelfTest | From | To | |
Extract Variable | 1 | ||
Extract Variable aff : AffinityInfo in method public mapKeyToPrimaryAndBackups(key K) : Collection<ClusterNode> from class org.apache.ignite.internal.processors.affinity.GridAffinityProcessor.CacheAffinityProxy | From | To | |
Extract Method | 1 | ||
Extract Method public partition(key Object, useKeyPart boolean) : int extracted from public partition(key Object) : int in class org.apache.ignite.internal.processors.cache.GridCacheAffinityManager | From | To | |
Extract And Move Method | 3 | ||
Extract And Move Method private affinityKey(key Object) : Object extracted from public affinityKey(cacheName String, key Object) : Object in class org.apache.ignite.internal.processors.affinity.GridAffinityProcessor & moved to class org.apache.ignite.internal.processors.affinity.GridAffinityProcessor.AffinityInfo | From | To | |
Extract And Move Method private affinityKey(key Object) : Object extracted from public affinityKey(key K) : Object in class org.apache.ignite.internal.processors.affinity.GridAffinityProcessor.CacheAffinityProxy & moved to class org.apache.ignite.internal.processors.affinity.GridAffinityProcessor.AffinityInfo | From | To | |
Extract And Move Method public toCacheKeyObject(ctx CacheObjectContext, cctx GridCacheContext, obj Object, userObj boolean) : KeyCacheObject extracted from public toCacheKeyObject(ctx CacheObjectContext, obj Object, userObj boolean, partition int) : KeyCacheObject in class org.apache.ignite.internal.processors.cache.binary.CacheObjectBinaryProcessorImpl & moved to class org.apache.ignite.internal.processors.cacheobject.IgniteCacheObjectProcessorImpl | From | To | |
Rename Parameter | 1 | ||
Rename Parameter partition : int to part : int in method package UserKeyCacheObjectImpl(key Object, part int) in class org.apache.ignite.internal.processors.cacheobject.IgniteCacheObjectProcessorImpl.UserKeyCacheObjectImpl | From | To |