427ca6900209421db7693df1dbf7e15fc872c0cd
Files Diff
- Added: 0
- Removed: 2
- Renamed: 0
- Modified: 33
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Pull Up Method | 1 | ||
| Pull Up Method private executeSql(cacheName String, sql String) : void from class org.apache.ignite.internal.processors.cache.index.DynamicIndexAbstractBasicSelfTest to private executeSql(node Ignite, cacheName String, sql String) : void from class org.apache.ignite.internal.processors.cache.index.AbstractSchemaSelfTest | From | To | |
| Inline Method | 1 | ||
| Inline Method private cacheNameForSchemaAndTable(schemaName String, tblName String) : String inlined to public queryDistributedSqlFields(cctx GridCacheContext<?,?>, qry SqlFieldsQuery, keepBinary boolean, cancel GridQueryCancel) : FieldsQueryCursor<List<?>> in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
| Change Return Type | 1 | ||
| Change Return Type Map<String,H2TableDescriptor> to Collection<H2TableDescriptor> in method public tables() : Collection<H2TableDescriptor> in class org.apache.ignite.internal.processors.query.h2.H2Schema | From | To | |
| Parameterize Variable | 1 | ||
| Parameterize Variable schema : String to schemaName : String in method public registerCache(cacheName String, schemaName String, cctx GridCacheContext<?,?>, ccfg CacheConfiguration<?,?>) : void in class org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing | From | To | |
| Change Variable Type | 4 | ||
| Change Variable Type resInner : IgniteCacheUpdateSqlQuerySelfTest.AllTypes.InnerType to resInner : AllTypes.InnerType in method public testNestedFieldsHandling() : void in class org.apache.ignite.internal.processors.cache.IgniteCacheInsertSqlQuerySelfTest | From | To | |
| Change Variable Type p : IgniteCache<Integer,IgniteCacheUpdateSqlQuerySelfTest.AllTypes> to p : IgniteCache<Integer,AllTypes> in method public testNestedFieldsHandling() : void in class org.apache.ignite.internal.processors.cache.IgniteCacheInsertSqlQuerySelfTest | From | To | |
| Change Variable Type res : IgniteCacheUpdateSqlQuerySelfTest.AllTypes to res : AllTypes in method public testNestedFieldsHandling() : void in class org.apache.ignite.internal.processors.cache.IgniteCacheInsertSqlQuerySelfTest | From | To | |
| Change Variable Type exp : IgniteCacheUpdateSqlQuerySelfTest.AllTypes to exp : AllTypes in method public testCacheRestartHandling() : void in class org.apache.ignite.internal.processors.cache.IgniteCacheInsertSqlQuerySelfTest | From | To | |
| Extract Method | 2 | ||
| Extract Method public withQuotes(str String) : String extracted from public indexDropSql(schemaName String, idxName String, ifExists boolean, escapeAll boolean) : String in class org.apache.ignite.internal.processors.query.h2.H2Utils | From | To | |
| Extract Method protected typeName(cls Class) : String extracted from protected tableName(cls Class) : String in class org.apache.ignite.internal.processors.cache.index.AbstractSchemaSelfTest | From | To | |
| Inline Variable | 3 | ||
| Inline Variable name : String in method public createUserIndex(idxDesc GridQueryIndexDescriptor) : GridH2IndexBase from class org.apache.ignite.internal.processors.query.h2.H2TableDescriptor | From | To | |
| Inline Variable fieldName : String in method public createUserIndex(idxDesc GridQueryIndexDescriptor) : GridH2IndexBase from class org.apache.ignite.internal.processors.query.h2.H2TableDescriptor | From | To | |
| Inline Variable colName : String in method public GridH2Table(createTblData CreateTableData, desc GridH2RowDescriptor, rowFactory H2RowFactory, idxsFactory GridH2SystemIndexFactory, cacheName String) from class org.apache.ignite.internal.processors.query.h2.opt.GridH2Table | From | To | |
| Extract And Move Method | 1 | ||
| Extract And Move Method protected dynamicIndexCreate(node Ignite, cacheName String, tblName String, idx QueryIndex, ifNotExists boolean) : void extracted from private dynamicIndexCreate(cacheName String, tblName String, idx QueryIndex, ifNotExists boolean) : void in class org.apache.ignite.internal.processors.cache.index.DynamicIndexAbstractBasicSelfTest & moved to class org.apache.ignite.internal.processors.cache.index.AbstractSchemaSelfTest | From | To |