b2700428c44b1dc9cee4040baacdc2c6c5ecfd71
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method private createInsertCallable(insert Insert, commands List<Callable<Integer>>, rows Map<InetAddress,List<Row>>) : void renamed to private createInsertOrMergeCallable(iom InsertOrMerge, commands List<Callable<Integer>>, rows Map<InetAddress,List<Row>>) : void in class org.lealone.cluster.router.P2PRouter | From | To | |
Rename Method public postPrepare(table Table, query Query, list ArrayList<Expression[]>, columns Column[], keys Column[]) : void renamed to public prepare(table Table, query Query, list ArrayList<Expression[]>, columns Column[], keys Column[]) : void in class org.lealone.hbase.command.dml.InsertOrMergeSupport | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type insert : Insert to iom : InsertOrMerge in method private executeInsertOrMerge(iom InsertOrMerge) : int in class org.lealone.cluster.router.P2PRouter | From | To | |
Change Parameter Type insert : Insert to p : Prepared in method private execute(isBatch boolean, p Prepared) : int in class org.lealone.transaction.TransactionalRouter | From | To | |
Change Parameter Type insert : Insert to iom : InsertOrMerge in method private createInsertOrMergeCallable(iom InsertOrMerge, commands List<Callable<Integer>>, rows Map<InetAddress,List<Row>>) : void in class org.lealone.cluster.router.P2PRouter | From | To | |
Rename Variable | 1 | ||
Rename Variable x : int to i : int in method private mergeRows() : int in class org.lealone.command.dml.Merge | From | To | |
Extract Variable | 1 | ||
Extract Variable listSize : int in method private createRows() : void from class org.lealone.command.dml.Merge | From | To | |
Extract Interface | 1 | ||
Extract Interface org.lealone.command.dml.InsertOrMerge from classes [org.lealone.command.dml.Insert] | From | To | |
Extract Method | 4 | ||
Extract Method private mergeRows() : int extracted from public update() : int in class org.lealone.command.dml.Merge | From | To | |
Extract Method private execute(isBatch boolean, p Prepared) : int extracted from public executeInsert(insert Insert) : int in class org.lealone.transaction.TransactionalRouter | From | To | |
Extract Method private executeInsertOrMerge(iom InsertOrMerge) : int extracted from public executeInsert(insert Insert) : int in class org.lealone.cluster.router.P2PRouter | From | To | |
Extract Method private createRows() : void extracted from public update() : int in class org.lealone.command.dml.Merge | From | To | |
Rename Parameter | 3 | ||
Rename Parameter insert : Insert to p : Prepared in method private execute(isBatch boolean, p Prepared) : int in class org.lealone.transaction.TransactionalRouter | From | To | |
Rename Parameter insert : Insert to iom : InsertOrMerge in method private createInsertOrMergeCallable(iom InsertOrMerge, commands List<Callable<Integer>>, rows Map<InetAddress,List<Row>>) : void in class org.lealone.cluster.router.P2PRouter | From | To | |
Rename Parameter insert : Insert to iom : InsertOrMerge in method private executeInsertOrMerge(iom InsertOrMerge) : int in class org.lealone.cluster.router.P2PRouter | From | To |