88a6bfdd9c7faea3d230b9959c773900b94356b1
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public response() : Map<PartitionKey,ValidateIndexesPartitionResult> renamed to public indexResult() : Map<String,ValidateIndexesPartitionResult> in class org.apache.ignite.internal.visor.verify.VisorValidateIndexesJobResult | From | To | |
Rename Method public testValidateIndexes() : void renamed to public testValidateIndexesNoErrors() : void in class org.apache.ignite.util.GridCommandHandlerIndexingTest | From | To | |
Rename Variable | 3 | ||
Rename Variable lastProgressLog : long to curTs : long in method private printProgressIfNeeded() : void in class org.apache.ignite.internal.visor.verify.ValidateIndexesClosure | From | To | |
Rename Variable map : Map<PartitionKey,ValidateIndexesPartitionResult> to partRes : Map<PartitionKey,ValidateIndexesPartitionResult> in method private cacheValidateIndexes(client GridClient, cacheArgs CacheArguments) : void in class org.apache.ignite.internal.commandline.CommandHandler | From | To | |
Rename Variable res : Map<PartitionKey,ValidateIndexesPartitionResult> to partResults : Map<PartitionKey,ValidateIndexesPartitionResult> in method private call0() : VisorValidateIndexesJobResult in class org.apache.ignite.internal.visor.verify.ValidateIndexesClosure | From | To | |
Change Return Type | 3 | ||
Change Return Type Map<PartitionKey,ValidateIndexesPartitionResult> to VisorValidateIndexesJobResult in method private call0() : VisorValidateIndexesJobResult in class org.apache.ignite.internal.visor.verify.ValidateIndexesClosure | From | To | |
Change Return Type Map<PartitionKey,ValidateIndexesPartitionResult> to Map<String,ValidateIndexesPartitionResult> in method public indexResult() : Map<String,ValidateIndexesPartitionResult> in class org.apache.ignite.internal.visor.verify.VisorValidateIndexesJobResult | From | To | |
Change Return Type Map<PartitionKey,ValidateIndexesPartitionResult> to VisorValidateIndexesJobResult in method public call() : VisorValidateIndexesJobResult in class org.apache.ignite.internal.visor.verify.ValidateIndexesClosure | From | To | |
Merge Variable | 1 | ||
Merge Variable [grpCtx : CacheGroupContext, part : GridDhtLocalPartition] to t2 : T2<CacheGroupContext,GridDhtLocalPartition> in method private call0() : VisorValidateIndexesJobResult in class org.apache.ignite.internal.visor.verify.ValidateIndexesClosure | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable client : Ignite to ig : Ignite in method private createPersonCache(ig Ignite, cacheName String) : IgniteCache<Integer,Person> in class org.apache.ignite.util.GridCommandHandlerIndexingTest | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute lastProgressLogTs : long to totalPartitions : int in method private call0() : VisorValidateIndexesJobResult in class org.apache.ignite.internal.visor.verify.ValidateIndexesClosure | From | To | |
Rename Attribute | 2 | ||
Rename Attribute completionCntr : AtomicInteger to processedPartitions : AtomicInteger in class org.apache.ignite.internal.visor.verify.ValidateIndexesClosure | From | To | |
Rename Attribute res : Map<PartitionKey,ValidateIndexesPartitionResult> to idxRes : Map<String,ValidateIndexesPartitionResult> in class org.apache.ignite.internal.visor.verify.VisorValidateIndexesJobResult | From | To | |
Extract Variable | 1 | ||
Extract Variable cacheName : String in method public testValidateIndexesNoErrors() : void from class org.apache.ignite.util.GridCommandHandlerIndexingTest | From | To | |
Change Variable Type | 1 | ||
Change Variable Type lastProgressLogTs : long to totalPartitions : int in method private call0() : VisorValidateIndexesJobResult in class org.apache.ignite.internal.visor.verify.ValidateIndexesClosure | From | To | |
Extract Method | 2 | ||
Extract Method private createPersonCache(ig Ignite, cacheName String) : IgniteCache<Integer,Person> extracted from public testValidateIndexes() : void in class org.apache.ignite.util.GridCommandHandlerIndexingTest | From | To | |
Extract Method private printProgressIfNeeded() : void extracted from private processPartition(grpCtx CacheGroupContext, part GridDhtLocalPartition) : Map<PartitionKey,ValidateIndexesPartitionResult> in class org.apache.ignite.internal.visor.verify.ValidateIndexesClosure | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type res : Map<PartitionKey,ValidateIndexesPartitionResult> to idxRes : Map<String,ValidateIndexesPartitionResult> in class org.apache.ignite.internal.visor.verify.VisorValidateIndexesJobResult | From | To | |
Rename Parameter | 1 | ||
Rename Parameter res : Map<PartitionKey,ValidateIndexesPartitionResult> to partRes : Map<PartitionKey,ValidateIndexesPartitionResult> in method public VisorValidateIndexesJobResult(partRes Map<PartitionKey,ValidateIndexesPartitionResult>, idxRes Map<String,ValidateIndexesPartitionResult>) in class org.apache.ignite.internal.visor.verify.VisorValidateIndexesJobResult | From | To |