a6b418331800a4d117c97016f263b5270e007fa1
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 22
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type remapKeys : Collection<KeyCacheObject> to remapKeys : List<KeyCacheObject> in method public remapKeys(remapKeys List<KeyCacheObject>) : void in class org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicUpdateResponse | From | To | |
Rename Variable | 2 | ||
Rename Variable serInfo : Collection<byte[]> to infoCol : CacheEntryInfoCollection in method package addEntry0(p int, info GridCacheEntryInfo, ctx GridCacheSharedContext) : void in class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionSupplyMessage | From | To | |
Rename Variable serInfo : Collection<byte[]> to infoCol : CacheEntryInfoCollection in method package addEntry(p int, info GridCacheEntryInfo, ctx GridCacheSharedContext) : void in class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionSupplyMessage | From | To | |
Change Return Type | 3 | ||
Change Return Type Map<Integer,Collection<GridCacheEntryInfo>> to Map<Integer,CacheEntryInfoCollection> in method package infos() : Map<Integer,CacheEntryInfoCollection> in class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionSupplyMessage | From | To | |
Change Return Type List<Object> to List<?> in method public values() : List<?> in class org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicUpdateRequest | From | To | |
Change Return Type Object to CacheObject in method public writeValue(idx int) : CacheObject in class org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicUpdateRequest | From | To | |
Move Attribute | 2 | ||
Move Attribute private valBytes : byte[] from class org.apache.ignite.internal.processors.cache.GridCacheEntryInfo to private valBytes : byte[] from class org.apache.ignite.internal.processors.cache.CacheObjectImpl | From | To | |
Move Attribute private valBytes : byte[] from class org.apache.ignite.internal.processors.cache.GridCacheEntryInfo to private valBytes : byte[] from class org.apache.ignite.internal.processors.cache.KeyCacheObjectImpl | From | To | |
Change Variable Type | 3 | ||
Change Variable Type e : Map.Entry<Integer,Collection<GridCacheEntryInfo>> to e : Map.Entry<Integer,CacheEntryInfoCollection> in method private demandFromNode(node ClusterNode, topVer long, d GridDhtPartitionDemandMessage, exchFut GridDhtPartitionsExchangeFuture<K,V>) : Set<Integer> in class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionDemandPool.DemandWorker | From | To | |
Change Variable Type serInfo : Collection<byte[]> to infoCol : CacheEntryInfoCollection in method package addEntry(p int, info GridCacheEntryInfo, ctx GridCacheSharedContext) : void in class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionSupplyMessage | From | To | |
Change Variable Type serInfo : Collection<byte[]> to infoCol : CacheEntryInfoCollection in method package addEntry0(p int, info GridCacheEntryInfo, ctx GridCacheSharedContext) : void in class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionSupplyMessage | From | To | |
Change Attribute Type | 5 | ||
Change Attribute Type remapKeys : Collection<KeyCacheObject> to remapKeys : List<KeyCacheObject> in class org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicUpdateResponse | From | To | |
Change Attribute Type failedKeys : Collection<KeyCacheObject> to failedKeys : List<KeyCacheObject> in class org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicUpdateResponse | From | To | |
Change Attribute Type vals : List<Object> to vals : List<CacheObject> in class org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicUpdateRequest | From | To | |
Change Attribute Type infos : Map<Integer,Collection<GridCacheEntryInfo>> to infos : Map<Integer,CacheEntryInfoCollection> in class org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionSupplyMessage | From | To | |
Change Attribute Type nearEvicted : Collection<KeyCacheObject> to nearEvicted : List<KeyCacheObject> in class org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicUpdateResponse | From | To | |
Inline Variable | 2 | ||
Inline Variable valBytes : byte[] in method public processNearAtomicUpdateResponse(req GridNearAtomicUpdateRequest, res GridNearAtomicUpdateResponse) : void from class org.apache.ignite.internal.processors.cache.distributed.near.GridNearAtomicCache | From | To | |
Inline Variable newValBytes : byte[] in method private updateSingle(node ClusterNode, hasNear boolean, req GridNearAtomicUpdateRequest, res GridNearAtomicUpdateResponse, locked List<GridDhtCacheEntry>, ver GridCacheVersion, dhtFut GridDhtAtomicUpdateFuture, completionCb CI2<GridNearAtomicUpdateRequest,GridNearAtomicUpdateResponse>, replicate boolean, taskName String, expiry IgniteCacheExpiryPolicy) : UpdateSingleResult<K,V> from class org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache | From | To | |
Extract And Move Method | 4 | ||
Extract And Move Method public prepareMarshal(ctx GridCacheSharedContext) : void extracted from public prepareMarshal(ctx GridCacheSharedContext) : void in class org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicUpdateResponse & moved to class org.apache.ignite.internal.processors.cache.CacheObjectImpl | From | To | |
Extract And Move Method public prepareMarshal(ctx GridCacheSharedContext) : void extracted from public prepareMarshal(ctx GridCacheSharedContext) : void in class org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicUpdateRequest & moved to class org.apache.ignite.internal.processors.cache.CacheObjectImpl | From | To | |
Extract And Move Method public prepareMarshal(ctx GridCacheSharedContext) : void extracted from public prepareMarshal(ctx GridCacheSharedContext) : void in class org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicUpdateResponse & moved to class org.apache.ignite.internal.processors.cache.CacheObjectImpl | From | To | |
Extract And Move Method public prepareMarshal(ctx GridCacheSharedContext) : void extracted from public prepareMarshal(ctx GridCacheSharedContext) : void in class org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicUpdateRequest & moved to class org.apache.ignite.internal.processors.cache.CacheObjectImpl | From | To |