a9ee25ee047bc6fa2af488d02cfcd9b01c2263aa
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Variable | 2 | ||
| Rename Variable sendMutationsFailed : boolean to sendSuccessful : boolean in method public commit() : void in class org.apache.phoenix.execute.MutationState | From | To | |
| Rename Variable rowMutations : Map<ImmutableBytesPtr,RowMutationState> to rowMutationMap : Map<ImmutableBytesPtr,RowMutationState> in method private getUncommittedStatementIndexes() : int[] in class org.apache.phoenix.execute.MutationState | From | To | |
| Inline Method | 1 | ||
| Inline Method private clear() : void inlined to private reset() : void in class org.apache.phoenix.execute.MutationState | From | To | |
| Replace Variable With Attribute | 1 | ||
| Replace Variable With Attribute result : int[] to uncommittedStatementIndexes : int[] in method private addUncommittedStatementIndexes(rowMutations Collection<RowMutationState>) : void in class org.apache.phoenix.execute.MutationState | From | To | |
| Extract Variable | 2 | ||
| Extract Variable txFailure : TransactionFailureException in method public commit() : void from class org.apache.phoenix.execute.MutationState | From | To | |
| Extract Variable table : PTable in method private mutateColumn(tableMetadata List<Mutation>, mutator ColumnMutator) : MetaDataMutationResult from class org.apache.phoenix.coprocessor.MetaDataEndpointImpl | From | To | |
| Extract Method | 1 | ||
| Extract Method private addUncommittedStatementIndexes(rowMutations Collection<RowMutationState>) : void extracted from private getUncommittedStatementIndexes() : int[] in class org.apache.phoenix.execute.MutationState | From | To |