c1edb300979b6a4127a9a676e8d504f0dac459a6
Files Diff
- Added: 0
- Removed: 3
- Renamed: 0
- Modified: 37
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method public gridCacheContext() : GridCacheContext renamed to public cacheContext() : GridCacheContext in class org.apache.ignite.internal.processors.cache.GridCacheContextInfo | From | To | |
| Move And Inline Method | 1 | ||
| Move And Inline Method public customAffinityMapper() : boolean moved from class org.apache.ignite.internal.processors.cache.GridCacheContextInfo to class org.apache.ignite.internal.processors.query.QueryUtils & inlined to public typeForQueryEntity(ctx GridKernalContext, cacheName String, schemaName String, cacheInfo GridCacheContextInfo, qryEntity QueryEntity, mustDeserializeClss List<Class<?>>, escape boolean) : QueryTypeCandidate | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type proc : CacheObjectBinaryProcessor to proc : IgniteCacheObjectProcessor in method public IgniteBinaryImpl(ctx GridKernalContext, proc IgniteCacheObjectProcessor) in class org.apache.ignite.internal.processors.cache.binary.IgniteBinaryImpl | From | To | |
| Move Method | 10 | ||
| Move Method protected toCacheObject0(obj Object, userObj boolean) : CacheObject from class org.apache.ignite.internal.processors.cacheobject.IgniteCacheObjectProcessorImpl to private toCacheObject0(obj Object, userObj boolean) : CacheObject from class org.apache.ignite.internal.processors.cache.binary.CacheObjectBinaryProcessorImpl | From | To | |
| Move Method public immutable(obj Object) : boolean from class org.apache.ignite.internal.processors.cacheobject.IgniteCacheObjectProcessorImpl to public immutable(obj Object) : boolean from class org.apache.ignite.internal.processors.cache.binary.CacheObjectBinaryProcessorImpl | From | To | |
| Move Method public toCacheObject(ctx CacheObjectContext, obj Object, userObj boolean) : CacheObject from class org.apache.ignite.internal.processors.cacheobject.IgniteCacheObjectProcessorImpl to public toCacheObject(ctx CacheObjectContext, obj Object, userObj boolean) : CacheObject from class org.apache.ignite.internal.processors.cache.binary.CacheObjectBinaryProcessorImpl | From | To | |
| Move Method public toCacheObject(ctx CacheObjectContext, buf ByteBuffer, incompleteObj IncompleteCacheObject) : IncompleteCacheObject from class org.apache.ignite.internal.processors.cacheobject.IgniteCacheObjectProcessorImpl to public toCacheObject(ctx CacheObjectContext, buf ByteBuffer, incompleteObj IncompleteCacheObject) : IncompleteCacheObject from class org.apache.ignite.internal.processors.cache.binary.CacheObjectBinaryProcessorImpl | From | To | |
| Move Method protected toCacheKeyObject0(ctx CacheObjectContext, cctx GridCacheContext, obj Object, userObj boolean) : KeyCacheObject from class org.apache.ignite.internal.processors.cacheobject.IgniteCacheObjectProcessorImpl to protected toCacheKeyObject0(ctx CacheObjectContext, cctx GridCacheContext, obj Object, userObj boolean) : KeyCacheObject from class org.apache.ignite.internal.processors.cache.binary.CacheObjectBinaryProcessorImpl | From | To | |
| Move Method public toKeyCacheObject(ctx CacheObjectContext, buf ByteBuffer, incompleteObj IncompleteCacheObject) : IncompleteCacheObject from class org.apache.ignite.internal.processors.cacheobject.IgniteCacheObjectProcessorImpl to public toKeyCacheObject(ctx CacheObjectContext, buf ByteBuffer, incompleteObj IncompleteCacheObject) : IncompleteCacheObject from class org.apache.ignite.internal.processors.cache.binary.CacheObjectBinaryProcessorImpl | From | To | |
| Move Method protected partition(ctx CacheObjectContext, cctx GridCacheContext, obj Object) : int from class org.apache.ignite.internal.processors.cacheobject.IgniteCacheObjectProcessorImpl to private partition(ctx CacheObjectContext, cctx GridCacheContext, obj Object) : int from class org.apache.ignite.internal.processors.cache.binary.CacheObjectBinaryProcessorImpl | From | To | |
| Move Method public customAffinityMapper() : boolean from class org.apache.ignite.internal.processors.cache.GridCacheContext to public customAffinityMapper() : boolean from class org.apache.ignite.internal.processors.cache.CacheObjectContext | From | To | |
| Move Method public toCacheObject(ctx CacheObjectContext, buf ByteBuffer) : CacheObject from class org.apache.ignite.internal.processors.cacheobject.IgniteCacheObjectProcessorImpl to public toCacheObject(ctx CacheObjectContext, buf ByteBuffer) : CacheObject from class org.apache.ignite.internal.processors.cache.binary.CacheObjectBinaryProcessorImpl | From | To | |
| Move Method public prepareForCache(obj CacheObject, cctx GridCacheContext) : CacheObject from class org.apache.ignite.internal.processors.cacheobject.IgniteCacheObjectProcessorImpl to public prepareForCache(obj CacheObject, cctx GridCacheContext) : CacheObject from class org.apache.ignite.internal.processors.cache.binary.CacheObjectBinaryProcessorImpl | From | To | |
| Rename Variable | 3 | ||
| Rename Variable affKeyColId : int to colId : int in method public GridH2Table(createTblData CreateTableData, desc GridH2RowDescriptor, rowFactory H2RowFactory, idxsFactory GridH2SystemIndexFactory, cacheInfo GridCacheContextInfo) in class org.apache.ignite.internal.processors.query.h2.opt.GridH2Table | From | To | |
| Rename Variable affKey : String to affKeyFieldName : String in method public GridH2Table(createTblData CreateTableData, desc GridH2RowDescriptor, rowFactory H2RowFactory, idxsFactory GridH2SystemIndexFactory, cacheInfo GridCacheContextInfo) in class org.apache.ignite.internal.processors.query.h2.opt.GridH2Table | From | To | |
| Rename Variable ctx : GridCacheContext to cctx0 : GridCacheContext in method public dynamicDeploymentId() : IgniteUuid in class org.apache.ignite.internal.processors.cache.GridCacheContextInfo | From | To | |
| Pull Up Attribute | 1 | ||
| Pull Up Attribute private binaryEnabled : boolean from class org.apache.ignite.internal.processors.cache.binary.CacheObjectBinaryContext to private binaryEnabled : boolean from class org.apache.ignite.internal.processors.cache.CacheObjectContext | From | To | |
| Move Attribute | 2 | ||
| Move Attribute private customAffMapper : boolean from class org.apache.ignite.internal.processors.cache.GridCacheContext to private customAffMapper : boolean from class org.apache.ignite.internal.processors.cache.CacheObjectContext | From | To | |
| Move Attribute private IMMUTABLE_CLS : Collection<Class<?>> from class org.apache.ignite.internal.processors.cacheobject.IgniteCacheObjectProcessorImpl to private IMMUTABLE_CLS : Collection<Class<?>> from class org.apache.ignite.internal.processors.cache.binary.CacheObjectBinaryProcessorImpl | From | To | |
| Extract Attribute | 1 | ||
| Extract Attribute public COL_NOT_EXISTS : int in class org.apache.ignite.internal.processors.query.h2.opt.GridH2RowDescriptor | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute gridCacheContext : GridCacheContext to cctx : GridCacheContext in class org.apache.ignite.internal.processors.cache.GridCacheContextInfo | From | To | |
| Extract Variable | 4 | ||
| Extract Variable t0 : GridH2Table in method private isAffinityColumn(f TableFilter, expCol ExpressionColumn, validate boolean) : boolean from class org.apache.ignite.internal.processors.query.h2.opt.GridH2CollocationModel | From | To | |
| Extract Variable affField0 : String in method public typeForQueryEntity(ctx GridKernalContext, cacheName String, schemaName String, cacheInfo GridCacheContextInfo, qryEntity QueryEntity, mustDeserializeClss List<Class<?>>, escape boolean) : QueryTypeCandidate from class org.apache.ignite.internal.processors.query.QueryUtils | From | To | |
| Extract Variable coCtx : CacheObjectContext in method public affinityKey(key Object) : Object from class org.apache.ignite.internal.processors.cache.GridCacheAffinityManager | From | To | |
| Extract Variable orgId : String in method package populateDataIntoPerson(cache IgniteCache<String,Person>) : void from class org.apache.ignite.internal.processors.query.h2.twostep.JoinSqlTestHelper | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type proc : CacheObjectBinaryProcessor to proc : IgniteCacheObjectProcessor in class org.apache.ignite.internal.processors.cache.binary.IgniteBinaryImpl | From | To | |
| Extract And Move Method | 1 | ||
| Extract And Move Method public customAffinityKeyMapper(customAffKeyMapper boolean) : void extracted from public typeForQueryEntity(cacheName String, schemaName String, cacheInfo GridCacheContextInfo, qryEntity QueryEntity, mustDeserializeClss List<Class<?>>, escape boolean) : QueryTypeCandidate in class org.apache.ignite.internal.processors.query.QueryUtils & moved to class org.apache.ignite.internal.processors.query.QueryTypeDescriptorImpl | From | To | |
| Rename Parameter | 3 | ||
| Rename Parameter gridCacheCtx : GridCacheContext<?,?> to cctx : GridCacheContext<?,?> in method public initCacheContext(cctx GridCacheContext<?,?>) : void in class org.apache.ignite.internal.processors.cache.GridCacheContextInfo | From | To | |
| Rename Parameter gridCacheContext : GridCacheContext<K,V> to cctx : GridCacheContext<K,V> in method public GridCacheContextInfo(cctx GridCacheContext<K,V>, clientCache boolean) in class org.apache.ignite.internal.processors.cache.GridCacheContextInfo | From | To | |
| Rename Parameter cfg : CacheConfiguration to ccfg : CacheConfiguration in method public contextForCache(ccfg CacheConfiguration) : CacheObjectContext in class org.apache.ignite.internal.processors.cache.binary.CacheObjectBinaryProcessorImpl | From | To |